gcloud

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 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 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