gce

package
v0.0.0-...-6dd300b Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodePool

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

func NewNodePool

func NewNodePool(n v1.Node) (*NodePool, error)

NewNodePool returns a new gce nodepool

func (*NodePool) DeleteNodes

func (np *NodePool) DeleteNodes(nodes []v1.Node) error

DeleteNode deletes a set of nodes from the nodepool

func (*NodePool) IncreaseToSize

func (np *NodePool) IncreaseToSize(size int64) error

Increases the nodepool size, if the size is greater than the current target size for the underlying instance group

Jump to

Keyboard shortcuts

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