package auth
import "k8s.io/kubernetes/pkg/kubectl/cmd/auth"
Index ¶
- func NewCmdAuth(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command
- func NewCmdCanI(f cmdutil.Factory, out, err io.Writer) *cobra.Command
- func NewCmdReconcile(f cmdutil.Factory, out, err io.Writer) *cobra.Command
- type CanIOptions
- func (o *CanIOptions) Complete(f cmdutil.Factory, args []string) error
- func (o *CanIOptions) RunAccessCheck() (bool, error)
- func (o *CanIOptions) Validate() error
- type ReconcileOptions
Functions ¶
func NewCmdAuth ¶
func NewCmdCanI ¶
func NewCmdReconcile ¶
Types ¶
type CanIOptions ¶
type CanIOptions struct { AllNamespaces bool Quiet bool Namespace string SelfSARClient internalauthorizationclient.SelfSubjectAccessReviewsGetter Verb string Resource schema.GroupVersionResource NonResourceURL string Subresource string ResourceName string Out io.Writer Err io.Writer }
CanIOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*CanIOptions) Complete ¶
func (o *CanIOptions) Complete(f cmdutil.Factory, args []string) error
func (*CanIOptions) RunAccessCheck ¶
func (o *CanIOptions) RunAccessCheck() (bool, error)
func (*CanIOptions) Validate ¶
func (o *CanIOptions) Validate() error
type ReconcileOptions ¶
type ReconcileOptions struct { Visitor resource.Visitor RBACClient internalrbacclient.RbacInterface NamespaceClient internalcoreclient.NamespaceInterface Print func(*resource.Info) error Out io.Writer Err io.Writer }
ReconcileOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func (*ReconcileOptions) Complete ¶
func (o *ReconcileOptions) Complete(cmd *cobra.Command, f cmdutil.Factory, args []string, options *resource.FilenameOptions) error
func (*ReconcileOptions) RunReconcile ¶
func (o *ReconcileOptions) RunReconcile() error
func (*ReconcileOptions) Validate ¶
func (o *ReconcileOptions) Validate() error
Source Files ¶
auth.go cani.go reconcile.go
- Version
- v1.10.10
- Published
- Nov 8, 2018
- Platform
- js/wasm
- Imports
- 19 packages
- Last checked
- 1 minute ago –
Tools for package owners.