policy

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2015 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAddGroup

func NewCmdAddGroup(f *clientcmd.Factory) *cobra.Command

func NewCmdAddUser

func NewCmdAddUser(f *clientcmd.Factory) *cobra.Command

func NewCmdRemoveGroup

func NewCmdRemoveGroup(f *clientcmd.Factory) *cobra.Command

func NewCmdRemoveGroupFromProject

func NewCmdRemoveGroupFromProject(f *clientcmd.Factory) *cobra.Command

func NewCmdRemoveUser

func NewCmdRemoveUser(f *clientcmd.Factory) *cobra.Command

func NewCmdRemoveUserFromProject

func NewCmdRemoveUserFromProject(f *clientcmd.Factory) *cobra.Command

func NewCmdWhoCan

func NewCmdWhoCan(f *clientcmd.Factory) *cobra.Command

func NewCommandPolicy

func NewCommandPolicy(f *clientcmd.Factory, parentName, name string) *cobra.Command

Types

type AddUserOptions added in v0.3.3

type AddUserOptions struct {
	RoleNamespace    string
	RoleName         string
	BindingNamespace string
	Client           client.Interface

	Users []string
}

func (*AddUserOptions) Run added in v0.3.3

func (o *AddUserOptions) Run() error

type RemoveGroupOptions added in v0.3.3

type RemoveGroupOptions struct {
	RoleNamespace    string
	RoleName         string
	BindingNamespace string
	Client           client.Interface

	Groups []string
}

func (*RemoveGroupOptions) Run added in v0.3.3

func (o *RemoveGroupOptions) Run() error

Jump to

Keyboard shortcuts

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