genericclioptions

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: Apache-2.0 Imports: 2 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 CMFlags

type CMFlags struct {
	KubectlFactory cmdutil.Factory
	//if set the resources will be sent to stdout instead of being applied
	DryRun bool
	//Accept beta cmd
	Beta bool
	//Namespace where the server (RHACM/MCE) is installed)
	ServerNamespace string
	//if set cm will not check if the server (RHACM/MCE) is installed
	SkipServerCheck bool
}

func NewCMFlags

func NewCMFlags(f cmdutil.Factory) *CMFlags

NewClusteradmFlags returns CMFlags with default values set

func (*CMFlags) AddFlags

func (f *CMFlags) AddFlags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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