bootstrapkubeconfig

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(configAccess clientcmd.ConfigAccess, streams genericclioptions.IOStreams) *cobra.Command

func Run

func Run(opts Options) error

Types

type Flags

type Flags struct {
	Filename     string
	NoFlatten    bool
	ConfigAccess clientcmd.ConfigAccess
	genericclioptions.IOStreams
}

func NewFlags

func NewFlags(configAccess clientcmd.ConfigAccess, streams genericclioptions.IOStreams) *Flags

func (*Flags) AddFlags

func (f *Flags) AddFlags(cmd *cobra.Command)

func (*Flags) ToOptions

func (f *Flags) ToOptions() (*Options, error)

type Options

type Options struct {
	Filename     string
	ConfigAccess clientcmd.ConfigAccess
	Context      string
	genericclioptions.IOStreams
	NoFlatten bool
}

Jump to

Keyboard shortcuts

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