Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Event emitted when a User has been created CreateUser es.CommandType = "CreateUser" // Command to delete a User DeleteUser es.CommandType = "DeleteUser" // Command to update a User UpdateUser es.CommandType = "UpdateUser" // Command to create a new UserRoleBinding CreateUserRoleBinding es.CommandType = "CreateUserRoleBinding" // Command to delete a UserRoleBinding DeleteUserRoleBinding es.CommandType = "DeleteUserRoleBinding" // Event emitted when a Tenant has been created CreateTenant es.CommandType = "CreateTenant" // Command to update a Tenant UpdateTenant es.CommandType = "UpdateTenant" // Command to delete a Tenant DeleteTenant es.CommandType = "DeleteTenant" // Command to create a Cluster CreateCluster es.CommandType = "CreateCluster" // Command to delete a Cluster DeleteCluster es.CommandType = "DeleteCluster" // Command to update a Cluster UpdateCluster es.CommandType = "UpdateCluster" // Command to request a certificate RequestCertificate es.CommandType = "RequestCertificate" // Command to allow a tenant to access a certain cluster CreateTenantClusterBinding es.CommandType = "CreateTenantClusterBinding" // Command to remove access of a tenant to a certain cluster DeleteTenantClusterBinding es.CommandType = "DeleteTenantClusterBinding" )
Variables ¶
View Source
var ( UserCommands = []es.CommandType{ CreateUser, DeleteUser, UpdateUser, } UserRoleBindingCommands = []es.CommandType{ CreateUserRoleBinding, DeleteUserRoleBinding, } TenantCommands = []es.CommandType{ CreateTenant, UpdateTenant, DeleteTenant, } ClusterCommands = []es.CommandType{ CreateCluster, DeleteCluster, UpdateCluster, } TenantClusterBindingCommands = []es.CommandType{ CreateTenantClusterBinding, DeleteTenantClusterBinding, } CertificateCommands = []es.CommandType{ RequestCertificate, } CommandTypes = map[string][]es.CommandType{ "User": UserCommands, "UserRoleBinding": UserRoleBindingCommands, "Tenant": TenantCommands, "Cluster": ClusterCommands, "TenantClusterBinding": TenantClusterBindingCommands, "Certificate": CertificateCommands, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.