genericclioptions

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Copyright Red Hat

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplierFlags

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

func NewApplierFlags

func NewApplierFlags(f cmdutil.Factory) *ApplierFlags

NewApplierFlags returns ApplierFlags with default values set

func (*ApplierFlags) AddFlags

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

placeHolder to add generic flags for the applier Dryrun and Timeout options are not used in all commands (ie:render)

Jump to

Keyboard shortcuts

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