Versions in this module Expand all Collapse all v0 v0.0.4 Jul 9, 2022 Changes in this version + const OperationTenantServiceCreateTenant + const OperationTenantServiceDeleteTenant + const OperationTenantServiceGetCurrentTenant + const OperationTenantServiceGetTenant + const OperationTenantServiceGetTenantPublic + const OperationTenantServiceListTenant + const OperationTenantServiceUpdateTenant + var ErrorReason_name = map[int32]string + var ErrorReason_value = map[string]int32 + var File_saas_api_tenant_v1_error_reason_proto protoreflect.FileDescriptor + var File_saas_api_tenant_v1_tenant_proto protoreflect.FileDescriptor + var TenantInternalService_ServiceDesc = grpc.ServiceDesc + var TenantService_ServiceDesc = grpc.ServiceDesc + func ErrorAdminEmailInvalid(format string, args ...interface{}) *errors.Error + func ErrorAdminEmailInvalidLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error + func ErrorAdminIdentityRequired(format string, args ...interface{}) *errors.Error + func ErrorAdminIdentityRequiredLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error + func ErrorAdminPasswordRequired(format string, args ...interface{}) *errors.Error + func ErrorAdminPasswordRequiredLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error + func ErrorAdminUsernameInvalid(format string, args ...interface{}) *errors.Error + func ErrorAdminUsernameInvalidLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error + func ErrorDuplicateTenantName(format string, args ...interface{}) *errors.Error + func ErrorDuplicateTenantNameLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error + func ErrorTenantForbidden(format string, args ...interface{}) *errors.Error + func ErrorTenantForbiddenLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error + func ErrorTenantNotFound(format string, args ...interface{}) *errors.Error + func ErrorTenantNotFoundLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error + func ErrorTenantNotReady(format string, args ...interface{}) *errors.Error + func ErrorTenantNotReadyLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error + func IsAdminEmailInvalid(err error) bool + func IsAdminIdentityRequired(err error) bool + func IsAdminPasswordRequired(err error) bool + func IsAdminUsernameInvalid(err error) bool + func IsDuplicateTenantName(err error) bool + func IsTenantForbidden(err error) bool + func IsTenantNotFound(err error) bool + func IsTenantNotReady(err error) bool + func RegisterTenantInternalServiceServer(s grpc.ServiceRegistrar, srv TenantInternalServiceServer) + func RegisterTenantServiceHTTPServer(s *http.Server, srv TenantServiceHTTPServer) + func RegisterTenantServiceServer(s grpc.ServiceRegistrar, srv TenantServiceServer) + type CreateTenantRequest struct + AdminEmail *wrapperspb.StringValue + AdminPassword *wrapperspb.StringValue + AdminUsername *wrapperspb.StringValue + DisplayName string + Logo string + Name string + Region string + SeparateDb bool + func (*CreateTenantRequest) Descriptor() ([]byte, []int) + func (*CreateTenantRequest) ProtoMessage() + func (m *CreateTenantRequest) Validate() error + func (m *CreateTenantRequest) ValidateAll() error + func (x *CreateTenantRequest) GetAdminEmail() *wrapperspb.StringValue + func (x *CreateTenantRequest) GetAdminPassword() *wrapperspb.StringValue + func (x *CreateTenantRequest) GetAdminUsername() *wrapperspb.StringValue + func (x *CreateTenantRequest) GetDisplayName() string + func (x *CreateTenantRequest) GetLogo() string + func (x *CreateTenantRequest) GetName() string + func (x *CreateTenantRequest) GetRegion() string + func (x *CreateTenantRequest) GetSeparateDb() bool + func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message + func (x *CreateTenantRequest) Reset() + func (x *CreateTenantRequest) String() string + type CreateTenantRequestMultiError []error + func (m CreateTenantRequestMultiError) AllErrors() []error + func (m CreateTenantRequestMultiError) Error() string + type CreateTenantRequestValidationError struct + func (e CreateTenantRequestValidationError) Cause() error + func (e CreateTenantRequestValidationError) Error() string + func (e CreateTenantRequestValidationError) ErrorName() string + func (e CreateTenantRequestValidationError) Field() string + func (e CreateTenantRequestValidationError) Key() bool + func (e CreateTenantRequestValidationError) Reason() string + type DeleteTenantReply struct + Id string + func (*DeleteTenantReply) Descriptor() ([]byte, []int) + func (*DeleteTenantReply) ProtoMessage() + func (m *DeleteTenantReply) Validate() error + func (m *DeleteTenantReply) ValidateAll() error + func (x *DeleteTenantReply) GetId() string + func (x *DeleteTenantReply) ProtoReflect() protoreflect.Message + func (x *DeleteTenantReply) Reset() + func (x *DeleteTenantReply) String() string + type DeleteTenantReplyMultiError []error + func (m DeleteTenantReplyMultiError) AllErrors() []error + func (m DeleteTenantReplyMultiError) Error() string + type DeleteTenantReplyValidationError struct + func (e DeleteTenantReplyValidationError) Cause() error + func (e DeleteTenantReplyValidationError) Error() string + func (e DeleteTenantReplyValidationError) ErrorName() string + func (e DeleteTenantReplyValidationError) Field() string + func (e DeleteTenantReplyValidationError) Key() bool + func (e DeleteTenantReplyValidationError) Reason() string + type DeleteTenantRequest struct + Id string + func (*DeleteTenantRequest) Descriptor() ([]byte, []int) + func (*DeleteTenantRequest) ProtoMessage() + func (m *DeleteTenantRequest) Validate() error + func (m *DeleteTenantRequest) ValidateAll() error + func (x *DeleteTenantRequest) GetId() string + func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message + func (x *DeleteTenantRequest) Reset() + func (x *DeleteTenantRequest) String() string + type DeleteTenantRequestMultiError []error + func (m DeleteTenantRequestMultiError) AllErrors() []error + func (m DeleteTenantRequestMultiError) Error() string + type DeleteTenantRequestValidationError struct + func (e DeleteTenantRequestValidationError) Cause() error + func (e DeleteTenantRequestValidationError) Error() string + func (e DeleteTenantRequestValidationError) ErrorName() string + func (e DeleteTenantRequestValidationError) Field() string + func (e DeleteTenantRequestValidationError) Key() bool + func (e DeleteTenantRequestValidationError) Reason() string + type ErrorReason int32 + const ErrorReason_ADMIN_EMAIL_INVALID + const ErrorReason_ADMIN_IDENTITY_REQUIRED + const ErrorReason_ADMIN_PASSWORD_REQUIRED + const ErrorReason_ADMIN_USERNAME_INVALID + const ErrorReason_DUPLICATE_TENANT_NAME + const ErrorReason_TENANT_FORBIDDEN + const ErrorReason_TENANT_NOT_FOUND + const ErrorReason_TENANT_NOT_READY + func (ErrorReason) Descriptor() protoreflect.EnumDescriptor + func (ErrorReason) EnumDescriptor() ([]byte, []int) + func (ErrorReason) Type() protoreflect.EnumType + func (x ErrorReason) Enum() *ErrorReason + func (x ErrorReason) Number() protoreflect.EnumNumber + func (x ErrorReason) String() string + type GetCurrentTenantReply struct + IsHost bool + Tenant *TenantInfo + func (*GetCurrentTenantReply) Descriptor() ([]byte, []int) + func (*GetCurrentTenantReply) ProtoMessage() + func (m *GetCurrentTenantReply) Validate() error + func (m *GetCurrentTenantReply) ValidateAll() error + func (x *GetCurrentTenantReply) GetIsHost() bool + func (x *GetCurrentTenantReply) GetTenant() *TenantInfo + func (x *GetCurrentTenantReply) ProtoReflect() protoreflect.Message + func (x *GetCurrentTenantReply) Reset() + func (x *GetCurrentTenantReply) String() string + type GetCurrentTenantReplyMultiError []error + func (m GetCurrentTenantReplyMultiError) AllErrors() []error + func (m GetCurrentTenantReplyMultiError) Error() string + type GetCurrentTenantReplyValidationError struct + func (e GetCurrentTenantReplyValidationError) Cause() error + func (e GetCurrentTenantReplyValidationError) Error() string + func (e GetCurrentTenantReplyValidationError) ErrorName() string + func (e GetCurrentTenantReplyValidationError) Field() string + func (e GetCurrentTenantReplyValidationError) Key() bool + func (e GetCurrentTenantReplyValidationError) Reason() string + type GetCurrentTenantRequest struct + func (*GetCurrentTenantRequest) Descriptor() ([]byte, []int) + func (*GetCurrentTenantRequest) ProtoMessage() + func (m *GetCurrentTenantRequest) Validate() error + func (m *GetCurrentTenantRequest) ValidateAll() error + func (x *GetCurrentTenantRequest) ProtoReflect() protoreflect.Message + func (x *GetCurrentTenantRequest) Reset() + func (x *GetCurrentTenantRequest) String() string + type GetCurrentTenantRequestMultiError []error + func (m GetCurrentTenantRequestMultiError) AllErrors() []error + func (m GetCurrentTenantRequestMultiError) Error() string + type GetCurrentTenantRequestValidationError struct + func (e GetCurrentTenantRequestValidationError) Cause() error + func (e GetCurrentTenantRequestValidationError) Error() string + func (e GetCurrentTenantRequestValidationError) ErrorName() string + func (e GetCurrentTenantRequestValidationError) Field() string + func (e GetCurrentTenantRequestValidationError) Key() bool + func (e GetCurrentTenantRequestValidationError) Reason() string + type GetTenantPublicRequest struct + IdOrName string + func (*GetTenantPublicRequest) Descriptor() ([]byte, []int) + func (*GetTenantPublicRequest) ProtoMessage() + func (m *GetTenantPublicRequest) Validate() error + func (m *GetTenantPublicRequest) ValidateAll() error + func (x *GetTenantPublicRequest) GetIdOrName() string + func (x *GetTenantPublicRequest) ProtoReflect() protoreflect.Message + func (x *GetTenantPublicRequest) Reset() + func (x *GetTenantPublicRequest) String() string + type GetTenantPublicRequestMultiError []error + func (m GetTenantPublicRequestMultiError) AllErrors() []error + func (m GetTenantPublicRequestMultiError) Error() string + type GetTenantPublicRequestValidationError struct + func (e GetTenantPublicRequestValidationError) Cause() error + func (e GetTenantPublicRequestValidationError) Error() string + func (e GetTenantPublicRequestValidationError) ErrorName() string + func (e GetTenantPublicRequestValidationError) Field() string + func (e GetTenantPublicRequestValidationError) Key() bool + func (e GetTenantPublicRequestValidationError) Reason() string + type GetTenantRequest struct + IdOrName string + func (*GetTenantRequest) Descriptor() ([]byte, []int) + func (*GetTenantRequest) ProtoMessage() + func (m *GetTenantRequest) Validate() error + func (m *GetTenantRequest) ValidateAll() error + func (x *GetTenantRequest) GetIdOrName() string + func (x *GetTenantRequest) ProtoReflect() protoreflect.Message + func (x *GetTenantRequest) Reset() + func (x *GetTenantRequest) String() string + type GetTenantRequestMultiError []error + func (m GetTenantRequestMultiError) AllErrors() []error + func (m GetTenantRequestMultiError) Error() string + type GetTenantRequestValidationError struct + func (e GetTenantRequestValidationError) Cause() error + func (e GetTenantRequestValidationError) Error() string + func (e GetTenantRequestValidationError) ErrorName() string + func (e GetTenantRequestValidationError) Field() string + func (e GetTenantRequestValidationError) Key() bool + func (e GetTenantRequestValidationError) Reason() string + type ListTenantReply struct + FilterSize int32 + Items []*Tenant + TotalSize int32 + func (*ListTenantReply) Descriptor() ([]byte, []int) + func (*ListTenantReply) ProtoMessage() + func (m *ListTenantReply) Validate() error + func (m *ListTenantReply) ValidateAll() error + func (x *ListTenantReply) GetFilterSize() int32 + func (x *ListTenantReply) GetItems() []*Tenant + func (x *ListTenantReply) GetTotalSize() int32 + func (x *ListTenantReply) ProtoReflect() protoreflect.Message + func (x *ListTenantReply) Reset() + func (x *ListTenantReply) String() string + type ListTenantReplyMultiError []error + func (m ListTenantReplyMultiError) AllErrors() []error + func (m ListTenantReplyMultiError) Error() string + type ListTenantReplyValidationError struct + func (e ListTenantReplyValidationError) Cause() error + func (e ListTenantReplyValidationError) Error() string + func (e ListTenantReplyValidationError) ErrorName() string + func (e ListTenantReplyValidationError) Field() string + func (e ListTenantReplyValidationError) Key() bool + func (e ListTenantReplyValidationError) Reason() string + type ListTenantRequest struct + Fields *fieldmaskpb.FieldMask + Filter *TenantFilter + PageOffset int32 + PageSize int32 + Search string + Sort []string + func (*ListTenantRequest) Descriptor() ([]byte, []int) + func (*ListTenantRequest) ProtoMessage() + func (m *ListTenantRequest) Validate() error + func (m *ListTenantRequest) ValidateAll() error + func (x *ListTenantRequest) GetFields() *fieldmaskpb.FieldMask + func (x *ListTenantRequest) GetFilter() *TenantFilter + func (x *ListTenantRequest) GetPageOffset() int32 + func (x *ListTenantRequest) GetPageSize() int32 + func (x *ListTenantRequest) GetSearch() string + func (x *ListTenantRequest) GetSort() []string + func (x *ListTenantRequest) ProtoReflect() protoreflect.Message + func (x *ListTenantRequest) Reset() + func (x *ListTenantRequest) String() string + type ListTenantRequestMultiError []error + func (m ListTenantRequestMultiError) AllErrors() []error + func (m ListTenantRequestMultiError) Error() string + type ListTenantRequestValidationError struct + func (e ListTenantRequestValidationError) Cause() error + func (e ListTenantRequestValidationError) Error() string + func (e ListTenantRequestValidationError) ErrorName() string + func (e ListTenantRequestValidationError) Field() string + func (e ListTenantRequestValidationError) Key() bool + func (e ListTenantRequestValidationError) Reason() string + type Tenant struct + Conn []*TenantConnectionString + CreatedAt *timestamppb.Timestamp + DisplayName string + Features []*TenantFeature + Host string + Id string + Logo *blob.BlobFile + Name string + Region string + SeparateDb bool + UpdatedAt *timestamppb.Timestamp + func (*Tenant) Descriptor() ([]byte, []int) + func (*Tenant) ProtoMessage() + func (m *Tenant) Validate() error + func (m *Tenant) ValidateAll() error + func (x *Tenant) GetConn() []*TenantConnectionString + func (x *Tenant) GetCreatedAt() *timestamppb.Timestamp + func (x *Tenant) GetDisplayName() string + func (x *Tenant) GetFeatures() []*TenantFeature + func (x *Tenant) GetHost() string + func (x *Tenant) GetId() string + func (x *Tenant) GetLogo() *blob.BlobFile + func (x *Tenant) GetName() string + func (x *Tenant) GetRegion() string + func (x *Tenant) GetSeparateDb() bool + func (x *Tenant) GetUpdatedAt() *timestamppb.Timestamp + func (x *Tenant) NormalizeHost(ctx context.Context, app *conf.AppConfig) + func (x *Tenant) ProtoReflect() protoreflect.Message + func (x *Tenant) Reset() + func (x *Tenant) String() string + func (x *Tenant) ToTenantInfo() *TenantInfo + type TenantConnectionString struct + Key string + Value string + func (*TenantConnectionString) Descriptor() ([]byte, []int) + func (*TenantConnectionString) ProtoMessage() + func (m *TenantConnectionString) Validate() error + func (m *TenantConnectionString) ValidateAll() error + func (x *TenantConnectionString) GetKey() string + func (x *TenantConnectionString) GetValue() string + func (x *TenantConnectionString) ProtoReflect() protoreflect.Message + func (x *TenantConnectionString) Reset() + func (x *TenantConnectionString) String() string + type TenantConnectionStringMultiError []error + func (m TenantConnectionStringMultiError) AllErrors() []error + func (m TenantConnectionStringMultiError) Error() string + type TenantConnectionStringValidationError struct + func (e TenantConnectionStringValidationError) Cause() error + func (e TenantConnectionStringValidationError) Error() string + func (e TenantConnectionStringValidationError) ErrorName() string + func (e TenantConnectionStringValidationError) Field() string + func (e TenantConnectionStringValidationError) Key() bool + func (e TenantConnectionStringValidationError) Reason() string + type TenantFeature struct + Key string + Value string + func (*TenantFeature) Descriptor() ([]byte, []int) + func (*TenantFeature) ProtoMessage() + func (m *TenantFeature) Validate() error + func (m *TenantFeature) ValidateAll() error + func (x *TenantFeature) GetKey() string + func (x *TenantFeature) GetValue() string + func (x *TenantFeature) ProtoReflect() protoreflect.Message + func (x *TenantFeature) Reset() + func (x *TenantFeature) String() string + type TenantFeatureMultiError []error + func (m TenantFeatureMultiError) AllErrors() []error + func (m TenantFeatureMultiError) Error() string + type TenantFeatureValidationError struct + func (e TenantFeatureValidationError) Cause() error + func (e TenantFeatureValidationError) Error() string + func (e TenantFeatureValidationError) ErrorName() string + func (e TenantFeatureValidationError) Field() string + func (e TenantFeatureValidationError) Key() bool + func (e TenantFeatureValidationError) Reason() string + type TenantFilter struct + Id *query.StringFilterOperation + Name *query.StringFilterOperation + Region *query.StringFilterOperation + func (*TenantFilter) Descriptor() ([]byte, []int) + func (*TenantFilter) ProtoMessage() + func (m *TenantFilter) Validate() error + func (m *TenantFilter) ValidateAll() error + func (x *TenantFilter) GetId() *query.StringFilterOperation + func (x *TenantFilter) GetName() *query.StringFilterOperation + func (x *TenantFilter) GetRegion() *query.StringFilterOperation + func (x *TenantFilter) ProtoReflect() protoreflect.Message + func (x *TenantFilter) Reset() + func (x *TenantFilter) String() string + type TenantFilterMultiError []error + func (m TenantFilterMultiError) AllErrors() []error + func (m TenantFilterMultiError) Error() string + type TenantFilterValidationError struct + func (e TenantFilterValidationError) Cause() error + func (e TenantFilterValidationError) Error() string + func (e TenantFilterValidationError) ErrorName() string + func (e TenantFilterValidationError) Field() string + func (e TenantFilterValidationError) Key() bool + func (e TenantFilterValidationError) Reason() string + type TenantInfo struct + DisplayName string + Host string + Id string + Logo *blob.BlobFile + Name string + Region string + func (*TenantInfo) Descriptor() ([]byte, []int) + func (*TenantInfo) ProtoMessage() + func (m *TenantInfo) Validate() error + func (m *TenantInfo) ValidateAll() error + func (x *TenantInfo) GetDisplayName() string + func (x *TenantInfo) GetHost() string + func (x *TenantInfo) GetId() string + func (x *TenantInfo) GetLogo() *blob.BlobFile + func (x *TenantInfo) GetName() string + func (x *TenantInfo) GetRegion() string + func (x *TenantInfo) NormalizeHost(ctx context.Context, app *conf.AppConfig) + func (x *TenantInfo) ProtoReflect() protoreflect.Message + func (x *TenantInfo) Reset() + func (x *TenantInfo) String() string + type TenantInfoMultiError []error + func (m TenantInfoMultiError) AllErrors() []error + func (m TenantInfoMultiError) Error() string + type TenantInfoValidationError struct + func (e TenantInfoValidationError) Cause() error + func (e TenantInfoValidationError) Error() string + func (e TenantInfoValidationError) ErrorName() string + func (e TenantInfoValidationError) Field() string + func (e TenantInfoValidationError) Key() bool + func (e TenantInfoValidationError) Reason() string + type TenantInternalServiceClient interface + GetTenant func(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error) + func NewTenantInternalServiceClient(cc grpc.ClientConnInterface) TenantInternalServiceClient + type TenantInternalServiceServer interface + GetTenant func(context.Context, *GetTenantRequest) (*Tenant, error) + func NewTenantInternalServiceClientProxy(cc TenantInternalServiceClient) TenantInternalServiceServer + type TenantMultiError []error + func (m TenantMultiError) AllErrors() []error + func (m TenantMultiError) Error() string + type TenantServiceClient interface + CreateTenant func(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*Tenant, error) + DeleteTenant func(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*DeleteTenantReply, error) + GetCurrentTenant func(ctx context.Context, in *GetCurrentTenantRequest, opts ...grpc.CallOption) (*GetCurrentTenantReply, error) + GetTenant func(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error) + GetTenantPublic func(ctx context.Context, in *GetTenantPublicRequest, opts ...grpc.CallOption) (*TenantInfo, error) + ListTenant func(ctx context.Context, in *ListTenantRequest, opts ...grpc.CallOption) (*ListTenantReply, error) + UpdateTenant func(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*Tenant, error) + func NewTenantServiceClient(cc grpc.ClientConnInterface) TenantServiceClient + type TenantServiceHTTPClient interface + CreateTenant func(ctx context.Context, req *CreateTenantRequest, opts ...http.CallOption) (rsp *Tenant, err error) + DeleteTenant func(ctx context.Context, req *DeleteTenantRequest, opts ...http.CallOption) (rsp *DeleteTenantReply, err error) + GetCurrentTenant func(ctx context.Context, req *GetCurrentTenantRequest, opts ...http.CallOption) (rsp *GetCurrentTenantReply, err error) + GetTenant func(ctx context.Context, req *GetTenantRequest, opts ...http.CallOption) (rsp *Tenant, err error) + GetTenantPublic func(ctx context.Context, req *GetTenantPublicRequest, opts ...http.CallOption) (rsp *TenantInfo, err error) + ListTenant func(ctx context.Context, req *ListTenantRequest, opts ...http.CallOption) (rsp *ListTenantReply, err error) + UpdateTenant func(ctx context.Context, req *UpdateTenantRequest, opts ...http.CallOption) (rsp *Tenant, err error) + func NewTenantServiceHTTPClient(client *http.Client) TenantServiceHTTPClient + type TenantServiceHTTPClientImpl struct + func (c *TenantServiceHTTPClientImpl) CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...http.CallOption) (*Tenant, error) + func (c *TenantServiceHTTPClientImpl) DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...http.CallOption) (*DeleteTenantReply, error) + func (c *TenantServiceHTTPClientImpl) GetCurrentTenant(ctx context.Context, in *GetCurrentTenantRequest, opts ...http.CallOption) (*GetCurrentTenantReply, error) + func (c *TenantServiceHTTPClientImpl) GetTenant(ctx context.Context, in *GetTenantRequest, opts ...http.CallOption) (*Tenant, error) + func (c *TenantServiceHTTPClientImpl) GetTenantPublic(ctx context.Context, in *GetTenantPublicRequest, opts ...http.CallOption) (*TenantInfo, error) + func (c *TenantServiceHTTPClientImpl) ListTenant(ctx context.Context, in *ListTenantRequest, opts ...http.CallOption) (*ListTenantReply, error) + func (c *TenantServiceHTTPClientImpl) UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...http.CallOption) (*Tenant, error) + type TenantServiceHTTPServer interface + CreateTenant func(context.Context, *CreateTenantRequest) (*Tenant, error) + DeleteTenant func(context.Context, *DeleteTenantRequest) (*DeleteTenantReply, error) + GetCurrentTenant func(context.Context, *GetCurrentTenantRequest) (*GetCurrentTenantReply, error) + GetTenant func(context.Context, *GetTenantRequest) (*Tenant, error) + GetTenantPublic func(context.Context, *GetTenantPublicRequest) (*TenantInfo, error) + ListTenant func(context.Context, *ListTenantRequest) (*ListTenantReply, error) + UpdateTenant func(context.Context, *UpdateTenantRequest) (*Tenant, error) + type TenantServiceServer interface + CreateTenant func(context.Context, *CreateTenantRequest) (*Tenant, error) + DeleteTenant func(context.Context, *DeleteTenantRequest) (*DeleteTenantReply, error) + GetCurrentTenant func(context.Context, *GetCurrentTenantRequest) (*GetCurrentTenantReply, error) + GetTenant func(context.Context, *GetTenantRequest) (*Tenant, error) + GetTenantPublic func(context.Context, *GetTenantPublicRequest) (*TenantInfo, error) + ListTenant func(context.Context, *ListTenantRequest) (*ListTenantReply, error) + UpdateTenant func(context.Context, *UpdateTenantRequest) (*Tenant, error) + func NewTenantServiceClientProxy(cc TenantServiceClient) TenantServiceServer + type TenantValidationError struct + func (e TenantValidationError) Cause() error + func (e TenantValidationError) Error() string + func (e TenantValidationError) ErrorName() string + func (e TenantValidationError) Field() string + func (e TenantValidationError) Key() bool + func (e TenantValidationError) Reason() string + type UnimplementedTenantInternalServiceServer struct + func (UnimplementedTenantInternalServiceServer) GetTenant(context.Context, *GetTenantRequest) (*Tenant, error) + type UnimplementedTenantServiceServer struct + func (UnimplementedTenantServiceServer) CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error) + func (UnimplementedTenantServiceServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantReply, error) + func (UnimplementedTenantServiceServer) GetCurrentTenant(context.Context, *GetCurrentTenantRequest) (*GetCurrentTenantReply, error) + func (UnimplementedTenantServiceServer) GetTenant(context.Context, *GetTenantRequest) (*Tenant, error) + func (UnimplementedTenantServiceServer) GetTenantPublic(context.Context, *GetTenantPublicRequest) (*TenantInfo, error) + func (UnimplementedTenantServiceServer) ListTenant(context.Context, *ListTenantRequest) (*ListTenantReply, error) + func (UnimplementedTenantServiceServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error) + type UnsafeTenantInternalServiceServer interface + type UnsafeTenantServiceServer interface + type UpdateTenant struct + Conn []*TenantConnectionString + DisplayName string + Features []*TenantFeature + Id string + Logo string + Name string + func (*UpdateTenant) Descriptor() ([]byte, []int) + func (*UpdateTenant) ProtoMessage() + func (m *UpdateTenant) Validate() error + func (m *UpdateTenant) ValidateAll() error + func (x *UpdateTenant) GetConn() []*TenantConnectionString + func (x *UpdateTenant) GetDisplayName() string + func (x *UpdateTenant) GetFeatures() []*TenantFeature + func (x *UpdateTenant) GetId() string + func (x *UpdateTenant) GetLogo() string + func (x *UpdateTenant) GetName() string + func (x *UpdateTenant) ProtoReflect() protoreflect.Message + func (x *UpdateTenant) Reset() + func (x *UpdateTenant) String() string + type UpdateTenantMultiError []error + func (m UpdateTenantMultiError) AllErrors() []error + func (m UpdateTenantMultiError) Error() string + type UpdateTenantRequest struct + Tenant *UpdateTenant + UpdateMask *fieldmaskpb.FieldMask + func (*UpdateTenantRequest) Descriptor() ([]byte, []int) + func (*UpdateTenantRequest) ProtoMessage() + func (m *UpdateTenantRequest) Validate() error + func (m *UpdateTenantRequest) ValidateAll() error + func (x *UpdateTenantRequest) GetTenant() *UpdateTenant + func (x *UpdateTenantRequest) GetUpdateMask() *fieldmaskpb.FieldMask + func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message + func (x *UpdateTenantRequest) Reset() + func (x *UpdateTenantRequest) String() string + type UpdateTenantRequestMultiError []error + func (m UpdateTenantRequestMultiError) AllErrors() []error + func (m UpdateTenantRequestMultiError) Error() string + type UpdateTenantRequestValidationError struct + func (e UpdateTenantRequestValidationError) Cause() error + func (e UpdateTenantRequestValidationError) Error() string + func (e UpdateTenantRequestValidationError) ErrorName() string + func (e UpdateTenantRequestValidationError) Field() string + func (e UpdateTenantRequestValidationError) Key() bool + func (e UpdateTenantRequestValidationError) Reason() string + type UpdateTenantValidationError struct + func (e UpdateTenantValidationError) Cause() error + func (e UpdateTenantValidationError) Error() string + func (e UpdateTenantValidationError) ErrorName() string + func (e UpdateTenantValidationError) Field() string + func (e UpdateTenantValidationError) Key() bool + func (e UpdateTenantValidationError) Reason() string