Versions in this module Expand all Collapse all v0 v0.0.1 Mar 31, 2022 Changes in this version + const DefaultCredentialNamespace + const DefaultCredentialSecret + const InstanceStateNameActive + const InstanceStateNameBuild + const InstanceStateNameShutoff + const PowerServiceType + const TIMEOUT + var ErrorInstanceNotFound = errors.New("instance Not Found") + func FormatProviderID(region, zone, serviceInstanceID, vmInstanceID string) string + func GetAPIKey(ctrlRuntimeClient client.Client, secretName, namespace string) (apikey string, err error) + type Client interface + CreateInstance func(createParams *models.PVMInstanceCreate) (*models.PVMInstanceList, error) + DeleteInstance func(id string) error + GetCloudServiceInstances func() ([]bluemixmodels.ServiceInstanceV2, error) + GetImages func() (*models.Images, error) + GetInstance func(id string) (*models.PVMInstance, error) + GetInstanceByName func(name string) (*models.PVMInstance, error) + GetInstances func() (*models.PVMInstances, error) + GetNetworks func() (*models.Networks, error) + GetRegion func() string + GetZone func() string + func NewValidatedClient(ctrlRuntimeClient client.Client, secretName, namespace, cloudInstanceID string, ...) (Client, error) + type PowerVSClientBuilderFuncType func(client client.Client, secretName, namespace, cloudInstanceID string, ...) (Client, error) + type User struct + Account string + Email string + ID string