type CanIOptions …
var canILong …
var canIExample …
var resourceVerbs …
var nonResourceURLVerbs …
var nonStandardResourceNames …
func NewCmdCanI(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command { … }
func (o *CanIOptions) Complete(f cmdutil.Factory, args []string) error { … }
func (o *CanIOptions) Validate() error { … }
func (o *CanIOptions) RunAccessList() error { … }
func (o *CanIOptions) RunAccessCheck() (bool, error) { … }
func (o *CanIOptions) resourceFor(mapper meta.RESTMapper, resourceArg string) schema.GroupVersionResource { … }
func (o *CanIOptions) printStatus(status authorizationv1.SubjectRulesReviewStatus) error { … }
func convertToPolicyRule(status authorizationv1.SubjectRulesReviewStatus) []rbacv1.PolicyRule { … }
func printAccessHeaders(out io.Writer) error { … }
func printAccess(out io.Writer, rules []rbacv1.PolicyRule) error { … }
func isNamespaced(gvr schema.GroupVersionResource, discoveryClient discovery.DiscoveryInterface) (bool, error) { … }
func isKnownResourceVerb(s string) bool { … }
func isKnownNonResourceVerb(s string) bool { … }