{"modulePath":"github.phpd.cn/openshift/origin","version":"v3.6.1+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package groups\n\n## Constants\n\n```go\nconst (\n\tAddRecommendedName    = \"add-users\"\n\tRemoveRecommendedName = \"remove-users\"\n)\n```\n\n```go\nconst GroupsRecommendedName = \"groups\"\n```\n\n```go\nconst NewGroupRecommendedName = \"new\"\n```\n\n## Functions\n\n```go\nfunc NewCmdAddUsers(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\n\n```go\nfunc NewCmdGroups(name, fullName string, f *clientcmd.Factory, out, errOut io.Writer) *cobra.Command\n```\n\n```go\nfunc NewCmdNewGroup(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\n\n```go\nfunc NewCmdRemoveUsers(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command\n```\n\n## Types\n\n```go\ntype GroupModificationOptions struct {\n\tGroupClient client.GroupInterface\n\n\tGroup string\n\tUsers []string\n}\n```\n\n```go\nfunc (o *GroupModificationOptions) AddUsers() error\n```\n\n```go\nfunc (o *GroupModificationOptions) Complete(f *clientcmd.Factory, args []string) error\n```\n\n```go\nfunc (o *GroupModificationOptions) RemoveUsers() error\n```\n\n```go\ntype NewGroupOptions struct {\n\tGroupClient client.GroupInterface\n\n\tGroup string\n\tUsers []string\n\n\tOut     io.Writer\n\tPrinter kprinters.ResourcePrinterFunc\n}\n```\n\n```go\nfunc (o *NewGroupOptions) AddGroup() error\n```\n\n```go\nfunc (o *NewGroupOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, args []string) error\n```\n\n```go\nfunc (o *NewGroupOptions) Validate() error\n```\n\n","path":"github.phpd.cn/openshift/origin/pkg/cmd/admin/groups","name":"groups","synopsis":"","isRedistributable":true}
