kubectl

package
v0.0.0-...-e6e1ecb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 1

Documentation

Overview

Package kubectl contains functions to interact with Kubernetes clusters controlled using kubectl configurations.

Index

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.

Jump to

Keyboard shortcuts

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