external

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidProviderStatus added in v0.1.3

func IsValidProviderStatus(status commonParams.InstanceStatus) bool

IsProviderValidStatus checks if the given status is valid for the provider. A provider should only return a status indicating that the instance is in a lifecycle state that it can influence. The sole purpose of a provider is to manage the lifecycle of an instance. Statuses that indicate an instance should be created or removed, will be set by the controller.

func NewProvider

func NewProvider(ctx context.Context, cfg *config.Provider, controllerID string) (common.Provider, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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