gcp

package
v0.0.0-...-75e52f3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package gcp helps in initializing client for GCP.

Package gcp helps in Performing the certain operation on GKE of google cloud

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetClusterInput

type GetClusterInput struct {
	ClusterName string
	ProjectID   string
	Regions     []string
	JSONPath    string
}

GetClusterInput holds the required values to fetch the cluster details

func (GetClusterInput) GetCluster

func (i GetClusterInput) GetCluster() (*container.Cluster, error)

GetCluster gets the details of specific kube cluster along with its other details This is region specific, mind the region you pass to it.

func (GetClusterInput) GetClusters

func (i GetClusterInput) GetClusters() ([]*container.Cluster, error)

GetClusters gets the list of kube clusters along with its other details This is region specific, mind the region you pass to it.

Jump to

Keyboard shortcuts

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