gke

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SetNodePoolSize = "SET_NODE_POOL_SIZE"

	Done    = "DONE"
	Running = "RUNNING"
)

Variables

This section is empty.

Functions

func GetCluster

func GetCluster(project, location, name string) (*apis.Cluster, error)

func ListClusters

func ListClusters(project string) ([]*apis.Cluster, error)

func PauseCluster

func PauseCluster(cluster *apis.Cluster, dryRun bool) error

func RefreshCluster

func RefreshCluster(cluster *apis.Cluster, recreate bool) error

func UnpauseCluster

func UnpauseCluster(cluster *apis.Cluster) error

Types

type Operation added in v0.1.2

type Operation struct {
	Name          string `json:"name,omitempty"`
	OperationType string `json:"operation_type,omitempty"`
	StartTime     string `json:"start_time,omitempty"`
	EndTime       string `json:"end_time,omitempty"`
	TargetLink    string `json:"target_link,omitempty"`
	Zone          string `json:"zone,omitempty"`
	Status        string `json:"status,omitempty"`
}

type OperationFilter added in v0.1.2

type OperationFilter struct {
	Status        string
	OperationType string
}

Jump to

Keyboard shortcuts

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