Documentation ¶
Overview ¶
Package gke contains functions to interact with Google Kubernetes Engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCluster ¶
GetCluster returns a Kubernetes client for the given named cluster.
Types ¶
type ClusterURL ¶
ClusterURL represents a GKE cluster URL of the format: "projects/$MYPROJECT/locations/$CONTINENT-$LOCATION/clusters/$CLUSTER"
func NewClusterURL ¶
func NewClusterURL(url string) (ClusterURL, error)
NewClusterURL parses the cluster URL.
func (ClusterURL) String ¶
func (c ClusterURL) String() string
String returns the cluster URL string.
Click to show internal directories.
Click to hide internal directories.