Documentation ¶
Index ¶
- Constants
- func NewCmdAddUsers(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 AddUsersOptions
- type GroupModificationOptions
- type RemoveUsersOptions
Constants ¶
View Source
const AddRecommendedName = "add-users"
View Source
const RemoveRecommendedName = "remove-users"
Variables ¶
This section is empty.
Functions ¶
func NewCmdAddUsers ¶
func NewCmdRemoveUsers ¶
Types ¶
type AddUsersOptions ¶
type AddUsersOptions struct {
GroupModificationOptions *GroupModificationOptions
}
func (*AddUsersOptions) Run ¶
func (o *AddUsersOptions) Run() error
type GroupModificationOptions ¶
type GroupModificationOptions struct { PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) GroupClient userv1typedclient.GroupsGetter Group string Users []string DryRun bool genericclioptions.IOStreams }
func NewGroupModificationOptions ¶
func NewGroupModificationOptions(streams genericclioptions.IOStreams) *GroupModificationOptions
type RemoveUsersOptions ¶
type RemoveUsersOptions struct {
GroupModificationOptions *GroupModificationOptions
}
func (*RemoveUsersOptions) Run ¶
func (o *RemoveUsersOptions) Run() error
Click to show internal directories.
Click to hide internal directories.