genericclioptions

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 2 Imported by: 19

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 ClusteradmFlags

type ClusteradmFlags struct {
	KubectlFactory cmdutil.Factory
	//if set the resources will be sent to stdout instead of being applied
	DryRun bool
}

func NewClusteradmFlags

func NewClusteradmFlags(f cmdutil.Factory) *ClusteradmFlags

NewClusteradmFlags returns ClusteradmFlags with default values set

func (*ClusteradmFlags) AddFlags

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

Jump to

Keyboard shortcuts

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