auth

package
v3.11.0-0.9.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdPruneAuth

func NewCmdPruneAuth(f kcmdutil.Factory, name string, streams genericclioptions.IOStreams) *cobra.Command

NewCmdPruneRoles implements the OpenShift cli prune roles command.

Types

type PruneAuthOptions

type PruneAuthOptions struct {
	FilenameOptions resource.FilenameOptions
	Selector        string
	All             bool

	Builder                  *resource.Builder
	RoleBindingClient        rbacv1client.RoleBindingsGetter
	ClusterRoleBindingClient rbacv1client.ClusterRoleBindingsGetter

	// TODO switch these to external clients
	UserInternalClient          userclient.Interface
	AuthorizationInternalClient authclient.Interface
	OAuthInternalClient         oauthclient.Interface
	SCCClient                   securitytypedclient.SecurityInterface

	Out io.Writer
}

PruneRolesOptions holds all the required options for pruning roles.

func (*PruneAuthOptions) Complete

func (o *PruneAuthOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

func (*PruneAuthOptions) RunPrune

func (o *PruneAuthOptions) RunPrune() error

Jump to

Keyboard shortcuts

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