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 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 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
- type CreateClusterCommand
- type CreateTenantCommand
- type CreateUserCommand
- type CreateUserRoleBindingCommand
- type DeleteClusterCommand
- type DeleteTenantCommand
- type DeleteUserCommand
- type DeleteUserRoleBindingCommand
- type RequestCertificateCommand
- type UpdateClusterCommand
- type UpdateTenantCommand
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 NewCreateTenantCommand ¶
NewCreateTenantCommand creates a CreateTenantCommand.
func NewDeleteClusterCommand ¶
NewDeleteClusterCommand creates a DeleteClusterCommand.
func NewDeleteTenantCommand ¶
NewDeleteTenantCommand creates a DeleteTenantCommand.
func NewDeleteUserCommand ¶
NewDeleteUserCommand creates a DeleteUserCommand.
func NewRequestCertificateCommand ¶
NewRequestCertificateCommand creates a RequestCertificateCommand.
func NewUpdateClusterCommand ¶
NewUpdateClusterCommand creates an UpdateClusterCommand.
Types ¶
type CreateClusterCommand ¶
type CreateClusterCommand struct { *es.BaseCommand cmdData.CreateCluster }
CreateClusterCommand is a command for creating 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 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.