kubeconfig

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand() *cobra.Command

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

Types

type NamedConfig

type NamedConfig struct {
	*clientcmdapiv1.Config
	Name string
}

NamedConfig adds a name to a Config.

type Options

type Options struct {
	Namespace string
	Name      string
}

func (Options) Validate

func (o Options) Validate() error

Jump to

Keyboard shortcuts

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