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