Documentation ¶
Index ¶
- func ScaleDeployment(setupContextTimeout time.Duration, client client.Client, ...) (*int32, error)
- func ScaleGardenerResourceManager(setupContextTimeout time.Duration, namespace string, client client.Client, ...) (*int32, error)
- func WaitForExtensionCondition(ctx context.Context, logger *logrus.Logger, seedClient client.Client, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScaleDeployment ¶
func ScaleDeployment(setupContextTimeout time.Duration, client client.Client, desiredReplicas *int32, name, namespace string) (*int32, error)
ScaleDeployment scales a deployment
func ScaleGardenerResourceManager ¶
func ScaleGardenerResourceManager(setupContextTimeout time.Duration, namespace string, client client.Client, desiredReplicas *int32) (*int32, error)
ScaleGardenerResourceManager scales the gardener-resource-manager to the desired replicas
func WaitForExtensionCondition ¶
func WaitForExtensionCondition(ctx context.Context, logger *logrus.Logger, seedClient client.Client, groupVersionKind schema.GroupVersionKind, namespacedName types.NamespacedName, conditionType gardencorev1beta1.ConditionType, conditionStatus gardencorev1beta1.ConditionStatus, conditionReason string) error
WaitForExtensionCondition waits for the extension to contain the condition type, status and reason
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.