cloud

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloud

type Cloud interface {
	GetMetadata() (types.Metadata, error)
	// Returns nil, nil if not found
	GetEndpoint(request *types.CreateEndpointRequest) (*types.Endpoint, error)
	CreateEndpoint(*types.CreateEndpointRequest) (*types.Endpoint, error)
	DeleteEndpoint(ctx context.Context, endpointID string) error
	DeleteSecurityGroup(ctx context.Context, securityGroupID string) error
	GetProvider() types.Vendor
	GetCallerIdentity() (*string, error)
}

func GetCloud

func GetCloud() (Cloud, error)

Jump to

Keyboard shortcuts

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