Documentation ¶
Index ¶
- type CAPICluster
- type ChangeDiff
- type Closer
- type Cluster
- type ClusterStatus
- type ComponentChangeDiff
- type Condition
- type ConditionStatus
- type ConditionType
- type Conditions
- type Datastores
- type Deployment
- type DockerCredentials
- type Info
- type InfrastructureBundle
- type Lookup
- type Machine
- type MachineMetadata
- type MachineStatus
- type Metadata
- type NodeReadyChecker
- type NowFunc
- type ResourceRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAPICluster ¶
type CAPICluster struct { Metadata Metadata Status ClusterStatus }
type ChangeDiff ¶ added in v0.6.0
type ChangeDiff struct {
ComponentReports []ComponentChangeDiff `json:"components"`
}
func NewChangeDiff ¶ added in v0.6.0
func NewChangeDiff(componentReports ...*ComponentChangeDiff) *ChangeDiff
func (*ChangeDiff) Append ¶ added in v0.6.0
func (c *ChangeDiff) Append(changeDiffs ...*ChangeDiff)
func (*ChangeDiff) Changed ¶ added in v0.6.0
func (c *ChangeDiff) Changed() bool
type ClusterStatus ¶
type ClusterStatus struct { Phase string Conditions Conditions }
type ComponentChangeDiff ¶ added in v0.6.0
type Condition ¶
type Condition struct { Type ConditionType `json:"type"` Status ConditionStatus `json:"status"` }
type ConditionStatus ¶
type ConditionStatus string
type ConditionType ¶
type ConditionType string
type Conditions ¶
type Conditions []Condition
type Datastores ¶
type Datastores struct {
Info Info `json:"Info"`
}
type Deployment ¶
type DockerCredentials ¶ added in v0.8.0
type InfrastructureBundle ¶
type Machine ¶
type Machine struct { Metadata MachineMetadata `json:"metadata"` Status MachineStatus `json:"status"` }
func (*Machine) HasAnyLabel ¶ added in v0.6.0
type MachineMetadata ¶
type MachineStatus ¶
type MachineStatus struct { NodeRef *ResourceRef `json:"nodeRef,omitempty"` Conditions Conditions }
type NodeReadyChecker ¶
type NodeReadyChecker func(status MachineStatus) bool
func WithNodeHealthy ¶
func WithNodeHealthy() NodeReadyChecker
func WithNodeRef ¶
func WithNodeRef() NodeReadyChecker
type ResourceRef ¶
Click to show internal directories.
Click to hide internal directories.