providerutil

package
v0.0.0-...-dbfc090 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImageBundleMapFromString

func BuildImageBundleMapFromString(
	imageBundleString, operation string,
) map[string]string

BuildImageBundleMapFromString is to process image bundle flags

func BuildImageBundleRegionOverrideMapFromString

func BuildImageBundleRegionOverrideMapFromString(
	regionString, operation string,
) map[string]string

BuildImageBundleRegionOverrideMapFromString is to process image bundle flags

func BuildRegionMapFromString

func BuildRegionMapFromString(
	regionString, operation string,
) map[string]string

BuildRegionMapFromString is for region flags

func BuildZoneMapFromString

func BuildZoneMapFromString(
	zoneString string,
	operation string,
) map[string]string

BuildZoneMapFromString is to process zone flags

func DefaultImageBundleValues

func DefaultImageBundleValues(imageBundle map[string]string) map[string]string

DefaultImageBundleValues is to set default values for image bundle

func DeleteProviderUtil

func DeleteProviderUtil(cmd *cobra.Command, commandCall, providerCode string)

DeleteProviderUtil deletes a provider

func DeleteProviderValidation

func DeleteProviderValidation(cmd *cobra.Command)

DeleteProviderValidation validates the delete provider command

func DescribeProviderUtil

func DescribeProviderUtil(cmd *cobra.Command, commandCall, providerCode string)

DescribeProviderUtil executes the describe provider command

func DescribeProviderValidation

func DescribeProviderValidation(cmd *cobra.Command)

DescribeProviderValidation validates the describe provider command

func ListProviderUtil

func ListProviderUtil(cmd *cobra.Command, commandCall, providerCode string)

ListProviderUtil executes the list provider command

func ValueNotFoundForKeyError

func ValueNotFoundForKeyError(key string)

ValueNotFoundForKeyError is throws error when value is missing for a key

func WaitForCreateProviderTask

func WaitForCreateProviderTask(
	authAPI *ybaAuthClient.AuthAPIClient,
	providerName string, rTask ybaclient.YBPTask, providerCode string)

WaitForCreateProviderTask is a util task for create provider

func WaitForUpdateProviderTask

func WaitForUpdateProviderTask(
	authAPI *ybaAuthClient.AuthAPIClient,
	providerName string, rTask ybaclient.YBPTask, providerCode string)

WaitForUpdateProviderTask is a util function to monitor update tasks

Types

This section is empty.

Jump to

Keyboard shortcuts

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