Documentation
¶
Index ¶
- Variables
- 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 EKSACliContextKey
- 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 ¶
View Source
var InsecureRegistry = EKSACliContextKey("insecure-registry")
InsecureRegistry can be used to bypass https registry certification check when push/pull images or artifacts.
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
type ClusterStatus ¶
type ClusterStatus struct {
Phase string
Conditions Conditions
}
type ComponentChangeDiff ¶ added in v0.6.0
type ComponentChangeDiff struct {
ComponentName string `json:"name"`
OldVersion string `json:"oldVersion"`
NewVersion string `json:"newVersion"`
}
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 Deployment struct {
Namespace string
Name string
Container string
}
type DockerCredentials ¶ added in v0.8.0
type DockerCredentials struct {
Username string
Password string
}
type EKSACliContextKey ¶ added in v0.16.2
type EKSACliContextKey string
EKSACliContextKey is defined to avoid conflict with other packages.
type InfrastructureBundle ¶
type InfrastructureBundle struct {
FolderName string
Manifests []v1alpha1.Manifest
}
type Lookup ¶
type Lookup map[string]struct{}
func SliceToLookup ¶
func SliceToLookup(slice []string) Lookup
type Machine ¶
type Machine struct {
Metadata MachineMetadata `json:"metadata"`
Status MachineStatus `json:"status"`
}
func (*Machine) HasAnyLabel ¶ added in v0.6.0
func (m *Machine) HasAnyLabel(labels []string) bool
type MachineMetadata ¶
type MachineMetadata struct {
Name string `json:"name,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
}
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 ¶
type ResourceRef struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Name string `json:"Name"`
}
Click to show internal directories.
Click to hide internal directories.