kubeconfig

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const Description string = `` /* 475-byte string literal not displayed */

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand() *cobra.Command

NewCreateCommand returns a command which can render kubeconfigs for HostedCluster resources.

func Render added in v0.1.10

func Render(ctx context.Context, namespace string, name string) error

Render builds the kubeconfig and prints it to stdout.

Types

type NamedConfig

type NamedConfig struct {
	*clientcmdapiv1.Config
	Name string
}

NamedConfig adds a name to a Config.

Jump to

Keyboard shortcuts

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