katello_api 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +2 -0
- data/README.rdoc +0 -4
- data/doc/KatelloApi/Base.html +831 -0
- data/doc/KatelloApi/Generator/Base.html +671 -0
- data/doc/KatelloApi/Generator.html +115 -0
- data/doc/KatelloApi/Resources/ActivationKey.html +1757 -0
- data/doc/KatelloApi/Resources/Architecture.html +1007 -0
- data/doc/KatelloApi/Resources/Changeset.html +1413 -0
- data/doc/KatelloApi/Resources/ChangesetsContent.html +2674 -0
- data/doc/KatelloApi/Resources/ComputeResource.html +1067 -0
- data/doc/KatelloApi/Resources/ConfigTemplate.html +1361 -0
- data/doc/KatelloApi/Resources/ContentView.html +938 -0
- data/doc/KatelloApi/Resources/ContentViewDefinition.html +1629 -0
- data/doc/KatelloApi/Resources/Crl.html +367 -0
- data/doc/KatelloApi/Resources/Distribution.html +560 -0
- data/doc/KatelloApi/Resources/Distributor.html +1892 -0
- data/doc/KatelloApi/Resources/Domain.html +1066 -0
- data/doc/KatelloApi/Resources/Environment.html +1645 -0
- data/doc/KatelloApi/Resources/Erratum.html +632 -0
- data/doc/KatelloApi/Resources/GpgKey.html +1220 -0
- data/doc/KatelloApi/Resources/HardwareModel.html +1025 -0
- data/doc/KatelloApi/Resources/Organization.html +1062 -0
- data/doc/KatelloApi/Resources/Package.html +728 -0
- data/doc/KatelloApi/Resources/Permission.html +1021 -0
- data/doc/KatelloApi/Resources/Ping.html +625 -0
- data/doc/KatelloApi/Resources/Product.html +1845 -0
- data/doc/KatelloApi/Resources/Provider.html +2237 -0
- data/doc/KatelloApi/Resources/Repository.html +1976 -0
- data/doc/KatelloApi/Resources/RepositorySet.html +770 -0
- data/doc/KatelloApi/Resources/Role.html +1257 -0
- data/doc/KatelloApi/Resources/RoleLdapGroup.html +728 -0
- data/doc/KatelloApi/Resources/SmartProxy.html +1054 -0
- data/doc/KatelloApi/Resources/Statu.html +367 -0
- data/doc/KatelloApi/Resources/Subnet.html +1007 -0
- data/doc/KatelloApi/Resources/Subscription.html +1064 -0
- data/doc/KatelloApi/Resources/Sync.html +826 -0
- data/doc/KatelloApi/Resources/SyncPlan.html +1148 -0
- data/doc/KatelloApi/Resources/System.html +3576 -0
- data/doc/KatelloApi/Resources/SystemGroup.html +2006 -0
- data/doc/KatelloApi/Resources/SystemGroupErratum.html +602 -0
- data/doc/KatelloApi/Resources/SystemGroupPackage.html +826 -0
- data/doc/KatelloApi/Resources/SystemPackage.html +770 -0
- data/doc/KatelloApi/Resources/Task.html +546 -0
- data/doc/KatelloApi/Resources/Template.html +1573 -0
- data/doc/KatelloApi/Resources/TemplatesContent.html +2268 -0
- data/doc/KatelloApi/Resources/Uebercert.html +406 -0
- data/doc/KatelloApi/Resources/User.html +1846 -0
- data/doc/KatelloApi/Resources.html +117 -0
- data/doc/KatelloApi.html +365 -0
- data/doc/_index.html +539 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.README.html +127 -0
- data/doc/file_list.html +55 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +127 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +2548 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/katello_api/base.rb +61 -6
- data/lib/katello_api/documentation.json +1 -0
- data/lib/katello_api/resources/activation_key.rb +51 -48
- data/lib/katello_api/resources/architecture.rb +19 -24
- data/lib/katello_api/resources/changeset.rb +39 -37
- data/lib/katello_api/resources/changesets_content.rb +64 -57
- data/lib/katello_api/resources/compute_resource.rb +37 -42
- data/lib/katello_api/resources/config_template.rb +40 -44
- data/lib/katello_api/resources/content_view.rb +14 -17
- data/lib/katello_api/resources/content_view_definition.rb +34 -42
- data/lib/katello_api/resources/crl.rb +3 -4
- data/lib/katello_api/resources/distribution.rb +8 -8
- data/lib/katello_api/resources/distributor.rb +35 -37
- data/lib/katello_api/resources/domain.rb +28 -32
- data/lib/katello_api/resources/environment.rb +38 -44
- data/lib/katello_api/resources/erratum.rb +9 -8
- data/lib/katello_api/resources/gpg_key.rb +28 -33
- data/lib/katello_api/resources/hardware_model.rb +25 -30
- data/lib/katello_api/resources/organization.rb +24 -26
- data/lib/katello_api/resources/package.rb +9 -12
- data/lib/katello_api/resources/permission.rb +21 -19
- data/lib/katello_api/resources/ping.rb +9 -12
- data/lib/katello_api/resources/product.rb +34 -43
- data/lib/katello_api/resources/provider.rb +55 -66
- data/lib/katello_api/resources/repository.rb +44 -55
- data/lib/katello_api/resources/repository_set.rb +9 -12
- data/lib/katello_api/resources/role.rb +35 -33
- data/lib/katello_api/resources/role_ldap_group.rb +10 -12
- data/lib/katello_api/resources/smart_proxy.rb +24 -28
- data/lib/katello_api/resources/statu.rb +3 -4
- data/lib/katello_api/resources/subnet.rb +19 -24
- data/lib/katello_api/resources/subscription.rb +16 -21
- data/lib/katello_api/resources/sync.rb +9 -12
- data/lib/katello_api/resources/sync_plan.rb +28 -33
- data/lib/katello_api/resources/system.rb +81 -90
- data/lib/katello_api/resources/system_group.rb +47 -57
- data/lib/katello_api/resources/system_group_erratum.rb +6 -8
- data/lib/katello_api/resources/system_group_package.rb +15 -18
- data/lib/katello_api/resources/system_package.rb +12 -15
- data/lib/katello_api/resources/task.rb +6 -8
- data/lib/katello_api/resources/template.rb +39 -47
- data/lib/katello_api/resources/templates_content.rb +40 -52
- data/lib/katello_api/resources/uebercert.rb +4 -4
- data/lib/katello_api/resources/user.rb +47 -50
- data/lib/katello_api/version.rb +1 -1
- data/lib/katello_api.rb +0 -13
- metadata +68 -4
@@ -6,50 +6,52 @@ module KatelloApi
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
|
+
# @option params [Object] role_id Part of +/api/roles/:role_id/permissions+ path
|
9
10
|
# @option params [String] all_tags filter by all_flags flag
|
10
11
|
# @option params [String] all_verbs filter by all_verbs flag
|
11
12
|
# @option params [String] description filter by description
|
12
13
|
# @option params [String] name filter by name
|
13
14
|
#
|
14
15
|
# @param [Hash] headers additional http headers
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
call(:"get", url, params, headers)
|
16
|
+
# @return [Array] First item: parsed data; second item: raw body
|
17
|
+
def index(params = {}, headers = {})
|
18
|
+
perform_call(__method__, params, headers)
|
19
19
|
end
|
20
20
|
|
21
21
|
# @param [Hash] params a hash of params to be passed to the service
|
22
|
+
# @option params [Object] id Part of +/api/roles/:role_id/permissions/:id+ path
|
23
|
+
# @option params [Object] role_id Part of +/api/roles/:role_id/permissions/:id+ path
|
22
24
|
#
|
23
25
|
# @param [Hash] headers additional http headers
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
call(:"get", url, params, headers)
|
26
|
+
# @return [Array] First item: parsed data; second item: raw body
|
27
|
+
def show(params = {}, headers = {})
|
28
|
+
perform_call(__method__, params, headers)
|
28
29
|
end
|
29
30
|
|
30
31
|
# @param [Hash] params a hash of params to be passed to the service
|
32
|
+
# @option params [String] organization_id
|
33
|
+
# @option params [Object] role_id Part of +/api/roles/:role_id/permissions+ path
|
31
34
|
# @option params [String] all_tags true if the permission should use all tags
|
32
|
-
# @option params [String, nil] description
|
33
|
-
# @option params [String] name
|
34
|
-
# @option params [String] organization_id
|
35
|
+
# @option params [String, nil] description
|
36
|
+
# @option params [String] name
|
35
37
|
# @option params [String] tags array of tag ids
|
36
38
|
# @option params [String] type name of a resource or ‘all’
|
37
39
|
# @option params [String] verbs array of permission verbs
|
38
40
|
#
|
39
41
|
# @param [Hash] headers additional http headers
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
call(:"post", url, params, headers)
|
42
|
+
# @return [Array] First item: parsed data; second item: raw body
|
43
|
+
def create(params = {}, headers = {})
|
44
|
+
perform_call(__method__, params, headers)
|
44
45
|
end
|
45
46
|
|
46
47
|
# @param [Hash] params a hash of params to be passed to the service
|
48
|
+
# @option params [Object] id Part of +/api/roles/:role_id/permissions/:id+ path
|
49
|
+
# @option params [Object] role_id Part of +/api/roles/:role_id/permissions/:id+ path
|
47
50
|
#
|
48
51
|
# @param [Hash] headers additional http headers
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
call(:"delete", url, params, headers)
|
52
|
+
# @return [Array] First item: parsed data; second item: raw body
|
53
|
+
def destroy(params = {}, headers = {})
|
54
|
+
perform_call(__method__, params, headers)
|
53
55
|
end
|
54
56
|
|
55
57
|
end
|
@@ -8,28 +8,25 @@ module KatelloApi
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
9
|
#
|
10
10
|
# @param [Hash] headers additional http headers
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
call(:"get", url, params, headers)
|
11
|
+
# @return [Array] First item: parsed data; second item: raw body
|
12
|
+
def index(params = {}, headers = {})
|
13
|
+
perform_call(__method__, params, headers)
|
15
14
|
end
|
16
15
|
|
17
16
|
# @param [Hash] params a hash of params to be passed to the service
|
18
17
|
#
|
19
18
|
# @param [Hash] headers additional http headers
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
call(:"get", url, params, headers)
|
19
|
+
# @return [Array] First item: parsed data; second item: raw body
|
20
|
+
def status(params = {}, headers = {})
|
21
|
+
perform_call(__method__, params, headers)
|
24
22
|
end
|
25
23
|
|
26
24
|
# @param [Hash] params a hash of params to be passed to the service
|
27
25
|
#
|
28
26
|
# @param [Hash] headers additional http headers
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
call(:"get", url, params, headers)
|
27
|
+
# @return [Array] First item: parsed data; second item: raw body
|
28
|
+
def version(params = {}, headers = {})
|
29
|
+
perform_call(__method__, params, headers)
|
33
30
|
end
|
34
31
|
|
35
32
|
end
|
@@ -10,38 +10,35 @@ module KatelloApi
|
|
10
10
|
# @option params [String] organization_id organization identifier
|
11
11
|
#
|
12
12
|
# @param [Hash] headers additional http headers
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
call(:"get", url, params, headers)
|
13
|
+
# @return [Array] First item: parsed data; second item: raw body
|
14
|
+
def show(params = {}, headers = {})
|
15
|
+
perform_call(__method__, params, headers)
|
17
16
|
end
|
18
17
|
|
19
18
|
# @param [Hash] params a hash of params to be passed to the service
|
20
19
|
# @option params [String] id product numeric identifier
|
21
20
|
# @option params [String] organization_id organization identifier
|
22
|
-
# @option params [Hash] product
|
23
|
-
# allowed keys are:
|
24
|
-
# * description [String, nil] product description
|
25
|
-
# * gpg_key_name [String, nil] identifier of the gpg key
|
26
|
-
# * recursive [String] set to true to recursive update gpg key
|
21
|
+
# @option params [Hash] product
|
22
|
+
# allowed keys are:
|
23
|
+
# * description [String, nil] product description
|
24
|
+
# * gpg_key_name [String, nil] identifier of the gpg key
|
25
|
+
# * recursive [String] set to true to recursive update gpg key
|
27
26
|
#
|
28
27
|
# @param [Hash] headers additional http headers
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
call(:"put", url, params, headers)
|
28
|
+
# @return [Array] First item: parsed data; second item: raw body
|
29
|
+
def update(params = {}, headers = {})
|
30
|
+
perform_call(__method__, params, headers)
|
33
31
|
end
|
34
32
|
|
35
33
|
# @param [Hash] params a hash of params to be passed to the service
|
36
34
|
# @option params [String] environment_id environment identifier
|
37
|
-
# @option params [String] name product identifier
|
38
35
|
# @option params [String] organization_id organization identifier
|
36
|
+
# @option params [String] name product identifier
|
39
37
|
#
|
40
38
|
# @param [Hash] headers additional http headers
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
call(:"get", url, params, headers)
|
39
|
+
# @return [Array] First item: parsed data; second item: raw body
|
40
|
+
def index(params = {}, headers = {})
|
41
|
+
perform_call(__method__, params, headers)
|
45
42
|
end
|
46
43
|
|
47
44
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -49,24 +46,22 @@ module KatelloApi
|
|
49
46
|
# @option params [String] organization_id organization identifier
|
50
47
|
#
|
51
48
|
# @param [Hash] headers additional http headers
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
call(:"delete", url, params, headers)
|
49
|
+
# @return [Array] First item: parsed data; second item: raw body
|
50
|
+
def destroy(params = {}, headers = {})
|
51
|
+
perform_call(__method__, params, headers)
|
56
52
|
end
|
57
53
|
|
58
54
|
# @param [Hash] params a hash of params to be passed to the service
|
59
55
|
# @option params [String] id product numeric identifier
|
60
56
|
# @option params [String] environment_id environment identifier
|
57
|
+
# @option params [String] organization_id organization identifier
|
61
58
|
# @option params [String] include_disabled set to true if you want to list disabled repositories
|
62
59
|
# @option params [String] name repository identifier
|
63
|
-
# @option params [String] organization_id organization identifier
|
64
60
|
#
|
65
61
|
# @param [Hash] headers additional http headers
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
call(:"get", url, params, headers)
|
62
|
+
# @return [Array] First item: parsed data; second item: raw body
|
63
|
+
def repositories(params = {}, headers = {})
|
64
|
+
perform_call(__method__, params, headers)
|
70
65
|
end
|
71
66
|
|
72
67
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -75,10 +70,9 @@ module KatelloApi
|
|
75
70
|
# @option params [String] plan_id plan numeric identifier
|
76
71
|
#
|
77
72
|
# @param [Hash] headers additional http headers
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
call(:"post", url, params, headers)
|
73
|
+
# @return [Array] First item: parsed data; second item: raw body
|
74
|
+
def set_sync_plan(params = {}, headers = {})
|
75
|
+
perform_call(__method__, params, headers)
|
82
76
|
end
|
83
77
|
|
84
78
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -87,20 +81,18 @@ module KatelloApi
|
|
87
81
|
# @option params [String] plan_id plan numeric identifier
|
88
82
|
#
|
89
83
|
# @param [Hash] headers additional http headers
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
call(:"delete", url, params, headers)
|
84
|
+
# @return [Array] First item: parsed data; second item: raw body
|
85
|
+
def remove_sync_plan(params = {}, headers = {})
|
86
|
+
perform_call(__method__, params, headers)
|
94
87
|
end
|
95
88
|
|
96
89
|
# @param [Hash] params a hash of params to be passed to the service
|
97
90
|
# @option params [String] content_view_definition_id content view definition identifier
|
98
91
|
#
|
99
92
|
# @param [Hash] headers additional http headers
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
call(:"get", url, params, headers)
|
93
|
+
# @return [Array] First item: parsed data; second item: raw body
|
94
|
+
def list_content_view_definition_products(params = {}, headers = {})
|
95
|
+
perform_call(__method__, params, headers)
|
104
96
|
end
|
105
97
|
|
106
98
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -108,10 +100,9 @@ module KatelloApi
|
|
108
100
|
# @option params [String] products updated list of products
|
109
101
|
#
|
110
102
|
# @param [Hash] headers additional http headers
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
call(:"put", url, params, headers)
|
103
|
+
# @return [Array] First item: parsed data; second item: raw body
|
104
|
+
def update_content_view_definition_products(params = {}, headers = {})
|
105
|
+
perform_call(__method__, params, headers)
|
115
106
|
end
|
116
107
|
|
117
108
|
end
|
@@ -6,85 +6,79 @@ module KatelloApi
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
|
-
# @option params [String] name filter providers by name
|
10
9
|
# @option params [String] organization_id organization identifier
|
10
|
+
# @option params [String] name filter providers by name
|
11
11
|
#
|
12
12
|
# @param [Hash] headers additional http headers
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
call(:"get", url, params, headers)
|
13
|
+
# @return [Array] First item: parsed data; second item: raw body
|
14
|
+
def index(params = {}, headers = {})
|
15
|
+
perform_call(__method__, params, headers)
|
17
16
|
end
|
18
17
|
|
19
18
|
# @param [Hash] params a hash of params to be passed to the service
|
20
19
|
# @option params [String] id provider numeric identifier
|
21
20
|
#
|
22
21
|
# @param [Hash] headers additional http headers
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
call(:"get", url, params, headers)
|
22
|
+
# @return [Array] First item: parsed data; second item: raw body
|
23
|
+
def show(params = {}, headers = {})
|
24
|
+
perform_call(__method__, params, headers)
|
27
25
|
end
|
28
26
|
|
29
27
|
# @param [Hash] params a hash of params to be passed to the service
|
30
28
|
# @option params [String] organization_id organization identifier
|
31
|
-
# @option params [Hash] provider
|
32
|
-
# allowed keys are:
|
33
|
-
# * description [String, nil] provider description
|
34
|
-
# * name [String] provider name
|
35
|
-
# * provider_type [String]
|
36
|
-
# * repository_url [String, nil] repository url
|
29
|
+
# @option params [Hash] provider
|
30
|
+
# allowed keys are:
|
31
|
+
# * description [String, nil] provider description
|
32
|
+
# * name [String] provider name
|
33
|
+
# * provider_type [String]
|
34
|
+
# * repository_url [String, nil] repository url
|
37
35
|
#
|
38
36
|
# @param [Hash] headers additional http headers
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
call(:"post", url, params, headers)
|
37
|
+
# @return [Array] First item: parsed data; second item: raw body
|
38
|
+
def create(params = {}, headers = {})
|
39
|
+
perform_call(__method__, params, headers)
|
43
40
|
end
|
44
41
|
|
45
42
|
# @param [Hash] params a hash of params to be passed to the service
|
46
43
|
# @option params [String] id provider numeric identifier
|
47
|
-
# @option params [Hash] provider
|
48
|
-
# allowed keys are:
|
49
|
-
# * description [String, nil] provider description
|
50
|
-
# * name [String] provider name
|
51
|
-
# * repository_url [String, nil] repository url
|
44
|
+
# @option params [Hash] provider
|
45
|
+
# allowed keys are:
|
46
|
+
# * description [String, nil] provider description
|
47
|
+
# * name [String] provider name
|
48
|
+
# * repository_url [String, nil] repository url
|
52
49
|
#
|
53
50
|
# @param [Hash] headers additional http headers
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
call(:"put", url, params, headers)
|
51
|
+
# @return [Array] First item: parsed data; second item: raw body
|
52
|
+
def update(params = {}, headers = {})
|
53
|
+
perform_call(__method__, params, headers)
|
58
54
|
end
|
59
55
|
|
60
56
|
# @param [Hash] params a hash of params to be passed to the service
|
61
57
|
# @option params [String] id provider numeric identifier
|
62
58
|
#
|
63
59
|
# @param [Hash] headers additional http headers
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
call(:"delete", url, params, headers)
|
60
|
+
# @return [Array] First item: parsed data; second item: raw body
|
61
|
+
def destroy(params = {}, headers = {})
|
62
|
+
perform_call(__method__, params, headers)
|
68
63
|
end
|
69
64
|
|
70
65
|
# @param [Hash] params a hash of params to be passed to the service
|
71
66
|
# @option params [String] id provider numeric identifier
|
72
67
|
#
|
73
68
|
# @param [Hash] headers additional http headers
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
call(:"get", url, params, headers)
|
69
|
+
# @return [Array] First item: parsed data; second item: raw body
|
70
|
+
def products(params = {}, headers = {})
|
71
|
+
perform_call(__method__, params, headers)
|
78
72
|
end
|
79
73
|
|
80
74
|
# @param [Hash] params a hash of params to be passed to the service
|
75
|
+
# @option params [Object] id Part of +/api/providers/:id/discovery+ path
|
81
76
|
# @option params [String] url remote url to perform discovery
|
82
77
|
#
|
83
78
|
# @param [Hash] headers additional http headers
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
call(:"post", url, params, headers)
|
79
|
+
# @return [Array] First item: parsed data; second item: raw body
|
80
|
+
def discovery(params = {}, headers = {})
|
81
|
+
perform_call(__method__, params, headers)
|
88
82
|
end
|
89
83
|
|
90
84
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -93,30 +87,27 @@ module KatelloApi
|
|
93
87
|
# @option params [String] import manifest file
|
94
88
|
#
|
95
89
|
# @param [Hash] headers additional http headers
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
call(:"post", url, params, headers)
|
90
|
+
# @return [Array] First item: parsed data; second item: raw body
|
91
|
+
def import_manifest(params = {}, headers = {})
|
92
|
+
perform_call(__method__, params, headers)
|
100
93
|
end
|
101
94
|
|
102
95
|
# @param [Hash] params a hash of params to be passed to the service
|
103
96
|
# @option params [String] id provider numeric identifier
|
104
97
|
#
|
105
98
|
# @param [Hash] headers additional http headers
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
call(:"post", url, params, headers)
|
99
|
+
# @return [Array] First item: parsed data; second item: raw body
|
100
|
+
def delete_manifest(params = {}, headers = {})
|
101
|
+
perform_call(__method__, params, headers)
|
110
102
|
end
|
111
103
|
|
112
104
|
# @param [Hash] params a hash of params to be passed to the service
|
113
105
|
# @option params [String] id provider numeric identifier
|
114
106
|
#
|
115
107
|
# @param [Hash] headers additional http headers
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
call(:"post", url, params, headers)
|
108
|
+
# @return [Array] First item: parsed data; second item: raw body
|
109
|
+
def refresh_products(params = {}, headers = {})
|
110
|
+
perform_call(__method__, params, headers)
|
120
111
|
end
|
121
112
|
|
122
113
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -124,26 +115,24 @@ module KatelloApi
|
|
124
115
|
# @option params [String] products array of products to import
|
125
116
|
#
|
126
117
|
# @param [Hash] headers additional http headers
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
call(:"post", url, params, headers)
|
118
|
+
# @return [Array] First item: parsed data; second item: raw body
|
119
|
+
def import_products(params = {}, headers = {})
|
120
|
+
perform_call(__method__, params, headers)
|
131
121
|
end
|
132
122
|
|
133
123
|
# @param [Hash] params a hash of params to be passed to the service
|
134
124
|
# @option params [String] id provider numeric identifier
|
135
|
-
# @option params [Hash] product
|
136
|
-
# allowed keys are:
|
137
|
-
# * description [String, nil] product description
|
138
|
-
# * gpg_key_name [String, nil] identifier of the gpg key
|
139
|
-
# * label [String]
|
140
|
-
# * name [String] product name
|
125
|
+
# @option params [Hash] product
|
126
|
+
# allowed keys are:
|
127
|
+
# * description [String, nil] product description
|
128
|
+
# * gpg_key_name [String, nil] identifier of the gpg key
|
129
|
+
# * label [String]
|
130
|
+
# * name [String] product name
|
141
131
|
#
|
142
132
|
# @param [Hash] headers additional http headers
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
call(:"post", url, params, headers)
|
133
|
+
# @return [Array] First item: parsed data; second item: raw body
|
134
|
+
def product_create(params = {}, headers = {})
|
135
|
+
perform_call(__method__, params, headers)
|
147
136
|
end
|
148
137
|
|
149
138
|
end
|
@@ -6,110 +6,100 @@ module KatelloApi
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
|
-
# @option params [String] gpg_key_name name of a gpg key that will be assigned to the new repository
|
10
|
-
# @option params [String] name
|
11
9
|
# @option params [String] organization_id id of an organization the repository will be contained in
|
12
10
|
# @option params [String] product_id id of a product the repository will be contained in
|
11
|
+
# @option params [String] gpg_key_name name of a gpg key that will be assigned to the new repository
|
12
|
+
# @option params [String] name
|
13
13
|
# @option params [String] url repository source url
|
14
14
|
#
|
15
15
|
# @param [Hash] headers additional http headers
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
call(:"post", url, params, headers)
|
16
|
+
# @return [Array] First item: parsed data; second item: raw body
|
17
|
+
def create(params = {}, headers = {})
|
18
|
+
perform_call(__method__, params, headers)
|
20
19
|
end
|
21
20
|
|
22
21
|
# @param [Hash] params a hash of params to be passed to the service
|
23
22
|
# @option params [String] id repository id
|
24
23
|
#
|
25
24
|
# @param [Hash] headers additional http headers
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
call(:"get", url, params, headers)
|
25
|
+
# @return [Array] First item: parsed data; second item: raw body
|
26
|
+
def show(params = {}, headers = {})
|
27
|
+
perform_call(__method__, params, headers)
|
30
28
|
end
|
31
29
|
|
32
30
|
# @param [Hash] params a hash of params to be passed to the service
|
33
31
|
# @option params [String] id repository id
|
34
|
-
# @option params [Hash] repository
|
35
|
-
# allowed keys are:
|
36
|
-
# * gpg_key_name [String] name of a gpg key that will be assigned to the repository
|
32
|
+
# @option params [Hash] repository
|
33
|
+
# allowed keys are:
|
34
|
+
# * gpg_key_name [String] name of a gpg key that will be assigned to the repository
|
37
35
|
#
|
38
36
|
# @param [Hash] headers additional http headers
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
call(:"put", url, params, headers)
|
37
|
+
# @return [Array] First item: parsed data; second item: raw body
|
38
|
+
def update(params = {}, headers = {})
|
39
|
+
perform_call(__method__, params, headers)
|
43
40
|
end
|
44
41
|
|
45
42
|
# @param [Hash] params a hash of params to be passed to the service
|
46
|
-
# @option params [String] id
|
43
|
+
# @option params [String] id
|
47
44
|
#
|
48
45
|
# @param [Hash] headers additional http headers
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
call(:"delete", url, params, headers)
|
46
|
+
# @return [Array] First item: parsed data; second item: raw body
|
47
|
+
def destroy(params = {}, headers = {})
|
48
|
+
perform_call(__method__, params, headers)
|
53
49
|
end
|
54
50
|
|
55
51
|
# @param [Hash] params a hash of params to be passed to the service
|
56
|
-
# @option params [String] id
|
52
|
+
# @option params [String] id
|
57
53
|
# @option params [String] enable flag that enables/disables the repository
|
58
54
|
#
|
59
55
|
# @param [Hash] headers additional http headers
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
call(:"post", url, params, headers)
|
56
|
+
# @return [Array] First item: parsed data; second item: raw body
|
57
|
+
def enable(params = {}, headers = {})
|
58
|
+
perform_call(__method__, params, headers)
|
64
59
|
end
|
65
60
|
|
66
61
|
# @param [Hash] params a hash of params to be passed to the service
|
67
|
-
# @option params [String] id
|
62
|
+
# @option params [String] id
|
68
63
|
#
|
69
64
|
# @param [Hash] headers additional http headers
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
call(:"post", url, params, headers)
|
65
|
+
# @return [Array] First item: parsed data; second item: raw body
|
66
|
+
def sync_complete(params = {}, headers = {})
|
67
|
+
perform_call(__method__, params, headers)
|
74
68
|
end
|
75
69
|
|
76
70
|
# @param [Hash] params a hash of params to be passed to the service
|
77
|
-
# @option params [String] id
|
71
|
+
# @option params [String] id
|
78
72
|
#
|
79
73
|
# @param [Hash] headers additional http headers
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
call(:"get", url, params, headers)
|
74
|
+
# @return [Array] First item: parsed data; second item: raw body
|
75
|
+
def package_groups(params = {}, headers = {})
|
76
|
+
perform_call(__method__, params, headers)
|
84
77
|
end
|
85
78
|
|
86
79
|
# @param [Hash] params a hash of params to be passed to the service
|
87
|
-
# @option params [String] id
|
80
|
+
# @option params [String] id
|
88
81
|
#
|
89
82
|
# @param [Hash] headers additional http headers
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
call(:"get", url, params, headers)
|
83
|
+
# @return [Array] First item: parsed data; second item: raw body
|
84
|
+
def package_group_categories(params = {}, headers = {})
|
85
|
+
perform_call(__method__, params, headers)
|
94
86
|
end
|
95
87
|
|
96
88
|
# @param [Hash] params a hash of params to be passed to the service
|
97
|
-
# @option params [String] id
|
89
|
+
# @option params [String] id
|
98
90
|
#
|
99
91
|
# @param [Hash] headers additional http headers
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
call(:"get", url, params, headers)
|
92
|
+
# @return [Array] First item: parsed data; second item: raw body
|
93
|
+
def gpg_key_content(params = {}, headers = {})
|
94
|
+
perform_call(__method__, params, headers)
|
104
95
|
end
|
105
96
|
|
106
97
|
# @param [Hash] params a hash of params to be passed to the service
|
107
98
|
#
|
108
99
|
# @param [Hash] headers additional http headers
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
call(:"get", url, params, headers)
|
100
|
+
# @return [Array] First item: parsed data; second item: raw body
|
101
|
+
def list_content_view_definition_repositories(params = {}, headers = {})
|
102
|
+
perform_call(__method__, params, headers)
|
113
103
|
end
|
114
104
|
|
115
105
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -117,10 +107,9 @@ module KatelloApi
|
|
117
107
|
# @option params [String] repos updated list of repo ids
|
118
108
|
#
|
119
109
|
# @param [Hash] headers additional http headers
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
call(:"put", url, params, headers)
|
110
|
+
# @return [Array] First item: parsed data; second item: raw body
|
111
|
+
def update_content_view_definition_repositories(params = {}, headers = {})
|
112
|
+
perform_call(__method__, params, headers)
|
124
113
|
end
|
125
114
|
|
126
115
|
end
|