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 UserClient userv1client.UserV1Interface AuthorizationClient authv1client.AuthorizationV1Interface OAuthClient oauthv1client.OauthV1Interface SecurityClient securityv1client.SecurityV1Interface genericclioptions.IOStreams }
PruneRolesOptions holds all the required options for pruning roles.
func NewPruneAuthOptions ¶
func NewPruneAuthOptions(streams genericclioptions.IOStreams) *PruneAuthOptions
func (*PruneAuthOptions) RunPrune ¶
func (o *PruneAuthOptions) RunPrune() error
Click to show internal directories.
Click to hide internal directories.