Documentation
¶
Index ¶
Constants ¶
View Source
const CreateKubeConfigCommandName = "create-kubeconfig"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateKubeConfigOptions ¶
type CreateKubeConfigOptions struct {
APIServerURL string
PublicAPIServerURL string
APIServerCAFiles []string
CertFile string
KeyFile string
ContextNamespace string
KubeConfigFile string
genericclioptions.IOStreams
}
func NewCreateKubeConfigOptions ¶
func NewCreateKubeConfigOptions(streams genericclioptions.IOStreams) *CreateKubeConfigOptions
func (CreateKubeConfigOptions) CreateKubeConfig ¶
func (o CreateKubeConfigOptions) CreateKubeConfig() (*clientcmdapi.Config, error)
func (CreateKubeConfigOptions) Validate ¶
func (o CreateKubeConfigOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.