Documentation ¶
Overview ¶
Package ensurer provides functions used to ensure infrastructure changes to be applied
Package ensurer provides functions used to ensure infrastructure changes to be applied ¶
Package ensurer provides functions used to ensure infrastructure changes to be applied
Index ¶
- func EnsureDHCPServer(ctx context.Context, client *ionossdk.APIClient, datacenterID, zone string, ...) (string, error)
- func EnsureDHCPServerDeleted(ctx context.Context, client *ionossdk.APIClient, datacenterID, serverID string) error
- func EnsureDatacenter(ctx context.Context, client *ionossdk.APIClient, zone, namespace string) (string, error)
- func EnsureDatacenterDeleted(ctx context.Context, client *ionossdk.APIClient, datacenterID string) error
- func EnsureFloatingPool(ctx context.Context, client *ionossdk.APIClient, zone, namespace string, ...) (string, error)
- func EnsureFloatingPoolDeleted(ctx context.Context, client *ionossdk.APIClient, floatingPoolID string) error
- func EnsureNetworks(ctx context.Context, client *ionossdk.APIClient, ...) (string, string, error)
- func EnsureNetworksDeleted(ctx context.Context, client *ionossdk.APIClient, datacenterID string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDHCPServer ¶
func EnsureDHCPServerDeleted ¶
func EnsureDatacenter ¶
func EnsureDatacenterDeleted ¶
func EnsureFloatingPool ¶
func EnsureNetworks ¶
func EnsureNetworks(ctx context.Context, client *ionossdk.APIClient, datacenterID, namespace string, networks *apis.Networks) (string, string, error)
EnsureNetworks verifies the network resources requested are available.
PARAMETERS ctx context.Context Execution context client *hcloud.Client HCloud client namespace string Shoot namespace networks *apis.Networks Networks struct
func EnsureNetworksDeleted ¶
func EnsureNetworksDeleted(ctx context.Context, client *ionossdk.APIClient, datacenterID string, networkIDs *apis.NetworkIDs) error
EnsureNetworksDeleted removes any previously created network resources.
PARAMETERS ctx context.Context Execution context client *hcloud.Client HCloud client namespace string Shoot namespace networks *apis.NetworkIDs Network IDs struct
Types ¶
This section is empty.