Documentation ¶
Index ¶
- Constants
- func NewCmdAddUsers(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdGroups(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdNewGroup(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdRemoveUsers(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- type GroupModificationOptions
- type NewGroupOptions
Constants ¶
View Source
const ( AddRecommendedName = "add-users" RemoveRecommendedName = "remove-users" )
View Source
const GroupsRecommendedName = "groups"
View Source
const NewGroupRecommendedName = "new"
Variables ¶
This section is empty.
Functions ¶
func NewCmdAddUsers ¶
func NewCmdGroups ¶
func NewCmdNewGroup ¶
func NewCmdRemoveUsers ¶
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
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) Validate ¶
func (o *NewGroupOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.