Documentation ¶
Index ¶
- Constants
- func GetCredentialsSecret(coreClient controllerRuntimeClient.Client, namespace string, ...) (string, error)
- func GetInfrastructureConfig(coreClient controllerRuntimeClient.Client) (*configv1.Infrastructure, error)
- func UpdateConditionFailed() ibmcloudproviderv1.IBMCloudMachineProviderCondition
- func UpdateConditionSuccess() ibmcloudproviderv1.IBMCloudMachineProviderCondition
Constants ¶
View Source
const (
// BootVolumeDefaultProfile is the default profile to use when creating boot volumes.
BootVolumeDefaultProfile = "general-purpose"
)
Variables ¶
This section is empty.
Functions ¶
func GetCredentialsSecret ¶
func GetCredentialsSecret(coreClient controllerRuntimeClient.Client, namespace string, spec ibmcloudproviderv1.IBMCloudMachineProviderSpec) (string, error)
GetCredentialsSecret returns base64 encoded credential secret data
func GetInfrastructureConfig ¶
func GetInfrastructureConfig(coreClient controllerRuntimeClient.Client) (*configv1.Infrastructure, error)
GetInfrastructureConfig returns the cluster's Infrastructure config
func UpdateConditionFailed ¶
func UpdateConditionFailed() ibmcloudproviderv1.IBMCloudMachineProviderCondition
UpdateConditionFailed returns provider condition obj for failed machine creation
func UpdateConditionSuccess ¶
func UpdateConditionSuccess() ibmcloudproviderv1.IBMCloudMachineProviderCondition
UpdateConditionSuccess returns provider condition obj for successful machine creation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.