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

Inherits:
APIObject
  • Object
show all
Defined in:
lib/latitude/api/resources/kubernetes_cluster.rb

Constant Summary

Constants inherited from APIObject

APIObject::RESERVED

Instance Attribute Summary collapse

Attributes inherited from APIObject

#raw

Method Summary

Methods inherited from APIObject

#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap

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::APIObject

Dynamic Method Handling

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

Instance Attribute Details

#external_ipString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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

#hostnameString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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

#idString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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

#internal_ipString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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

#ipString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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

#nameString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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

#server_idString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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

#statusString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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

#typeString (readonly)

Returns:

  • (String)


116
117
118
119
120
121
122
123
124
125
126
# File 'lib/latitude/api/resources/kubernetes_cluster.rb', line 116

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