Documentation ¶
Index ¶
- func AddCommandData(command *esApi.Command, commandData protoreflect.ProtoMessage) (*esApi.Command, error)
- func CreateCommand(aggregateId uuid.UUID, commandType es.CommandType) *esApi.Command
- func CreateCommandData(commandData protoreflect.ProtoMessage) (*anypb.Any, error)
- func NewCreateClusterCommand(id uuid.UUID) es.Command
- func NewCreateTenantClusterBindingCommand(id uuid.UUID) es.Command
- func NewCreateTenantCommand(id uuid.UUID) es.Command
- func NewCreateUserCommand(id uuid.UUID) es.Command
- func NewCreateUserRoleBindingCommand(id uuid.UUID) es.Command
- func NewDeleteClusterCommand(id uuid.UUID) es.Command
- func NewDeleteTenantClusterBindingCommand(id uuid.UUID) es.Command
- func NewDeleteTenantCommand(id uuid.UUID) es.Command
- func NewDeleteUserCommand(id uuid.UUID) es.Command
- func NewDeleteUserRoleBindingCommand(id uuid.UUID) es.Command
- func NewRequestCertificateCommand(id uuid.UUID) es.Command
- func NewUpdateClusterCommand(id uuid.UUID) es.Command
- func NewUpdateTenantCommand(id uuid.UUID) es.Command
- func NewUpdateUserCommand(id uuid.UUID) es.Command
- type CreateClusterCommand
- type CreateTenantClusterBindingCommand
- type CreateTenantCommand
- type CreateUserCommand
- type CreateUserRoleBindingCommand
- type DeleteClusterCommand
- type DeleteTenantClusterBindingCommand
- type DeleteTenantCommand
- type DeleteUserCommand
- type DeleteUserRoleBindingCommand
- type RequestCertificateCommand
- type UpdateClusterCommand
- type UpdateTenantCommand
- type UpdateUserCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommandData ¶
func AddCommandData(command *esApi.Command, commandData protoreflect.ProtoMessage) (*esApi.Command, error)
func CreateCommand ¶
CreateCommand builds up a new proto command with the given type and data.
func CreateCommandData ¶
func CreateCommandData(commandData protoreflect.ProtoMessage) (*anypb.Any, error)
func NewCreateClusterCommand ¶
NewCreateClusterCommand creates a CreateClusterCommand.
func NewCreateTenantClusterBindingCommand ¶ added in v0.3.0
func NewCreateTenantCommand ¶
NewCreateTenantCommand creates a CreateTenantCommand.
func NewDeleteClusterCommand ¶
NewDeleteClusterCommand creates a DeleteClusterCommand.
func NewDeleteTenantClusterBindingCommand ¶ added in v0.3.0
NewDeleteTenantClusterBindingCommand creates a DeleteTenantClusterBindingCommand.
func NewDeleteTenantCommand ¶
NewDeleteTenantCommand creates a DeleteTenantCommand.
func NewDeleteUserCommand ¶
NewDeleteUserCommand creates a DeleteUserCommand.
func NewRequestCertificateCommand ¶
NewRequestCertificateCommand creates a RequestCertificateCommand.
func NewUpdateClusterCommand ¶
NewUpdateClusterCommand creates an UpdateClusterCommand.
func NewUpdateTenantCommand ¶
NewUpdateTenantCommand creates an UpdateTenantCommand.
Types ¶
type CreateClusterCommand ¶
type CreateClusterCommand struct { *es.BaseCommand cmdData.CreateCluster }
CreateClusterCommand is a command for creating a cluster.
type CreateTenantClusterBindingCommand ¶ added in v0.3.0
type CreateTenantClusterBindingCommand struct { *es.BaseCommand cmdData.CreateTenantClusterBindingCommandData }
CreateTenantClusterBindingCommand is a command for giving a tenant access to a cluster.
type CreateTenantCommand ¶
type CreateTenantCommand struct { *es.BaseCommand cmdData.CreateTenantCommandData }
CreateTenantCommand is a command for creating a tenant.
type CreateUserCommand ¶
type CreateUserCommand struct { *es.BaseCommand cmdData.CreateUserCommandData }
CreateUserCommand is a command for creating a user.
type CreateUserRoleBindingCommand ¶
type CreateUserRoleBindingCommand struct { *es.BaseCommand cmdData.CreateUserRoleBindingCommandData }
CreateUserRoleBindingCommand is a command for adding a role to a user.
type DeleteClusterCommand ¶
type DeleteClusterCommand struct {
*es.BaseCommand
}
DeleteClusterCommand is a command for deleting a cluster.
type DeleteTenantClusterBindingCommand ¶ added in v0.3.0
type DeleteTenantClusterBindingCommand struct {
*es.BaseCommand
}
DeleteTenantClusterBindingCommand is a command for deleting a TenantClusterBinding.
type DeleteTenantCommand ¶
type DeleteTenantCommand struct {
*es.BaseCommand
}
DeleteTenantCommand is a command for deleting a tenant.
type DeleteUserCommand ¶
type DeleteUserCommand struct {
*es.BaseCommand
}
DeleteUserCommand is a command for deleting a user.
type DeleteUserRoleBindingCommand ¶
type DeleteUserRoleBindingCommand struct {
*es.BaseCommand
}
DeleteUserRoleBindingCommand is a command for removing a role from a user.
type RequestCertificateCommand ¶
type RequestCertificateCommand struct { *es.BaseCommand cmdData.RequestCertificate }
RequestCertificateCommand is a command for requesting a certificate for a given aggregate.
type UpdateClusterCommand ¶
type UpdateClusterCommand struct { *es.BaseCommand cmdData.UpdateCluster }
UpdateClusterCommand is a command for updating a cluster.
type UpdateTenantCommand ¶
type UpdateTenantCommand struct { *es.BaseCommand cmdData.UpdateTenantCommandData }
UpdateTenantCommand is a command for updating a tenant.
type UpdateUserCommand ¶ added in v0.3.0
type UpdateUserCommand struct { *es.BaseCommand cmdData.UpdateUserCommandData }
UpdateUserCommand is a command for updating a user.
Source Files ¶
- api_command_factory.go
- create_cluster.go
- create_tenant.go
- create_tenant_cluster_binding.go
- create_user.go
- create_user_role_binding.go
- delete_cluster.go
- delete_tenant.go
- delete_tenant_cluster_binding.go
- delete_user.go
- delete_user_role_binding.go
- request_certificate.go
- update_cluster.go
- update_tenant.go
- update_user.go