ensurer

package
v0.6.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL