gcloud

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterCredentials

func GetClusterCredentials(projectID string, cluster *Cluster)

GetClusterCredentials gets credentials for the given GCP cluster

func ProjectsList

func ProjectsList() []string

ProjectsList returns the list of google cloud projects

func SetDefaultProject added in v1.5.0

func SetDefaultProject(projectID string)

SetDefaultProject sets the default Project for the gcloud cli

func SetGcloudPath

func SetGcloudPath(path string)

SetGcloudPath sets the executable path to gcloud bin.

Types

type Cluster

type Cluster struct {
	Name     string
	Location string
}

Cluster structure

func ContainerClustersList

func ContainerClustersList(projectID string) []*Cluster

ContainerClustersList returns the list of GCP clusters

Jump to

Keyboard shortcuts

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