iron_titan 0.0.10 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e60d690eb82c7998b599b5faccb2d8af69d973d
4
- data.tar.gz: 2ceb019325319f0968ebbdad3bab88801f88df90
3
+ metadata.gz: b2733bf5718b62919a89ef1daf508b4dd0b62649
4
+ data.tar.gz: 17476e9be12a4347a02983daebfc71f4115b988c
5
5
  SHA512:
6
- metadata.gz: 336cfc452ae8312bd25f4cdc84e6cc41047c85b7c9fa0423126ff0491bec1639c1635ae7c26827279a3314622439e8640acde9572e01be6bb97b38b8c78d2e35
7
- data.tar.gz: d441d7067d1751d7ffa570275798083a80dc403a36e7a07819dd170201d8d84edee691dec0d1a8ed54e9fc39098badd8a9e28e60a74a2a75267df5b0f1caa244
6
+ metadata.gz: eeaaa9aa1f8cd64800d2ee1fe837ea425415832dd70692ef72cbadb0bb4f85c9e98ab9bed570eed34a52aa47c31806053d422e841d9d01c09baec6201a6a1cb3
7
+ data.tar.gz: 67c166e50568e2f546d9e2cf7b8beb5da1ee07415d3e2663f97f848221ba78187e5885db4f6bda2db0597b3dfd8dae8be18f827bf752b0dc0340642a98e4bcb9
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -20,21 +20,76 @@ module IronTitan
20
20
  @api_client = api_client
21
21
  end
22
22
 
23
- # Get images by name.
23
+ # Get all image names.
24
24
  # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
25
- # @param name Name of the image.
26
25
  # @param [Hash] opts the optional parameters
27
26
  # @return [ImagesWrapper]
27
+ def images_get(opts = {})
28
+ data, status_code, headers = images_get_with_http_info(opts)
29
+ return data
30
+ end
31
+
32
+ # Get all image names.
33
+ # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
34
+ # @param [Hash] opts the optional parameters
35
+ # @return [Array<(ImagesWrapper, Fixnum, Hash)>] ImagesWrapper data, response status code and response headers
36
+ def images_get_with_http_info(opts = {})
37
+ if @api_client.config.debugging
38
+ @api_client.config.logger.debug "Calling API: ImagesApi#images_get ..."
39
+ end
40
+
41
+ # resource path
42
+ local_var_path = "/images".sub('{format}','json')
43
+
44
+ # query parameters
45
+ query_params = {}
46
+
47
+ # header parameters
48
+ header_params = {}
49
+
50
+ # HTTP header 'Accept' (if needed)
51
+ _header_accept = ['application/json']
52
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
53
+
54
+ # HTTP header 'Content-Type'
55
+ _header_content_type = ['application/json']
56
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
57
+
58
+ # form parameters
59
+ form_params = {}
60
+
61
+ # http body (model)
62
+ post_body = nil
63
+
64
+ auth_names = []
65
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
66
+ :header_params => header_params,
67
+ :query_params => query_params,
68
+ :form_params => form_params,
69
+ :body => post_body,
70
+ :auth_names => auth_names,
71
+ :return_type => 'ImagesWrapper')
72
+ if @api_client.config.debugging
73
+ @api_client.config.logger.debug "API called: ImagesApi#images_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
74
+ end
75
+ return data, status_code, headers
76
+ end
77
+
78
+ # Get image by name.
79
+ # NOT IMPLEMENTED YET. This gives more details about on image, such as statistics and what not.
80
+ # @param name Name of the image.
81
+ # @param [Hash] opts the optional parameters
82
+ # @return [ImageWrapper]
28
83
  def images_name_get(name, opts = {})
29
84
  data, status_code, headers = images_name_get_with_http_info(name, opts)
30
85
  return data
31
86
  end
32
87
 
33
- # Get images by name.
34
- # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
88
+ # Get image by name.
89
+ # NOT IMPLEMENTED YET. This gives more details about on image, such as statistics and what not.
35
90
  # @param name Name of the image.
36
91
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(ImagesWrapper, Fixnum, Hash)>] ImagesWrapper data, response status code and response headers
92
+ # @return [Array<(ImageWrapper, Fixnum, Hash)>] ImageWrapper data, response status code and response headers
38
93
  def images_name_get_with_http_info(name, opts = {})
39
94
  if @api_client.config.debugging
40
95
  @api_client.config.logger.debug "Calling API: ImagesApi#images_name_get ..."
@@ -73,7 +128,7 @@ module IronTitan
73
128
  :form_params => form_params,
74
129
  :body => post_body,
75
130
  :auth_names => auth_names,
76
- :return_type => 'ImagesWrapper')
131
+ :return_type => 'ImageWrapper')
77
132
  if @api_client.config.debugging
78
133
  @api_client.config.logger.debug "API called: ImagesApi#images_name_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
134
  end
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -11,5 +11,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  =end
12
12
 
13
13
  module IronTitan
14
- VERSION = "0.0.10"
14
+ VERSION = "0.1.0"
15
15
  end
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,12 +32,27 @@ describe 'ImagesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for images_name_get
36
- # Get images by name.
35
+ # unit tests for images_get
36
+ # Get all image names.
37
37
  # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
38
- # @param name Name of the image.
39
38
  # @param [Hash] opts the optional parameters
40
39
  # @return [ImagesWrapper]
40
+ describe 'images_get test' do
41
+ it "should work" do
42
+ # assertion here
43
+ # should be_a()
44
+ # should be_nil
45
+ # should ==
46
+ # should_not ==
47
+ end
48
+ end
49
+
50
+ # unit tests for images_name_get
51
+ # Get image by name.
52
+ # NOT IMPLEMENTED YET. This gives more details about on image, such as statistics and what not.
53
+ # @param name Name of the image.
54
+ # @param [Hash] opts the optional parameters
55
+ # @return [ImageWrapper]
41
56
  describe 'images_name_get test' do
42
57
  it "should work" do
43
58
  # assertion here
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.10
6
+ OpenAPI spec version: 0.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_titan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder