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) RunPrune ¶
func (o *PruneAuthOptions) RunPrune() error
Click to show internal directories.
Click to hide internal directories.