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 EdgeCluster ¶
type EdgeCluster struct { TenantID string `bson:"tenantID" json:"tenantID"` 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 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 Ingress ¶ added in v0.5.1
type Ingress struct { // IP is set for load-balancer ingress points that are IP based // (typically GCE or OpenStack load-balancers) // +optional IP string // Hostname is set for load-balancer ingress points that are DNS based // (typically AWS load-balancers) // +optional Hostname string }
Ingress represents the status of a load-balancer ingress point
type Port ¶ added in v0.5.1
type Port struct { // The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". // Default is TCP. // +optional Protocol v1.Protocol // The port that will be exposed by this service. Port int32 }
Port contains information on service's port.
type ProvisionDetails ¶ added in v0.5.3
ProvisionDetails represents the provision detail of an edge cluster
Click to show internal directories.
Click to hide internal directories.