Documentation ¶
Overview ¶
Package ensurer provides functions used to ensure worker changes to be applied
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsurePlacementGroupDeleted ¶
func EnsurePlacementGroupDeleted(ctx context.Context, client *hcloud.Client, placementGroupID int) error
EnsurePlacementGroupDeleted removes any previously created placement group identified by the given fingerprint.
PARAMETERS ctx context.Context Execution context client *hcloud.Client HCloud client fingerprint string SSH fingerprint
func EnsurePlacementGroups ¶
func EnsurePlacementGroups(ctx context.Context, client *hcloud.Client, workerConfig *v1alpha1.Worker) (map[string]int, error)
EnsurePlacementGroups verifies that the placement groups requested are available.
PARAMETERS ctx context.Context Execution context client *hcloud.Client HCloud client workerConfig *v1alpha1.Worker Worker config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.