gce

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultGPUType = "nvidia-tesla-t4"
)

Variables

This section is empty.

Functions

func CreateKipCellNetworkTag

func CreateKipCellNetworkTag(controllerID string) string

func NewGCEClient

func NewGCEClient(controllerID, nametag, projectID string, opts ...ClientOption) (*gceClient, error)

func WithCredentials

func WithCredentials(email, key string) withCredentials

Types

type ClientOption

type ClientOption interface {
	Apply(*gceClient) error
}

type WithCredentialsFile

type WithCredentialsFile string

func (WithCredentialsFile) Apply

func (w WithCredentialsFile) Apply(c *gceClient) error

type WithPrivateIPOnly added in v0.0.6

type WithPrivateIPOnly bool

func (WithPrivateIPOnly) Apply added in v0.0.6

func (w WithPrivateIPOnly) Apply(c *gceClient) error

type WithSubnetName

type WithSubnetName string

func (WithSubnetName) Apply

func (w WithSubnetName) Apply(c *gceClient) error

type WithVPCName

type WithVPCName string

func (WithVPCName) Apply

func (w WithVPCName) Apply(c *gceClient) error

type WithZone

type WithZone string

func (WithZone) Apply

func (w WithZone) Apply(c *gceClient) error

Jump to

Keyboard shortcuts

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