decoder

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EksacloudStackCloudConfigB64SecretKey = "EKSA_CLOUDSTACK_B64ENCODED_SECRET"
	CloudStackCloudConfigB64SecretKey     = "CLOUDSTACK_B64ENCODED_SECRET"
	EksaCloudStackHostPathToMount         = "EKSA_CLOUDSTACK_HOST_PATHS_TO_MOUNT"

	CloudStackGlobalAZ = "global"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudStackExecConfig

type CloudStackExecConfig struct {
	Profiles []CloudStackProfileConfig
}

func ParseCloudStackSecret

func ParseCloudStackSecret() (*CloudStackExecConfig, error)

ParseCloudStackSecret parses the input b64 string into the ini object to extract out the api key, secret key, and url

type CloudStackProfileConfig added in v0.11.0

type CloudStackProfileConfig struct {
	Name          string
	ApiKey        string
	SecretKey     string
	ManagementUrl string
	VerifySsl     string
	Timeout       string
}

Jump to

Keyboard shortcuts

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