gke

package
v0.0.0-...-34ff000 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGkeScheduler

func NewGkeScheduler(ctx context.Context) (scheduler.Runner, error)

Types

type GkeScheduler

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

func (*GkeScheduler) DecideOnStatus

func (gke *GkeScheduler) DecideOnStatus(cluster scheduler.Cluster) error

func (*GkeScheduler) List

func (gke *GkeScheduler) List(ctx context.Context) ([]scheduler.Cluster, error)

func (*GkeScheduler) Restart

func (gke *GkeScheduler) Restart(ctx context.Context, cluster scheduler.Cluster) error

func (*GkeScheduler) Stop

func (gke *GkeScheduler) Stop(ctx context.Context, cluster scheduler.Cluster) error

Stop node pool: disable autoscaling and resize to 0

Jump to

Keyboard shortcuts

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