Documentation ¶
Index ¶
- func NewCloneGroupCommand() *cobra.Command
- func NewCreateGroupCommand() *cobra.Command
- func NewCreateServiceAccountCommand() *cobra.Command
- func NewCreateUserCommand() *cobra.Command
- func NewDeleteGroupCommand() *cobra.Command
- func NewDeleteServiceAccountCommand() *cobra.Command
- func NewDeleteUserCommand() *cobra.Command
- func NewGetGroupCommand() *cobra.Command
- func NewGetServiceAccountCommand() *cobra.Command
- func NewGetUserCommand() *cobra.Command
- func NewGroupsCommand() *cobra.Command
- func NewPasswordUserCommand() *cobra.Command
- func NewRevokeServiceAccountCommand() *cobra.Command
- func NewServiceAccountsCommand() *cobra.Command
- func NewUpdateGroupCommand() *cobra.Command
- func NewUpdateServiceAccountCommand() *cobra.Command
- func NewUpdateUserCommand() *cobra.Command
- func NewUsersCommand() *cobra.Command
- type GroupView
- type TokenView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCloneGroupCommand ¶
NewCloneGroupCommand clones a group
func NewCreateGroupCommand ¶
NewCreateGroupCommand creates a new group
func NewCreateServiceAccountCommand ¶
NewCreateServiceAccountCommand creates`serviceaccounts create`
func NewCreateUserCommand ¶
NewCreateUserCommand creates a new user
func NewDeleteGroupCommand ¶
NewDeleteGroupCommand creates a new group
func NewDeleteServiceAccountCommand ¶
NewDeleteServiceAccountCommand creates `serviceaccounts delete`
func NewDeleteUserCommand ¶
NewDeleteUserCommand deletes a new user
func NewGetGroupCommand ¶
NewGetGroupCommand creates `groups get`
func NewGetServiceAccountCommand ¶
NewGetServiceAccountCommand creates `serviceaccounts get`
func NewGetUserCommand ¶
NewGetUserCommand creates `groups get`
func NewGroupsCommand ¶
NewGroupsCommand creates the `groups` command
func NewPasswordUserCommand ¶
NewPasswordUserCommand updates user password
func NewRevokeServiceAccountCommand ¶
NewRevokeServiceAccountCommand creates `serviceaccounts revoke`
func NewServiceAccountsCommand ¶
NewServiceAccountsCommand creates the `groups` command
func NewUpdateGroupCommand ¶
NewUpdateGroupCommand creates a new group
func NewUpdateServiceAccountCommand ¶
NewUpdateServiceAccountCommand creates`serviceaccounts update`
func NewUpdateUserCommand ¶
NewUpdateUserCommand creates a new user
func NewUsersCommand ¶
NewUsersCommand creates the `groups` command
Types ¶
type GroupView ¶
type GroupView struct { Name string `json:"name" yaml:"name" header:"name"` Namespaces []api.Namespace `json:"namespaces,omitempty" yaml:"namespaces" header:"Namespaces,count"` ScopedPermissions []string `json:"scopedPermissions" yaml:"scopedPermissions" header:"Scoped Permissions"` AdminPermissions []string `json:"adminPermissions" yaml:"adminPermissions" header:"Admin Permissions"` UserAccountsCount int `json:"userAccounts" yaml:"userAccounts" header:"User Accounts"` ServiceAccountsCount int `json:"serviceAccounts" yaml:"serviceAccounts" header:"Service Accounts"` ConnectClustersPermissions []string `json:"connectClustersPermissions" yaml:"connectClustersPermissions" header:"Connect clusters access"` }
GroupView the view model for group to be printed
func PrintGroup ¶
PrintGroup returns a group for table printing