Documentation
¶
Index ¶
- type EpinioCLI
- func (e *EpinioCLI) CreateRole(ctx context.Context, id, name string, isDefault bool, actions []string, ...) error
- func (e *EpinioCLI) CreateUser(ctx context.Context, username, password string, namespaces, roles []string, ...) error
- func (e *EpinioCLI) DescribeRoles(ctx context.Context, ids []string) error
- func (e *EpinioCLI) DescribeUsers(ctx context.Context, usernames []string) error
- func (e *EpinioCLI) EditUser(ctx context.Context, username string) error
- func (e *EpinioCLI) GetRoles(ctx context.Context, names []string) error
- func (e *EpinioCLI) GetUsers(ctx context.Context, usernames []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EpinioCLI ¶
type EpinioCLI struct {
KubeClient *epinio.KubeClient
}
EpinioCLI handles the CLI commands, calling the Kubernetes API and handling the display
func NewEpinioCLI ¶
func NewEpinioCLI(kubeClient kubernetes.Interface) (e *EpinioCLI)
func (*EpinioCLI) CreateRole ¶
func (*EpinioCLI) CreateUser ¶
func (*EpinioCLI) DescribeRoles ¶
func (*EpinioCLI) DescribeUsers ¶
Click to show internal directories.
Click to hide internal directories.