new

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const NewGroupRecommendedName = "new"

Variables

This section is empty.

Functions

func NewCmdNewGroup

func NewCmdNewGroup(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

Types

type NewGroupOptions

type NewGroupOptions struct {
	GroupClient usertypedclient.GroupInterface

	Group string
	Users []string

	Out     io.Writer
	Printer kprinters.ResourcePrinterFunc
}

func (*NewGroupOptions) AddGroup

func (o *NewGroupOptions) AddGroup() error

func (*NewGroupOptions) Complete

func (o *NewGroupOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

func (*NewGroupOptions) Validate

func (o *NewGroupOptions) Validate() error

Jump to

Keyboard shortcuts

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