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 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" InstanceRefreshAnnotation = "alpha.giantswarm.io/instance-refresh" CancelInstanceRefreshAnnotation = "alpha.giantswarm.io/cancel-instance-refresh" MinHealthyPercentageAnnotation = "alpha.giantswarm.io/instance-refresh-min-healhty-percentage" )
Variables ¶
View Source
var (
DefaultMinHealthyPercentage int64 = 90
)
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 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.