acceptance

package
v8.4.30+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SkipUnless

func SkipUnless(match string)

func VmExtensionNames

func VmExtensionNames(cloudConfigOutput string) []string

Types

type Config

type Config struct {
	IAAS        string
	StemcellURL string

	AWSAccessKeyID     string
	AWSSecretAccessKey string
	AWSRegion          string

	AzureClientID       string
	AzureClientSecret   string
	AzureRegion         string
	AzureSubscriptionID string
	AzureTenantID       string

	GCPServiceAccountKey string
	GCPRegion            string

	VSphereNetwork          string
	VSphereSubnetCIDR       string
	VSphereVCenterIP        string
	VSphereVCenterUser      string
	VSphereVCenterPassword  string
	VSphereVCenterDC        string
	VSphereVCenterCluster   string
	VSphereVCenterRP        string
	VSphereVCenterDS        string
	VSphereVCenterDisks     string
	VSphereVCenterVMs       string
	VSphereVCenterTemplates string

	OpenStackAuthURL     string
	OpenStackAZ          string
	OpenStackNetworkID   string
	OpenStackNetworkName string
	OpenStackPassword    string
	OpenStackUsername    string
	OpenStackProject     string
	OpenStackDomain      string
	OpenStackRegion      string

	// if bucket is set, statefiledir should be ignored
	StateFileDir   string
	BBLStateBucket string
}

func LoadConfig

func LoadConfig() (Config, error)

Loads all of the credentials from environment variables to be used in the acceptance test. Validates the presence of required credentials before starting up tests.

type State

type State struct {
	// contains filtered or unexported fields
}

func NewState

func NewState(stateDirectory string) State

func (State) BOSHManifest

func (s State) BOSHManifest() string

func (State) BOSHState

func (s State) BOSHState() string

func (State) Checksum

func (s State) Checksum() string

func (State) EnvID

func (s State) EnvID() string

func (State) TFState

func (s State) TFState() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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