Documentation
¶
Index ¶
Constants ¶
View Source
const (
CanIRecommendedName = "can-i"
)
Variables ¶
This section is empty.
Functions ¶
func NewCmdCanI ¶
Types ¶
type CanIOptions ¶
type CanIOptions struct {
PrintFlags *genericclioptions.PrintFlags
ToPrinter func(string) (printers.ResourcePrinter, error)
NoHeaders bool
AllNamespaces bool
ListAll bool
Quiet bool
IgnoreScopes bool
User string
Groups []string
Scopes []string
Namespace string
AuthClient authorizationv1typedclient.AuthorizationV1Interface
Args []string
Verb string
Resource schema.GroupVersionResource
ResourceName string
genericclioptions.IOStreams
}
func NewCanIOptions ¶
func NewCanIOptions(streams genericclioptions.IOStreams) *CanIOptions
func (*CanIOptions) Run ¶
func (o *CanIOptions) Run() error
func (*CanIOptions) Validate ¶
func (o *CanIOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.