kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go

var roleBindingLong

var roleBindingExample

type RoleBindingOptions

// NewRoleBindingOptions creates a new *RoleBindingOptions with sane defaults
func NewRoleBindingOptions(ioStreams genericiooptions.IOStreams) *RoleBindingOptions {}

// NewCmdCreateRoleBinding returns an initialized Command instance for 'create rolebinding' sub command
func NewCmdCreateRoleBinding(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command {}

// Complete completes all the required options
func (o *RoleBindingOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error {}

// Validate validates required fields are set
func (o *RoleBindingOptions) Validate() error {}

// Run performs the execution of 'create rolebinding' sub command
func (o *RoleBindingOptions) Run() error {}

func (o *RoleBindingOptions) createRoleBinding() (*rbacv1.RoleBinding, error) {}