Documentation ¶
Overview ¶
Package models defines the different object models used in EdgeCluster
Package models defines the different object models used in EdgeCluster
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterType ¶ added in v0.0.24
type ClusterType int
ClusterType is the edge cluster type
const ( // K3S is an edge cluster using K3S server and agent nodes K3S ClusterType = iota )
type EdgeCluster ¶
type EdgeCluster struct { ProjectID string `bson:"projectID" json:"projectID"` Name string `bson:"name" json:"name"` ClusterSecret string `bson:"clusterSecret" json:"clusterSecret"` ClusterType ClusterType `bson:"clusterType" json:"clusterType"` }
EdgeCluster defines the Edge Cluster object
func (EdgeCluster) Validate ¶
func (val EdgeCluster) Validate() error
Validate validates the EdgeCluster and return error if the validation failes Returns error if validation failes
type EdgeClusterNodeStatus ¶ added in v0.5.4
type EdgeClusterNodeStatus struct { // Conditions is an array of current observed node conditions. Conditions []v1.NodeCondition // Addresses is the list of addresses reachable to the node. Addresses []v1.NodeAddress // NodeInfo is the set of ids/uuids to uniquely identify the node. NodeInfo v1.NodeSystemInfo }
EdgeClusterNodeStatus is information about the current status of a node.
type EdgeClusterWithCursor ¶ added in v0.0.10
type EdgeClusterWithCursor struct { EdgeClusterID string EdgeCluster EdgeCluster Cursor string ProvisionDetails ProvisionDetails }
EdgeClusterWithCursor implements the pair of the edge cluster with a cursor that determines the location of the edge cluster in the repository.
type ProvisionDetails ¶ added in v0.5.3
type ProvisionDetails struct { Ingress []v1.LoadBalancerIngress Ports []v1.ServicePort KubeconfigContent string }
ProvisionDetails represents the provision detail of an edge cluster
Click to show internal directories.
Click to hide internal directories.