capi

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAPIOptions

type CAPIOptions struct {
	// KubeConfigFile is the kubeconfig to connect to capi management cluster
	KubeConfigFile string
	// name of the cluster
	ClusterName      string
	ClusterNamespace string

	Enable bool
	// contains filtered or unexported fields
}

func NewCAPIOption

func NewCAPIOption(factory cmdutil.Factory) *CAPIOptions

func (*CAPIOptions) AddFlags

func (o *CAPIOptions) AddFlags(flags *pflag.FlagSet)

func (*CAPIOptions) Complete

func (o *CAPIOptions) Complete(cmd *cobra.Command, args []string) (err error)

func (*CAPIOptions) ToClientGetter

func (o *CAPIOptions) ToClientGetter() (genericclioptions.RESTClientGetter, error)

func (*CAPIOptions) Validate

func (o *CAPIOptions) Validate() error

Jump to

Keyboard shortcuts

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