vpc

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ALI_VPC = "ali-vpc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSVPC added in v1.2.1

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

func NewAWSVPC added in v1.2.1

func NewAWSVPC(key, secret string) *AWSVPC

func (*AWSVPC) CreateRoute added in v1.2.1

func (v *AWSVPC) CreateRoute(cidr string) error

type AliVPC

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

func NewAliVPC

func NewAliVPC(key, secret string) *AliVPC

func (*AliVPC) CreateRoute

func (v *AliVPC) CreateRoute(cidr string) error

type IVPC

type IVPC interface {
	CreateRoute(cidr string) error
}

func GetVPCInstance

func GetVPCInstance(typ proto.CSPType, key, secret string) (IVPC, error)

Jump to

Keyboard shortcuts

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