groups

package
v3.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AddRecommendedName    = "add-users"
	RemoveRecommendedName = "remove-users"
)
View Source
const GroupsRecommendedName = "groups"

Variables

This section is empty.

Functions

func NewCmdAddUsers

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

func NewCmdGroups

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

func NewCmdRemoveUsers

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

Types

type GroupModificationOptions

type GroupModificationOptions struct {
	GroupClient usertypedclient.GroupInterface

	Group string
	Users []string
}

func (*GroupModificationOptions) AddUsers

func (o *GroupModificationOptions) AddUsers() error

func (*GroupModificationOptions) Complete

func (o *GroupModificationOptions) Complete(f kcmdutil.Factory, args []string) error

func (*GroupModificationOptions) RemoveUsers

func (o *GroupModificationOptions) RemoveUsers() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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