Documentation ¶
Index ¶
- Constants
- func CreateKipCellNetworkTag(controllerID string) string
- func NewGCEClient(controllerID, nametag, projectID string, opts ...ClientOption) (*gceClient, error)
- func WithCredentials(email, key string) withCredentials
- type ClientOption
- type WithCredentialsFile
- type WithPrivateIPOnly
- type WithSubnetName
- type WithVPCName
- type WithZone
Constants ¶
View Source
const (
DefaultGPUType = "nvidia-tesla-t4"
)
Variables ¶
This section is empty.
Functions ¶
func CreateKipCellNetworkTag ¶
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
Click to show internal directories.
Click to hide internal directories.