policy

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2015 License: Apache-2.0 Imports: 11 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

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