# Packages

Package mock is a generated GoMock package.

# Functions

FormatProviderID formats and returns the provided instanceID.
GetAPIKey will return the api key read from given secretName in a given namespace.
NewValidatedClient creates and return a new Power VS client.

# Constants

DefaultCredentialNamespace is the default namespace used to create a client object.
DefaultCredentialSecret is the credential secret name used by node update controller to fetch API key.
InstanceStateNameActive is indicates the active state of Power VS instance.
InstanceStateNameBuild is indicates the build state of Power VS instance.
InstanceStateNameShutoff is indicates the shutoff state of Power VS instance.
PowerServiceType is the power-iaas service type of IBM Cloud.
TIMEOUT is default timeout used by Power VS client for operations like DeleteInstance.

# Variables

ErrorInstanceNotFound is error type for Instance Not Found.

# Structs

User is used to hold the user details.

# Interfaces

Client is a wrapper object for actual PowerVS SDK clients to allow for easier testing.

# Type aliases

PowerVSClientBuilderFuncType is function type for building the Power VS client.