gke

package
v0.0.2-dev Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	// ProjectID is the ID of your project to use when creating a cluster
	ProjectID string
	// The zone to launch the cluster
	Zone string
	// The IP address range of the container pods
	ClusterIpv4Cidr string
	// An optional description of this cluster
	Description string
	// The number of nodes to create in this cluster
	InitialNodeCount int64
	// the initial kubernetes master version
	InitialClusterVersion string
	// The authentication information for accessing the master
	MasterAuth *raw.MasterAuth
	// The name of this cluster
	Name string
	// Parameters used in creating the cluster's nodes
	NodeConfig *raw.NodeConfig
	// The path to the credential file(key.json)
	CredentialPath string
	// Enable alpha feature
	EnableAlphaFeature bool
	// NodePool id
	NodePoolID string

	// Update Config
	UpdateConfig updateConfig
}

func NewDriver

func NewDriver() *Driver

NewDriver creates a gke Driver

func (*Driver) Create

func (d *Driver) Create() error

func (*Driver) Get

func (*Driver) GetDriverCreateOptions

func (d *Driver) GetDriverCreateOptions() (*generic.DriverFlags, error)

func (*Driver) GetDriverUpdateOptions

func (d *Driver) GetDriverUpdateOptions() (*generic.DriverFlags, error)

func (*Driver) Remove

func (d *Driver) Remove() error

func (*Driver) SetDriverOptions

func (d *Driver) SetDriverOptions(driverOptions *generic.DriverOptions) error

func (*Driver) Update

func (d *Driver) Update() error

Jump to

Keyboard shortcuts

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