groups

package
v3.6.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 NewCmdAddUsers(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

func NewCmdGroups

func NewCmdGroups(name, fullName string, f *clientcmd.Factory, out, errOut io.Writer) *cobra.Command

func NewCmdNewGroup

func NewCmdNewGroup(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

func NewCmdRemoveUsers

func NewCmdRemoveUsers(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

Types

type GroupModificationOptions

type GroupModificationOptions struct {
	GroupClient client.GroupInterface

	Group string
	Users []string
}

func (*GroupModificationOptions) AddUsers

func (o *GroupModificationOptions) AddUsers() error

func (*GroupModificationOptions) Complete

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

func (*GroupModificationOptions) RemoveUsers

func (o *GroupModificationOptions) RemoveUsers() error

type NewGroupOptions

type NewGroupOptions struct {
	GroupClient client.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 *clientcmd.Factory, cmd *cobra.Command, args []string) error

func (*NewGroupOptions) Validate added in v1.4.0

func (o *NewGroupOptions) Validate() error

Directories

Path Synopsis
ad
cli

Jump to

Keyboard shortcuts

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