cloudprovider

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	InstanceID string
	InternalIP string
	PublicIP   string
	Port       int32
	Username   string
	Password   string
}

type Provider

type Provider interface {
	// CreateInstances create count instances which wait they are running and return info for ssh
	CreateInstances(count int64) ([]Instance, error)
	// DeleteInstances delete instances
	DeleteInstances(instanceIDs []string) error
	// CreateCLB create a load balancer and return the vip
	CreateCLB(eniIps []*string) (*string, error)
	// TearDown clean up all resources
	TearDown() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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