Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterAuthzRoleCmd ¶ added in v1.1.0
func NewClusterAuthzRoleCmd(f client.NewClientFunc) *cobra.Command
Types ¶
type ClusterAuthzRole ¶
type ClusterAuthzRole struct {
// contains filtered or unexported fields
}
ClusterAuthzRole implements authz cluster role operations
func New ¶
func New(c client.Interface) *ClusterAuthzRole
New creates a new authz cluster role implementation
func (*ClusterAuthzRole) Delete ¶
func (c *ClusterAuthzRole) Delete(params DeleteParams) error
Delete deletes a single authz cluster role
func (*ClusterAuthzRole) Get ¶
func (c *ClusterAuthzRole) Get(params GetParams) error
Get retrieves a single authz cluster role and outputs it as YAML
func (*ClusterAuthzRole) List ¶
func (c *ClusterAuthzRole) List() error
List lists all cluster-scoped authorization roles
type DeleteParams ¶
type DeleteParams struct {
Name string
}
DeleteParams defines parameters for deleting a single authz cluster role
Click to show internal directories.
Click to hide internal directories.