provider

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAWSSubnetworks added in v0.1.62

func GetAWSSubnetworks(client *cmv1.Client, ccs cluster.CCS,
	region string) (subnetworkList []*cmv1.Subnetwork, err error)

func GetGCPSubnetList added in v0.1.62

func GetGCPSubnetList(client *cmv1.Client, provider string, ccs cluster.CCS,
	gcpAuth cluster.GcpAuthentication, region string) (subnetList []string, err error)

func GetGCPVPCs added in v0.1.62

func GetGCPVPCs(client *cmv1.Client, ccs cluster.CCS,
	gcpAuth cluster.GcpAuthentication, region string) (cloudVPCList []*cmv1.CloudVPC, err error)

func GetMachineTypeOptions added in v0.1.46

func GetMachineTypeOptions(client *cmv1.Client, provider string, ccs bool) (options []arguments.Option, err error)

func GetRegions

func GetRegions(client *cmv1.Client, provider string, ccs cluster.CCS) (regions []*cmv1.CloudRegion, err error)

GetRegions queries either `aws/available_regions` or `regions` depending on CCS flags. Does not filter by .Enabled() flag; whether caller should filter depends on CCS.

func GetWifConfig added in v0.1.76

func GetWifConfig(client *cmv1.Client, key string) (wifConfig *cmv1.WifConfig, err error)

GetWifConfig returns the WIF configuration where the key is the wif config id or name

func GetWifConfigNameOptions added in v0.1.75

func GetWifConfigNameOptions(client *cmv1.Client) (options []arguments.Option, err error)

GetWifConfigNameOptions returns the wif config options for the cluster with display name as the value and id as the description

func GetWifConfigs added in v0.1.75

func GetWifConfigs(client *cmv1.Client) (wifConfigs []*cmv1.WifConfig, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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