Documentation ¶
Index ¶
- Variables
- func NewUseCaseBase(name string, config *config.Config) useCaseBase
- type ClusterRenderData
- type IndexPageRenderData
- type UpdateKubeconfigUseCase
- type UseCase
- func NewAuthUsecase(configManager *config.ClientConfigManager, force, silent bool) UseCase
- func NewCreateAPITokenUsecase(configManager *config.ClientConfigManager, userId string, scopes []string, ...) UseCase
- func NewCreateClusterUseCase(config *config.Config, name, apiServerAddress string, caCertBundle []byte) UseCase
- func NewCreateRoleBindingUseCase(config *config.Config, mailAddresses []string, role, scope, resource string) UseCase
- func NewCreateTenantUseCase(config *config.Config, name, tenant string) UseCase
- func NewCreateUserUseCase(config *config.Config, username, mailaddress string) UseCase
- func NewDeleteClusterUseCase(config *config.Config, name string) UseCase
- func NewDeleteTenantUseCase(config *config.Config, name string) UseCase
- func NewDeleteUserRoleBindingUseCase(config *config.Config, id string) UseCase
- func NewDeleteUserUseCase(config *config.Config, email string) UseCase
- func NewGetAuditLogByUserUseCase(config *config.Config, outputOptions *output.OutputOptions, ...) UseCase
- func NewGetAuditLogUseCase(config *config.Config, outputOptions *output.OutputOptions, ...) UseCase
- func NewGetAuditLogUserActionsUseCase(config *config.Config, outputOptions *output.OutputOptions, ...) UseCase
- func NewGetAuditLogUsersOverviewUseCase(config *config.Config, outputOptions *output.OutputOptions, ...) UseCase
- func NewGetClusterAccessUseCase(config *config.Config, outputOptions *output.OutputOptions, ...) UseCase
- func NewGetClusterCredentialsUseCase(configManager *config.ClientConfigManager, clusterId, role string) UseCase
- func NewGetClustersUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
- func NewGetRoleBindingsUseCase(config *config.Config, email string, outputOptions *output.OutputOptions) UseCase
- func NewGetRolesUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
- func NewGetScopesUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
- func NewGetServerVersionUseCase(config *config.Config) UseCase
- func NewGetTenantUsersUseCase(config *config.Config, tenantName string, outputOptions *output.OutputOptions) UseCase
- func NewGetTenantsUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
- func NewGetUsersUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
- func NewGrantClusterAccessUseCase(config *config.Config, tenantName, clusterName string) UseCase
- func NewRevokeClusterAccessUseCase(config *config.Config, tenantName, clusterName string) UseCase
- func NewUpdateClusterUseCase(config *config.Config, name, newName, newApiServerAddress string, ...) UseCase
- func NewUpdateKubeconfigUseCase(configManager *config.ClientConfigManager, kubeConfigPath string, ...) UseCase
- func NewUpdateTenantUseCase(config *config.Config, currentName, newName string) UseCase
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLocalServerSuccessHTML string
DefaultLocalServerSuccessHTML is a default response body on authorization success.
Functions ¶
func NewUseCaseBase ¶
NewUseCaseBase returns a new basic use case implementation
Types ¶
type ClusterRenderData ¶
type ClusterRenderData struct { ApiServerAddress string M8Endpoint string Jwt string ClusterName string }
Prepare some data to insert into the template.
type IndexPageRenderData ¶
type UpdateKubeconfigUseCase ¶ added in v0.4.10
type UpdateKubeconfigUseCase struct {
// contains filtered or unexported fields
}
type UseCase ¶
type UseCase interface { // Run starts the execution of the behaviour of a use case Run(context.Context) error }
UseCase is the interface an UseCase must implement to be executable
func NewAuthUsecase ¶
func NewAuthUsecase(configManager *config.ClientConfigManager, force, silent bool) UseCase
func NewCreateAPITokenUsecase ¶ added in v0.1.2
func NewCreateClusterUseCase ¶
func NewCreateTenantUseCase ¶
func NewCreateUserUseCase ¶
func NewDeleteClusterUseCase ¶
func NewDeleteTenantUseCase ¶
func NewGetAuditLogByUserUseCase ¶ added in v0.3.8
func NewGetAuditLogByUserUseCase(config *config.Config, outputOptions *output.OutputOptions, auditLogOptions *output.AuditLogOptions, email string) UseCase
func NewGetAuditLogUseCase ¶ added in v0.1.6
func NewGetAuditLogUseCase(config *config.Config, outputOptions *output.OutputOptions, auditLogOptions *output.AuditLogOptions) UseCase
func NewGetAuditLogUserActionsUseCase ¶ added in v0.3.8
func NewGetAuditLogUserActionsUseCase(config *config.Config, outputOptions *output.OutputOptions, auditLogOptions *output.AuditLogOptions, email string) UseCase
func NewGetAuditLogUsersOverviewUseCase ¶ added in v0.3.8
func NewGetClusterAccessUseCase ¶ added in v0.1.1
func NewGetClusterCredentialsUseCase ¶
func NewGetClusterCredentialsUseCase(configManager *config.ClientConfigManager, clusterId, role string) UseCase
func NewGetClustersUseCase ¶
func NewGetClustersUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
func NewGetRolesUseCase ¶
func NewGetRolesUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
func NewGetScopesUseCase ¶
func NewGetScopesUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
func NewGetTenantsUseCase ¶
func NewGetTenantsUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
func NewGetUsersUseCase ¶
func NewGetUsersUseCase(config *config.Config, outputOptions *output.OutputOptions) UseCase
func NewGrantClusterAccessUseCase ¶ added in v0.1.1
func NewRevokeClusterAccessUseCase ¶ added in v0.1.1
func NewUpdateClusterUseCase ¶
func NewUpdateKubeconfigUseCase ¶ added in v0.4.10
func NewUpdateKubeconfigUseCase(configManager *config.ClientConfigManager, kubeConfigPath string, overwrite bool) UseCase
Source Files ¶
- auth.go
- create_api_token.go
- create_cluster.go
- create_rolebinding.go
- create_tenant.go
- create_user.go
- delete_cluster.go
- delete_rolebinding.go
- delete_tenant.go
- delete_user.go
- get_audit_by_user.go
- get_audit_log.go
- get_audit_log_user_actions.go
- get_audit_log_users_overview.go
- get_cluster_access.go
- get_cluster_credentials.go
- get_clusters.go
- get_rolebindings.go
- get_roles.go
- get_scopes.go
- get_server_version.go
- get_tenant_users.go
- get_tenants.go
- get_users.go
- grant_cluster_access.go
- revoke_cluster_access.go
- update_cluster.go
- update_kubeconfig.go
- update_tenant.go
- usecase.go
Click to show internal directories.
Click to hide internal directories.