Documentation ¶
Index ¶
- Constants
- Variables
- func AWSAccountDetails(ctx context.Context, client client.Client, ...) (string, string, error)
- func CancelInstanceRefresh(getter AnnotationsGetter) bool
- func Cluster(getter LabelsGetter) string
- func Controlplane(getter LabelsGetter) string
- func InstanceRefresh(getter AnnotationsGetter) bool
- func InstanceWarmupSeconds(getter AnnotationsGetter) (int64, error)
- func MachineDeployment(getter LabelsGetter) string
- func MinHealthyPercentage(getter AnnotationsGetter) (int64, error)
- type AnnotationsGetter
- type LabelsGetter
Constants ¶
View Source
const ( ClusterLabel = "giantswarm.io/cluster" ControlPlaneLabel = "giantswarm.io/control-plane" MachineDeploymentLabel = "giantswarm.io/machine-deployment" )
Variables ¶
View Source
var ( DefaultMinHealthyPercentage int64 = 90 DefaultInstanceWarmupSeconds int64 = 0 )
Functions ¶
func AWSAccountDetails ¶
func AWSAccountDetails(ctx context.Context, client client.Client, cluster *infrastructurev1alpha3.AWSCluster) (string, string, error)
func CancelInstanceRefresh ¶
func CancelInstanceRefresh(getter AnnotationsGetter) bool
func Cluster ¶
func Cluster(getter LabelsGetter) string
func Controlplane ¶
func Controlplane(getter LabelsGetter) string
func InstanceRefresh ¶
func InstanceRefresh(getter AnnotationsGetter) bool
func InstanceWarmupSeconds ¶ added in v0.3.0
func InstanceWarmupSeconds(getter AnnotationsGetter) (int64, error)
func MachineDeployment ¶
func MachineDeployment(getter LabelsGetter) string
func MinHealthyPercentage ¶
func MinHealthyPercentage(getter AnnotationsGetter) (int64, error)
Types ¶
type AnnotationsGetter ¶
type LabelsGetter ¶
Click to show internal directories.
Click to hide internal directories.