katello_api 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -11,10 +11,9 @@ module KatelloApi
|
|
|
11
11
|
# @option params [String] product_id id of a product the repository will be contained in
|
|
12
12
|
#
|
|
13
13
|
# @param [Hash] headers additional http headers
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
call(:"post", url, params, headers)
|
|
14
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
15
|
+
def enable(params = {}, headers = {})
|
|
16
|
+
perform_call(__method__, params, headers)
|
|
18
17
|
end
|
|
19
18
|
|
|
20
19
|
# @param [Hash] params a hash of params to be passed to the service
|
|
@@ -23,10 +22,9 @@ module KatelloApi
|
|
|
23
22
|
# @option params [String] product_id id of a product the repository will be contained in
|
|
24
23
|
#
|
|
25
24
|
# @param [Hash] headers additional http headers
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
call(:"post", url, params, headers)
|
|
25
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
26
|
+
def disable(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
|
|
@@ -34,10 +32,9 @@ module KatelloApi
|
|
|
34
32
|
# @option params [String] product_id id of a product to list repository sets in
|
|
35
33
|
#
|
|
36
34
|
# @param [Hash] headers additional http headers
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
call(:"get", url, params, headers)
|
|
35
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
36
|
+
def index(params = {}, headers = {})
|
|
37
|
+
perform_call(__method__, params, headers)
|
|
41
38
|
end
|
|
42
39
|
|
|
43
40
|
end
|
|
@@ -6,67 +6,69 @@ 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 [
|
|
9
|
+
# @option params [Object] user_id Part of +/api/users/:user_id/roles+ path
|
|
10
|
+
# @option params [String] name
|
|
10
11
|
#
|
|
11
12
|
# @param [Hash] headers additional http headers
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
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)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
# @param [Hash] params a hash of params to be passed to the service
|
|
19
|
+
# @option params [Object] id Part of +/api/roles/:id+ path
|
|
20
|
+
# @option params [Object] user_id Part of +/api/users/:user_id/roles/:id+ path
|
|
19
21
|
#
|
|
20
22
|
# @param [Hash] headers additional http headers
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
call(:"get", url, params, headers)
|
|
23
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
24
|
+
def show(params = {}, headers = {})
|
|
25
|
+
perform_call(__method__, params, headers)
|
|
25
26
|
end
|
|
26
27
|
|
|
27
28
|
# @param [Hash] params a hash of params to be passed to the service
|
|
28
|
-
# @option params [
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
# *
|
|
29
|
+
# @option params [Object] user_id Part of +/api/users/:user_id/roles+ path
|
|
30
|
+
# @option params [Hash] role
|
|
31
|
+
# allowed keys are:
|
|
32
|
+
# * description [String, nil]
|
|
33
|
+
# * name [String]
|
|
32
34
|
#
|
|
33
35
|
# @param [Hash] headers additional http headers
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
call(:"post", url, params, headers)
|
|
36
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
37
|
+
def create(params = {}, headers = {})
|
|
38
|
+
perform_call(__method__, params, headers)
|
|
38
39
|
end
|
|
39
40
|
|
|
40
41
|
# @param [Hash] params a hash of params to be passed to the service
|
|
41
|
-
# @option params [
|
|
42
|
-
#
|
|
43
|
-
#
|
|
44
|
-
#
|
|
42
|
+
# @option params [Object] id Part of +/api/roles/:id+ path
|
|
43
|
+
# @option params [Object] user_id Part of +/api/users/:user_id/roles/:id+ path
|
|
44
|
+
# @option params [Hash] role
|
|
45
|
+
# allowed keys are:
|
|
46
|
+
# * description [String, nil]
|
|
47
|
+
# * name [String]
|
|
45
48
|
#
|
|
46
49
|
# @param [Hash] headers additional http headers
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
call(:"put", url, params, headers)
|
|
50
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
51
|
+
def update(params = {}, headers = {})
|
|
52
|
+
perform_call(__method__, params, headers)
|
|
51
53
|
end
|
|
52
54
|
|
|
53
55
|
# @param [Hash] params a hash of params to be passed to the service
|
|
56
|
+
# @option params [Object] id Part of +/api/roles/:id+ path
|
|
57
|
+
# @option params [Object] user_id Part of +/api/users/:user_id/roles/:id+ path
|
|
54
58
|
#
|
|
55
59
|
# @param [Hash] headers additional http headers
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
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)
|
|
60
63
|
end
|
|
61
64
|
|
|
62
65
|
# @param [Hash] params a hash of params to be passed to the service
|
|
63
66
|
# @option params [String] organization_id with this option specified the listed tags are scoped to the organization.
|
|
64
67
|
#
|
|
65
68
|
# @param [Hash] headers additional http headers
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
call(:"get", url, params, headers)
|
|
69
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
70
|
+
def available_verbs(params = {}, headers = {})
|
|
71
|
+
perform_call(__method__, params, headers)
|
|
70
72
|
end
|
|
71
73
|
|
|
72
74
|
end
|
|
@@ -6,13 +6,13 @@ 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/ldap_groups+ path
|
|
9
10
|
# @option params [String] name name of the ldap group
|
|
10
11
|
#
|
|
11
12
|
# @param [Hash] headers additional http headers
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
call(:"post", url, params, headers)
|
|
13
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
14
|
+
def create(params = {}, headers = {})
|
|
15
|
+
perform_call(__method__, params, headers)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
# @param [Hash] params a hash of params to be passed to the service
|
|
@@ -20,20 +20,18 @@ module KatelloApi
|
|
|
20
20
|
# @option params [String] role_id role identifier
|
|
21
21
|
#
|
|
22
22
|
# @param [Hash] headers additional http headers
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
call(:"delete", url, params, headers)
|
|
23
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
24
|
+
def destroy(params = {}, headers = {})
|
|
25
|
+
perform_call(__method__, params, headers)
|
|
27
26
|
end
|
|
28
27
|
|
|
29
28
|
# @param [Hash] params a hash of params to be passed to the service
|
|
30
29
|
# @option params [String] role_id role identifier
|
|
31
30
|
#
|
|
32
31
|
# @param [Hash] headers additional http headers
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
call(:"get", url, params, headers)
|
|
32
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
33
|
+
def index(params = {}, headers = {})
|
|
34
|
+
perform_call(__method__, params, headers)
|
|
37
35
|
end
|
|
38
36
|
|
|
39
37
|
end
|
|
@@ -10,56 +10,52 @@ module KatelloApi
|
|
|
10
10
|
# @option params [String] search filter results
|
|
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 domain name (no slashes)
|
|
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
|
-
# @option params [Hash] smart_proxy
|
|
31
|
-
# allowed keys are:
|
|
32
|
-
# * name [String] the smart proxy name
|
|
33
|
-
# * url [String] the smart proxy url starting with ‘http://’ or ‘https://’
|
|
28
|
+
# @option params [Hash] smart_proxy
|
|
29
|
+
# allowed keys are:
|
|
30
|
+
# * name [String] the smart proxy name
|
|
31
|
+
# * url [String] the smart proxy url starting with ‘http://’ or ‘https://’
|
|
34
32
|
#
|
|
35
33
|
# @param [Hash] headers additional http headers
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
call(:"post", url, params, headers)
|
|
34
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
35
|
+
def create(params = {}, headers = {})
|
|
36
|
+
perform_call(__method__, params, headers)
|
|
40
37
|
end
|
|
41
38
|
|
|
42
39
|
# @param [Hash] params a hash of params to be passed to the service
|
|
43
|
-
# @option params [
|
|
44
|
-
#
|
|
45
|
-
#
|
|
46
|
-
# *
|
|
40
|
+
# @option params [Object] id Part of +/api/smart_proxies/:id+ path
|
|
41
|
+
# @option params [Hash] smart_proxy
|
|
42
|
+
# allowed keys are:
|
|
43
|
+
# * name [String] the smart proxy name
|
|
44
|
+
# * url [String] the smart proxy url starting with ‘http://’ or ‘https://’
|
|
47
45
|
#
|
|
48
46
|
# @param [Hash] headers additional http headers
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
call(:"put", url, params, headers)
|
|
47
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
48
|
+
def update(params = {}, headers = {})
|
|
49
|
+
perform_call(__method__, params, headers)
|
|
53
50
|
end
|
|
54
51
|
|
|
55
52
|
# @param [Hash] params a hash of params to be passed to the service
|
|
56
53
|
# @option params [String] id domain name (no slashes)
|
|
57
54
|
#
|
|
58
55
|
# @param [Hash] headers additional http headers
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
call(:"delete", url, params, headers)
|
|
56
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
57
|
+
def destroy(params = {}, headers = {})
|
|
58
|
+
perform_call(__method__, params, headers)
|
|
63
59
|
end
|
|
64
60
|
|
|
65
61
|
end
|
|
@@ -8,10 +8,9 @@ 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 memory(params = {}, headers = {})
|
|
13
|
+
perform_call(__method__, params, headers)
|
|
15
14
|
end
|
|
16
15
|
|
|
17
16
|
end
|
|
@@ -8,55 +8,50 @@ 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
|
# @option params [String] id subnet name
|
|
19
18
|
#
|
|
20
19
|
# @param [Hash] headers additional http headers
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
call(:"get", url, params, headers)
|
|
20
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
21
|
+
def show(params = {}, headers = {})
|
|
22
|
+
perform_call(__method__, params, headers)
|
|
25
23
|
end
|
|
26
24
|
|
|
27
25
|
# @param [Hash] params a hash of params to be passed to the service
|
|
28
26
|
# @option params [Hash] subnet subnet info
|
|
29
|
-
# allowed keys are:
|
|
30
|
-
# * name [String] subnet name
|
|
27
|
+
# allowed keys are:
|
|
28
|
+
# * name [String] subnet name
|
|
31
29
|
#
|
|
32
30
|
# @param [Hash] headers additional http headers
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
call(:"post", url, params, headers)
|
|
31
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
32
|
+
def create(params = {}, headers = {})
|
|
33
|
+
perform_call(__method__, params, headers)
|
|
37
34
|
end
|
|
38
35
|
|
|
39
36
|
# @param [Hash] params a hash of params to be passed to the service
|
|
40
37
|
# @option params [String] id subnet name
|
|
41
38
|
# @option params [Hash] subnet subnet info
|
|
42
|
-
# allowed keys are:
|
|
43
|
-
# * name [String] subnet name
|
|
39
|
+
# allowed keys are:
|
|
40
|
+
# * name [String] subnet name
|
|
44
41
|
#
|
|
45
42
|
# @param [Hash] headers additional http headers
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
call(:"put", url, params, headers)
|
|
43
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
44
|
+
def update(params = {}, headers = {})
|
|
45
|
+
perform_call(__method__, params, headers)
|
|
50
46
|
end
|
|
51
47
|
|
|
52
48
|
# @param [Hash] params a hash of params to be passed to the service
|
|
53
49
|
# @option params [String] id subnet name
|
|
54
50
|
#
|
|
55
51
|
# @param [Hash] headers additional http headers
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
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)
|
|
60
55
|
end
|
|
61
56
|
|
|
62
57
|
end
|
|
@@ -9,22 +9,20 @@ module KatelloApi
|
|
|
9
9
|
# @option params [String] system_id system uuid
|
|
10
10
|
#
|
|
11
11
|
# @param [Hash] headers additional http headers
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
call(:"get", url, params, headers)
|
|
12
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
13
|
+
def index(params = {}, headers = {})
|
|
14
|
+
perform_call(__method__, params, headers)
|
|
16
15
|
end
|
|
17
16
|
|
|
18
17
|
# @param [Hash] params a hash of params to be passed to the service
|
|
18
|
+
# @option params [String] system_id system uuid
|
|
19
19
|
# @option params [String] pool subscription pool uuid
|
|
20
20
|
# @option params [String] quantity number of subscription to use
|
|
21
|
-
# @option params [String] system_id system uuid
|
|
22
21
|
#
|
|
23
22
|
# @param [Hash] headers additional http headers
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
call(:"post", url, params, headers)
|
|
23
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
24
|
+
def create(params = {}, headers = {})
|
|
25
|
+
perform_call(__method__, params, headers)
|
|
28
26
|
end
|
|
29
27
|
|
|
30
28
|
# @param [Hash] params a hash of params to be passed to the service
|
|
@@ -32,20 +30,18 @@ module KatelloApi
|
|
|
32
30
|
# @option params [String] system_id system uuid
|
|
33
31
|
#
|
|
34
32
|
# @param [Hash] headers additional http headers
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
call(:"delete", url, params, headers)
|
|
33
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
34
|
+
def destroy(params = {}, headers = {})
|
|
35
|
+
perform_call(__method__, params, headers)
|
|
39
36
|
end
|
|
40
37
|
|
|
41
38
|
# @param [Hash] params a hash of params to be passed to the service
|
|
42
39
|
# @option params [String] system_id system uuid
|
|
43
40
|
#
|
|
44
41
|
# @param [Hash] headers additional http headers
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
call(:"delete", url, params, headers)
|
|
42
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
43
|
+
def destroy_all(params = {}, headers = {})
|
|
44
|
+
perform_call(__method__, params, headers)
|
|
49
45
|
end
|
|
50
46
|
|
|
51
47
|
# @param [Hash] params a hash of params to be passed to the service
|
|
@@ -53,10 +49,9 @@ module KatelloApi
|
|
|
53
49
|
# @option params [String] system_id system uuid
|
|
54
50
|
#
|
|
55
51
|
# @param [Hash] headers additional http headers
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
call(:"delete", url, params, headers)
|
|
52
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
53
|
+
def destroy_by_serial(params = {}, headers = {})
|
|
54
|
+
perform_call(__method__, params, headers)
|
|
60
55
|
end
|
|
61
56
|
|
|
62
57
|
end
|
|
@@ -12,10 +12,9 @@ module KatelloApi
|
|
|
12
12
|
# @option params [String] repository_id repository identifier
|
|
13
13
|
#
|
|
14
14
|
# @param [Hash] headers additional http headers
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
call(:"get", url, params, headers)
|
|
15
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
16
|
+
def index(params = {}, headers = {})
|
|
17
|
+
perform_call(__method__, params, headers)
|
|
19
18
|
end
|
|
20
19
|
|
|
21
20
|
# @param [Hash] params a hash of params to be passed to the service
|
|
@@ -25,10 +24,9 @@ module KatelloApi
|
|
|
25
24
|
# @option params [String] repository_id repository identifier
|
|
26
25
|
#
|
|
27
26
|
# @param [Hash] headers additional http headers
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
call(:"post", url, params, headers)
|
|
27
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
28
|
+
def create(params = {}, headers = {})
|
|
29
|
+
perform_call(__method__, params, headers)
|
|
32
30
|
end
|
|
33
31
|
|
|
34
32
|
# @param [Hash] params a hash of params to be passed to the service
|
|
@@ -38,10 +36,9 @@ module KatelloApi
|
|
|
38
36
|
# @option params [String] repository_id repository identifier
|
|
39
37
|
#
|
|
40
38
|
# @param [Hash] headers additional http headers
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
call(:"delete", url, params, headers)
|
|
39
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
40
|
+
def cancel(params = {}, headers = {})
|
|
41
|
+
perform_call(__method__, params, headers)
|
|
45
42
|
end
|
|
46
43
|
|
|
47
44
|
end
|
|
@@ -6,16 +6,15 @@ 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] organization_id oranization identifier
|
|
9
10
|
# @option params [String] interval filter by interval
|
|
10
11
|
# @option params [String] name filter by name
|
|
11
|
-
# @option params [String] organization_id oranization identifier
|
|
12
12
|
# @option params [String] sync_date filter by sync date
|
|
13
13
|
#
|
|
14
14
|
# @param [Hash] headers additional http headers
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
call(:"get", url, params, headers)
|
|
15
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
16
|
+
def index(params = {}, headers = {})
|
|
17
|
+
perform_call(__method__, params, headers)
|
|
19
18
|
end
|
|
20
19
|
|
|
21
20
|
# @param [Hash] params a hash of params to be passed to the service
|
|
@@ -23,43 +22,40 @@ module KatelloApi
|
|
|
23
22
|
# @option params [String] organization_id oranization identifier
|
|
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] organization_id oranization identifier
|
|
34
|
-
# @option params [Hash] sync_plan
|
|
35
|
-
# allowed keys are:
|
|
36
|
-
# * description [String, nil] sync plan description
|
|
37
|
-
# * interval [String, nil] how often synchronization should run
|
|
38
|
-
# * name [String] sync plan name
|
|
39
|
-
# * sync_date [String, nil] start datetime of synchronization
|
|
32
|
+
# @option params [Hash] sync_plan
|
|
33
|
+
# allowed keys are:
|
|
34
|
+
# * description [String, nil] sync plan description
|
|
35
|
+
# * interval [String, nil] how often synchronization should run
|
|
36
|
+
# * name [String] sync plan name
|
|
37
|
+
# * sync_date [String, nil] start datetime of synchronization
|
|
40
38
|
#
|
|
41
39
|
# @param [Hash] headers additional http headers
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
call(:"post", url, params, headers)
|
|
40
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
41
|
+
def create(params = {}, headers = {})
|
|
42
|
+
perform_call(__method__, params, headers)
|
|
46
43
|
end
|
|
47
44
|
|
|
48
45
|
# @param [Hash] params a hash of params to be passed to the service
|
|
49
46
|
# @option params [String] id sync plan numeric identifier
|
|
50
47
|
# @option params [String] organization_id oranization identifier
|
|
51
|
-
# @option params [Hash] sync_plan
|
|
52
|
-
# allowed keys are:
|
|
53
|
-
# * description [String, nil] sync plan description
|
|
54
|
-
# * interval [String, nil] how often synchronization should run
|
|
55
|
-
# * name [String] sync plan name
|
|
56
|
-
# * sync_date [String, nil] start datetime of synchronization
|
|
48
|
+
# @option params [Hash] sync_plan
|
|
49
|
+
# allowed keys are:
|
|
50
|
+
# * description [String, nil] sync plan description
|
|
51
|
+
# * interval [String, nil] how often synchronization should run
|
|
52
|
+
# * name [String] sync plan name
|
|
53
|
+
# * sync_date [String, nil] start datetime of synchronization
|
|
57
54
|
#
|
|
58
55
|
# @param [Hash] headers additional http headers
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
call(:"put", url, params, headers)
|
|
56
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
57
|
+
def update(params = {}, headers = {})
|
|
58
|
+
perform_call(__method__, params, headers)
|
|
63
59
|
end
|
|
64
60
|
|
|
65
61
|
# @param [Hash] params a hash of params to be passed to the service
|
|
@@ -67,10 +63,9 @@ module KatelloApi
|
|
|
67
63
|
# @option params [String] organization_id oranization identifier
|
|
68
64
|
#
|
|
69
65
|
# @param [Hash] headers additional http headers
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
call(:"delete", url, params, headers)
|
|
66
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
67
|
+
def destroy(params = {}, headers = {})
|
|
68
|
+
perform_call(__method__, params, headers)
|
|
74
69
|
end
|
|
75
70
|
|
|
76
71
|
end
|