Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterDefaults ¶
type ClusterDefaults struct { GatewaySizing propertiesv2.HostSizingRequirements `json:"gateway_sizing,omitempty"` // GatewaySizing keeps the default node definition GatewayTemplateID string `json:"gateway_template_id,omitempty"` // template id used at creation for gateways MasterSizing propertiesv2.HostSizingRequirements `json:"master_sizing,omitempty"` // MasterSizing keeps the default node definition MasterTemplateID string `json:"master_template_id,omitempty"` // template ID used at creation for masters NodeSizing propertiesv2.HostSizingRequirements `json:"node_sizing,omitempty"` // NodeSizing keeps the default node definition NodeTemplateID string `json:"node_template_id,omitempty"` // template ID used at creation for nodes Image string `json:"image,omitempty"` // Image contains the ID of the image used at creation ImageID string `json:"image_id,omitempty"` // also contains the ID of the image used at creation (previous field was supposed to use Image NAME, but never did) FeatureParameters []string `json:"feature_params,omitempty"` // contains the parameters submitted for automatic installed Features during Cluster creation }
ClusterDefaults ... !!! FROZEN !!!
func (ClusterDefaults) Clone ¶
func (cd ClusterDefaults) Clone() (data.Clonable, error)
Clone ... satisfies interface data.Clonable
func (*ClusterDefaults) IsNull ¶
func (cd *ClusterDefaults) IsNull() bool
IsNull ... satisfies interface data.Clonable
type ClusterNetwork ¶
type ClusterNetwork struct { NetworkID string `json:"network_id,omitempty"` // contains the ID of the network CreatedNetwork bool `json:"created_network,omitempty"` // tells if the network had been created with the cluster SubnetID string `json:"subnet_id,omitempty"` // contains the ID of the subnet CIDR string `json:"cidr,omitempty"` // the network CIDR GatewayID string `json:"gateway_id,omitempty"` // contains the ID of the primary gateway GatewayIP string `json:"gateway_ip,omitempty"` // contains the private IP address of the primary gateway SecondaryGatewayID string `json:"secondary_gateway_id,omitempty"` // contains the ID of the secondary gateway SecondaryGatewayIP string `json:"secondary_gateway_ip,omitempty"` // contains the private IP of the secondary gateway DefaultRouteIP string `json:"default_route_ip,omitempty"` // contains the IP of the default route PrimaryPublicIP string `json:"primary_public_ip,omitempty"` // contains the public IP of the primary gateway SecondaryPublicIP string `json:"secondary_public_ip,omitempty"` // contains the public IP of the secondary gateway EndpointIP string `json:"endpoint_ip,omitempty"` // contains the IP of the external Endpoint SubnetState subnetstate.Enum `json:"status,omitempty"` // contains the network state Domain string `json:"domain,omitempty"` // contains the domain used to define the FQDN of hosts created (taken from network)X }
ClusterNetwork contains network information relative to cluster not FROZEN yet
func (ClusterNetwork) Clone ¶
func (n ClusterNetwork) Clone() (data.Clonable, error)
Clone ... satisfies interface data.Clonable
func (*ClusterNetwork) IsNull ¶
func (n *ClusterNetwork) IsNull() bool
IsNull ... satisfies interface data.Clonable
type ClusterNode ¶
type ClusterNode struct { ID string `json:"id"` // ID of the node NumericalID uint `json:"intid"` // Numerical (unsigned integer) ID of the node Name string `json:"name"` // GetName of the node PublicIP string `json:"public_ip"` // public ip of the node PrivateIP string `json:"private_ip"` // private ip of the node }
ClusterNode describes a node in the cluster !!! FROZEN !!!
type ClusterNodes ¶
type ClusterNodes struct { Masters []uint `json:"masters,omitempty"` MasterByName map[string]uint `json:"master_by_name,omitempty"` MasterByID map[string]uint `json:"master_by_id,omitempty"` PrivateNodes []uint `json:"private_nodes,omitempty"` PrivateNodeByName map[string]uint `json:"private_node_by_name,omitempty"` PrivateNodeByID map[string]uint `json:"private_node_by_id,omitempty"` PublicNodes []uint `json:"public_nodes,omitempty"` PublicNodeByName map[string]uint `json:"public_node_by_name,omitempty"` PublicNodeByID map[string]uint `json:"public_node_by_id,omitempty"` ByNumericalID map[uint]*ClusterNode `json:"host_by_numeric_id,omitempty"` // maps *ClusterNode with NumericalID MasterLastIndex int `json:"master_last_index,omitempty"` // is used to keep the index associated to the name of the last created master PrivateLastIndex int `json:"private_last_index,omitempty"` // is used to keep the index associated to the name of the last created private node PublicLastIndex int `json:"public_last_index,omitempty"` // is used to keep the index associated to the name of the last created public node GlobalLastIndex uint `json:"global_last_index,omitempty"` // is used to keep the index associated to the last created ClusterNode (being master or node) }
ClusterNodes contains all the nodes created in the cluster Not frozen yet
func (ClusterNodes) Clone ¶
func (n ClusterNodes) Clone() (data.Clonable, error)
Clone ... satisfies interface data.Clonable
func (*ClusterNodes) IsNull ¶
func (n *ClusterNodes) IsNull() bool
IsNull ... satisfies interface data.Clonable
Click to show internal directories.
Click to hide internal directories.