Documentation ¶ Overview ¶ Package kubectl contains functions to interact with Kubernetes clusters controlled using kubectl configurations. Index ¶ func NewCluster(contextName string) (*cluster.Cluster, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewCluster ¶ func NewCluster(contextName string) (*cluster.Cluster, error) NewCluster creates a new cluster client for the given context name and using the kubectl config defined in the KUBECONFIG environment variable. If the context name is empty, the default ("current") context is used. Types ¶ This section is empty. Source Files ¶ View all Source files kubectl.go Click to show internal directories. Click to hide internal directories.