Class: Latitude::API::Resources::KubernetesCluster

Inherits:
APIResource
  • Object
show all
Extended by:
Operations::Create, Operations::Delete, Operations::List, Operations::Retrieve, Operations::Update
Defined in:
lib/latitude/api/resources/kubernetes_cluster.rb

Defined Under Namespace

Classes: ControlPlane, Node, Step, Worker

Constant Summary

Constants inherited from APIResource

APIResource::READ_ONLY_ATTRIBUTES

Instance Attribute Summary collapse

Attributes inherited from APIResource

#id, #meta, #path_params, #raw_data, #type

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Operations::List

all, list

Methods included from Operations::Create

create

Methods included from Operations::Retrieve

retrieve

Methods included from Operations::Update

update

Methods included from Operations::Delete

delete

Methods inherited from APIResource

#==, #[], #[]=, #as_json, #attributes, #changed?, class_url, config_source, construct_from, #delete, execute_request, extract_path_params, #hash, id_prefix, #initialize, #inspect, instance_url, #method_missing, path_param_keys, #refresh, resource_path, resource_type, #resource_url, #respond_to_missing?, #save, #to_h, #unsaved_attributes, with_config, #write_attribute

Methods included from Attributes::ClassMethods

#attribute, #attribute_specs

Methods included from Attributes::InstanceMethods

#attribute_spec, #read_attribute, #wrap_attribute

Constructor Details

This class inherits a constructor from Latitude::API::APIResource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Latitude::API::APIResource

Instance Attribute Details

#available_upgradeString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#control_planeControlPlane

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#control_plane_countInteger

Returns:

  • (Integer)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#control_plane_endpointString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#control_plane_readyBoolean

Returns:

  • (Boolean)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#control_plane_statusString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#created_atTime (readonly)

Returns:

  • (Time)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#failure_messageString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#failure_reasonString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#infrastructure_readyBoolean

Returns:

  • (Boolean)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#kubeconfig_urlString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#kubernetes_versionString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#last_status_changeTime

Returns:

  • (Time)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#load_balancer_ipsArray

Returns:

  • (Array)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#locationString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#messageString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#nameString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#nodesArray<Node>

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#phaseString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#planString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#projectLatitude::API::Objects::Project



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#readyBoolean

Returns:

  • (Boolean)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#statusString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#stepsArray<Step>

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#version_statusString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#worker_countInteger

Returns:

  • (Integer)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#worker_planString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#worker_statusString

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

#workersWorker

Returns:



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 64

class KubernetesCluster < APIResource
    # @!attribute [r] ready
    #   @return [Boolean]
    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
  class ControlPlane < APIObject
    attribute :ready, :boolean, read_only: true
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
  end

    # @!attribute [r] replicas
    #   @return [Integer]
    # @!attribute [r] ready_replicas
    #   @return [Integer]
    # @!attribute [r] available_replicas
    #   @return [Integer]
  class Worker < APIObject
    attribute :replicas, :integer, read_only: true
    attribute :ready_replicas, :integer, read_only: true
    attribute :available_replicas, :integer, read_only: true
  end

    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
  class Step < APIObject
    attribute :name, :string, read_only: true
    attribute :status, :string, read_only: true
  end

    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] name
    #   @return [String]
    # @!attribute [r] hostname
    #   @return [String]
    # @!attribute [r] server_id
    #   @return [String]
    # @!attribute [r] type
    #   @return [String]
    # @!attribute [r] status
    #   @return [String]
    # @!attribute [r] ip
    #   @return [String]
    # @!attribute [r] internal_ip
    #   @return [String]
    # @!attribute [r] external_ip
    #   @return [String]
  class Node < APIObject
    attribute :id, :string, read_only: true
    attribute :name, :string, read_only: true
    attribute :hostname, :string, read_only: true
    attribute :server_id, :string, read_only: true
    attribute :type, :string, read_only: true
    attribute :status, :string, read_only: true
    attribute :ip, :string, read_only: true
    attribute :internal_ip, :string, read_only: true
    attribute :external_ip, :string, read_only: true
  end

  attribute :name, :string
  attribute :phase, :string
  attribute :ready, :boolean
  attribute :control_plane_endpoint, :string
  attribute :kubeconfig_url, :string
  attribute :location, :string
  attribute :load_balancer_ips, :array
  attribute :kubernetes_version, :string
  attribute :version_status, :string
  attribute :available_upgrade, :string
  attribute :created_at, :time, read_only: true
  attribute :plan, :string
  attribute :worker_plan, :string
  attribute :control_plane_count, :integer
  attribute :worker_count, :integer
  attribute :control_plane, ControlPlane
  attribute :workers, Worker
  attribute :worker_status, :string
  attribute :control_plane_status, :string
  attribute :infrastructure_ready, :boolean
  attribute :control_plane_ready, :boolean
  attribute :message, :string
  attribute :steps, [Step]
  attribute :last_status_change, :time
  attribute :failure_message, :string
  attribute :failure_reason, :string
  attribute :nodes, [Node]
  attribute :project, Objects::Project
  attribute :status, :string

  resource_type "kubernetes_clusters"
  resource_path "/kubernetes_clusters"
  id_prefix     "kc_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete

  class << self
    def available_versions(opts = {})
      execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
    end

    def kubeconfig(id, opts = {})
      execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
    end
  end

  def kubeconfig(opts = {})
    self.class.kubeconfig(id, opts)
  end
end

Class Method Details

.available_versions(opts = {}) ⇒ Object



169
170
171
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 169

def available_versions(opts = {})
  execute_request(method: :get, path: "#{resource_path}/available_versions", opts: opts)
end

.kubeconfig(id, opts = {}) ⇒ Object



173
174
175
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 173

def kubeconfig(id, opts = {})
  execute_request(method: :get, path: "#{instance_url(id)}/kubeconfig", opts: opts)
end

Instance Method Details

#kubeconfig(opts = {}) ⇒ Object



178
179
180
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 178

def kubeconfig(opts = {})
  self.class.kubeconfig(id, opts)
end