acceptance

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSAcceptance

type AWSAcceptance struct {
	AccessKeyId     string
	SecretAccessKey string
	Region          string
	Logger          *app.Logger
}

func NewAWSAcceptance

func NewAWSAcceptance() AWSAcceptance

func (AWSAcceptance) CreateKeyPair

func (a AWSAcceptance) CreateKeyPair(name string)

type AzureAcceptance

type AzureAcceptance struct {
	SubscriptionId string
	TenantId       string
	ClientId       string
	ClientSecret   string
	Logger         *app.Logger
}

func NewAzureAcceptance

func NewAzureAcceptance() AzureAcceptance

func (AzureAcceptance) CreateResourceGroup

func (a AzureAcceptance) CreateResourceGroup(name string)

type GCPAcceptance

type GCPAcceptance struct {
	Key       []byte
	KeyPath   string
	ProjectId string
	Zone      string
	Logger    *app.Logger
}

func NewGCPAcceptance

func NewGCPAcceptance() GCPAcceptance

func (GCPAcceptance) InsertDisk

func (g GCPAcceptance) InsertDisk(name string)

type NSXTAcceptance added in v0.36.0

type NSXTAcceptance struct {
	ManagerHost string
	User        string
	Password    string
	EdgeCluster string
	NSXTClient  *nsxt.APIClient
	Logger      *app.Logger
}

func NewNSXTAcceptance added in v0.36.0

func NewNSXTAcceptance() NSXTAcceptance

func (*NSXTAcceptance) CreateT1Router added in v0.36.0

func (n *NSXTAcceptance) CreateT1Router(name string) manager.LogicalRouter

func (*NSXTAcceptance) GetEdgeClusterID added in v0.36.0

func (n *NSXTAcceptance) GetEdgeClusterID(name string) string

adapted from the nsxt terraform provider's edge cluster data source read method

type VSphereAcceptance added in v0.14.0

type VSphereAcceptance struct {
	Datacenter      string
	Datastore       string
	ResourcePool    string
	VCenterIP       string
	VCenterUser     string
	VCenterPassword string
	VCenterClient   *govmomi.Client
	Logger          *app.Logger
}

func NewVSphereAcceptance added in v0.14.0

func NewVSphereAcceptance() VSphereAcceptance

func (*VSphereAcceptance) CreateFolder added in v0.14.0

func (v *VSphereAcceptance) CreateFolder(root, name string) *object.Folder

func (*VSphereAcceptance) CreateVM added in v0.35.0

func (v *VSphereAcceptance) CreateVM(folder *object.Folder, name string)

func (*VSphereAcceptance) FindFolder added in v0.35.0

func (v *VSphereAcceptance) FindFolder(folder string) *object.Folder

Jump to

Keyboard shortcuts

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