var roleLong …
var roleExample …
var validResourceVerbs …
var specialVerbs …
func AddSpecialVerb(verb string, gr schema.GroupResource) { … }
type ResourceOptions …
type CreateRoleOptions …
func NewCreateRoleOptions(ioStreams genericiooptions.IOStreams) *CreateRoleOptions { … }
func NewCmdCreateRole(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command { … }
func (o *CreateRoleOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error { … }
func (o *CreateRoleOptions) Validate() error { … }
func (o *CreateRoleOptions) validateResource() error { … }
func (o *CreateRoleOptions) RunCreateRole() error { … }
func arrayContains(s []string, e string) bool { … }
func generateResourcePolicyRules(mapper meta.RESTMapper, verbs []string, resources []ResourceOptions, resourceNames []string, nonResourceURLs []string) ([]rbacv1.PolicyRule, error) { … }