Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTenantHTTPServer(s *http.Server, srv TenantHTTPServer)
- func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)
- type CreateTenantReply
- func (*CreateTenantReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantReply) GetId() uint32
- func (*CreateTenantReply) ProtoMessage()
- func (x *CreateTenantReply) ProtoReflect() protoreflect.Message
- func (x *CreateTenantReply) Reset()
- func (x *CreateTenantReply) String() string
- func (m *CreateTenantReply) Validate() error
- func (m *CreateTenantReply) ValidateAll() error
- type CreateTenantReplyMultiError
- type CreateTenantReplyValidationError
- func (e CreateTenantReplyValidationError) Cause() error
- func (e CreateTenantReplyValidationError) Error() string
- func (e CreateTenantReplyValidationError) ErrorName() string
- func (e CreateTenantReplyValidationError) Field() string
- func (e CreateTenantReplyValidationError) Key() bool
- func (e CreateTenantReplyValidationError) Reason() string
- type CreateTenantRequest
- func (*CreateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantRequest) GetDescription() string
- func (x *CreateTenantRequest) GetKeyword() string
- func (x *CreateTenantRequest) GetLogo() string
- func (x *CreateTenantRequest) GetName() string
- func (x *CreateTenantRequest) GetSetting() *TenantSetting
- func (x *CreateTenantRequest) GetWeight() uint32
- func (*CreateTenantRequest) ProtoMessage()
- func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTenantRequest) Reset()
- func (x *CreateTenantRequest) String() string
- func (m *CreateTenantRequest) Validate() error
- func (m *CreateTenantRequest) ValidateAll() error
- type CreateTenantRequestMultiError
- type CreateTenantRequestValidationError
- 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
- func (*DeleteTenantReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTenantReply) ProtoMessage()
- func (x *DeleteTenantReply) ProtoReflect() protoreflect.Message
- func (x *DeleteTenantReply) Reset()
- func (x *DeleteTenantReply) String() string
- func (m *DeleteTenantReply) Validate() error
- func (m *DeleteTenantReply) ValidateAll() error
- type DeleteTenantReplyMultiError
- type DeleteTenantReplyValidationError
- 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
- func (*DeleteTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTenantRequest) GetId() uint32
- func (*DeleteTenantRequest) ProtoMessage()
- func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTenantRequest) Reset()
- func (x *DeleteTenantRequest) String() string
- func (m *DeleteTenantRequest) Validate() error
- func (m *DeleteTenantRequest) ValidateAll() error
- type DeleteTenantRequestMultiError
- type DeleteTenantRequestValidationError
- 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 GetTenantReply
- func (*GetTenantReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTenantReply) GetCreatedAt() uint32
- func (x *GetTenantReply) GetDescription() string
- func (x *GetTenantReply) GetId() uint32
- func (x *GetTenantReply) GetKeyword() string
- func (x *GetTenantReply) GetLogo() string
- func (x *GetTenantReply) GetName() string
- func (x *GetTenantReply) GetSetting() *TenantSetting
- func (x *GetTenantReply) GetStatus() bool
- func (x *GetTenantReply) GetUpdatedAt() uint32
- func (x *GetTenantReply) GetWeight() uint32
- func (*GetTenantReply) ProtoMessage()
- func (x *GetTenantReply) ProtoReflect() protoreflect.Message
- func (x *GetTenantReply) Reset()
- func (x *GetTenantReply) String() string
- func (m *GetTenantReply) Validate() error
- func (m *GetTenantReply) ValidateAll() error
- type GetTenantReplyMultiError
- type GetTenantReplyValidationError
- func (e GetTenantReplyValidationError) Cause() error
- func (e GetTenantReplyValidationError) Error() string
- func (e GetTenantReplyValidationError) ErrorName() string
- func (e GetTenantReplyValidationError) Field() string
- func (e GetTenantReplyValidationError) Key() bool
- func (e GetTenantReplyValidationError) Reason() string
- type GetTenantRequest
- func (*GetTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTenantRequest) GetId() uint32
- func (x *GetTenantRequest) GetKeyword() string
- func (m *GetTenantRequest) GetParam() isGetTenantRequest_Param
- func (*GetTenantRequest) ProtoMessage()
- func (x *GetTenantRequest) ProtoReflect() protoreflect.Message
- func (x *GetTenantRequest) Reset()
- func (x *GetTenantRequest) String() string
- func (m *GetTenantRequest) Validate() error
- func (m *GetTenantRequest) ValidateAll() error
- type GetTenantRequestMultiError
- type GetTenantRequestValidationError
- 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 GetTenantRequest_Id
- type GetTenantRequest_Keyword
- type ListAppTenantReply
- func (*ListAppTenantReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppTenantReply) GetList() []*ListAppTenantReply_Data
- func (*ListAppTenantReply) ProtoMessage()
- func (x *ListAppTenantReply) ProtoReflect() protoreflect.Message
- func (x *ListAppTenantReply) Reset()
- func (x *ListAppTenantReply) String() string
- func (m *ListAppTenantReply) Validate() error
- func (m *ListAppTenantReply) ValidateAll() error
- type ListAppTenantReplyMultiError
- type ListAppTenantReplyValidationError
- func (e ListAppTenantReplyValidationError) Cause() error
- func (e ListAppTenantReplyValidationError) Error() string
- func (e ListAppTenantReplyValidationError) ErrorName() string
- func (e ListAppTenantReplyValidationError) Field() string
- func (e ListAppTenantReplyValidationError) Key() bool
- func (e ListAppTenantReplyValidationError) Reason() string
- type ListAppTenantReply_Data
- func (*ListAppTenantReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppTenantReply_Data) GetId() uint32
- func (x *ListAppTenantReply_Data) GetKeyword() string
- func (x *ListAppTenantReply_Data) GetLogo() string
- func (x *ListAppTenantReply_Data) GetName() string
- func (*ListAppTenantReply_Data) ProtoMessage()
- func (x *ListAppTenantReply_Data) ProtoReflect() protoreflect.Message
- func (x *ListAppTenantReply_Data) Reset()
- func (x *ListAppTenantReply_Data) String() string
- func (m *ListAppTenantReply_Data) Validate() error
- func (m *ListAppTenantReply_Data) ValidateAll() error
- type ListAppTenantReply_DataMultiError
- type ListAppTenantReply_DataValidationError
- func (e ListAppTenantReply_DataValidationError) Cause() error
- func (e ListAppTenantReply_DataValidationError) Error() string
- func (e ListAppTenantReply_DataValidationError) ErrorName() string
- func (e ListAppTenantReply_DataValidationError) Field() string
- func (e ListAppTenantReply_DataValidationError) Key() bool
- func (e ListAppTenantReply_DataValidationError) Reason() string
- type ListAppTenantRequest
- func (*ListAppTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppTenantRequest) GetApp() string
- func (*ListAppTenantRequest) ProtoMessage()
- func (x *ListAppTenantRequest) ProtoReflect() protoreflect.Message
- func (x *ListAppTenantRequest) Reset()
- func (x *ListAppTenantRequest) String() string
- func (m *ListAppTenantRequest) Validate() error
- func (m *ListAppTenantRequest) ValidateAll() error
- type ListAppTenantRequestMultiError
- type ListAppTenantRequestValidationError
- func (e ListAppTenantRequestValidationError) Cause() error
- func (e ListAppTenantRequestValidationError) Error() string
- func (e ListAppTenantRequestValidationError) ErrorName() string
- func (e ListAppTenantRequestValidationError) Field() string
- func (e ListAppTenantRequestValidationError) Key() bool
- func (e ListAppTenantRequestValidationError) Reason() string
- type ListTenantReply
- func (*ListTenantReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantReply) GetList() []*ListTenantReply_Data
- func (x *ListTenantReply) GetTotal() uint32
- func (*ListTenantReply) ProtoMessage()
- func (x *ListTenantReply) ProtoReflect() protoreflect.Message
- func (x *ListTenantReply) Reset()
- func (x *ListTenantReply) String() string
- func (m *ListTenantReply) Validate() error
- func (m *ListTenantReply) ValidateAll() error
- type ListTenantReplyMultiError
- type ListTenantReplyValidationError
- 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 ListTenantReply_Data
- func (*ListTenantReply_Data) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantReply_Data) GetCreatedAt() uint32
- func (x *ListTenantReply_Data) GetDescription() string
- func (x *ListTenantReply_Data) GetId() uint32
- func (x *ListTenantReply_Data) GetKeyword() string
- func (x *ListTenantReply_Data) GetLogo() string
- func (x *ListTenantReply_Data) GetName() string
- func (x *ListTenantReply_Data) GetStatus() bool
- func (x *ListTenantReply_Data) GetUpdatedAt() uint32
- func (x *ListTenantReply_Data) GetWeight() uint32
- func (*ListTenantReply_Data) ProtoMessage()
- func (x *ListTenantReply_Data) ProtoReflect() protoreflect.Message
- func (x *ListTenantReply_Data) Reset()
- func (x *ListTenantReply_Data) String() string
- func (m *ListTenantReply_Data) Validate() error
- func (m *ListTenantReply_Data) ValidateAll() error
- type ListTenantReply_DataMultiError
- type ListTenantReply_DataValidationError
- func (e ListTenantReply_DataValidationError) Cause() error
- func (e ListTenantReply_DataValidationError) Error() string
- func (e ListTenantReply_DataValidationError) ErrorName() string
- func (e ListTenantReply_DataValidationError) Field() string
- func (e ListTenantReply_DataValidationError) Key() bool
- func (e ListTenantReply_DataValidationError) Reason() string
- type ListTenantRequest
- func (*ListTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantRequest) GetApp() string
- func (x *ListTenantRequest) GetKeyword() string
- func (x *ListTenantRequest) GetName() string
- func (x *ListTenantRequest) GetOrder() string
- func (x *ListTenantRequest) GetOrderBy() string
- func (x *ListTenantRequest) GetPage() uint32
- func (x *ListTenantRequest) GetPageSize() uint32
- func (x *ListTenantRequest) GetStatus() bool
- func (*ListTenantRequest) ProtoMessage()
- func (x *ListTenantRequest) ProtoReflect() protoreflect.Message
- func (x *ListTenantRequest) Reset()
- func (x *ListTenantRequest) String() string
- func (m *ListTenantRequest) Validate() error
- func (m *ListTenantRequest) ValidateAll() error
- type ListTenantRequestMultiError
- type ListTenantRequestValidationError
- 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 TenantClient
- type TenantHTTPClient
- type TenantHTTPClientImpl
- func (c *TenantHTTPClientImpl) CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...http.CallOption) (*CreateTenantReply, error)
- func (c *TenantHTTPClientImpl) DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...http.CallOption) (*DeleteTenantReply, error)
- func (c *TenantHTTPClientImpl) GetTenant(ctx context.Context, in *GetTenantRequest, opts ...http.CallOption) (*GetTenantReply, error)
- func (c *TenantHTTPClientImpl) ListAppTenant(ctx context.Context, in *ListAppTenantRequest, opts ...http.CallOption) (*ListAppTenantReply, error)
- func (c *TenantHTTPClientImpl) ListTenant(ctx context.Context, in *ListTenantRequest, opts ...http.CallOption) (*ListTenantReply, error)
- func (c *TenantHTTPClientImpl) UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...http.CallOption) (*UpdateTenantReply, error)
- type TenantHTTPServer
- type TenantServer
- type TenantSetting
- func (*TenantSetting) Descriptor() ([]byte, []int)deprecated
- func (x *TenantSetting) GetDefaultUserAvatar() string
- func (x *TenantSetting) GetDefaultUserNickname() string
- func (x *TenantSetting) GetDefaultUserPassword() string
- func (*TenantSetting) ProtoMessage()
- func (x *TenantSetting) ProtoReflect() protoreflect.Message
- func (x *TenantSetting) Reset()
- func (x *TenantSetting) String() string
- func (m *TenantSetting) Validate() error
- func (m *TenantSetting) ValidateAll() error
- type TenantSettingMultiError
- type TenantSettingValidationError
- func (e TenantSettingValidationError) Cause() error
- func (e TenantSettingValidationError) Error() string
- func (e TenantSettingValidationError) ErrorName() string
- func (e TenantSettingValidationError) Field() string
- func (e TenantSettingValidationError) Key() bool
- func (e TenantSettingValidationError) Reason() string
- type UnimplementedTenantServer
- func (UnimplementedTenantServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantReply, error)
- func (UnimplementedTenantServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantReply, error)
- func (UnimplementedTenantServer) GetTenant(context.Context, *GetTenantRequest) (*GetTenantReply, error)
- func (UnimplementedTenantServer) ListAppTenant(context.Context, *ListAppTenantRequest) (*ListAppTenantReply, error)
- func (UnimplementedTenantServer) ListTenant(context.Context, *ListTenantRequest) (*ListTenantReply, error)
- func (UnimplementedTenantServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*UpdateTenantReply, error)
- type UnsafeTenantServer
- type UpdateTenantReply
- func (*UpdateTenantReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTenantReply) ProtoMessage()
- func (x *UpdateTenantReply) ProtoReflect() protoreflect.Message
- func (x *UpdateTenantReply) Reset()
- func (x *UpdateTenantReply) String() string
- func (m *UpdateTenantReply) Validate() error
- func (m *UpdateTenantReply) ValidateAll() error
- type UpdateTenantReplyMultiError
- type UpdateTenantReplyValidationError
- func (e UpdateTenantReplyValidationError) Cause() error
- func (e UpdateTenantReplyValidationError) Error() string
- func (e UpdateTenantReplyValidationError) ErrorName() string
- func (e UpdateTenantReplyValidationError) Field() string
- func (e UpdateTenantReplyValidationError) Key() bool
- func (e UpdateTenantReplyValidationError) Reason() string
- type UpdateTenantRequest
- func (*UpdateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTenantRequest) GetDescription() string
- func (x *UpdateTenantRequest) GetId() uint32
- func (x *UpdateTenantRequest) GetLogo() string
- func (x *UpdateTenantRequest) GetName() string
- func (x *UpdateTenantRequest) GetSetting() *TenantSetting
- func (x *UpdateTenantRequest) GetStatus() bool
- func (x *UpdateTenantRequest) GetWeight() uint32
- func (*UpdateTenantRequest) ProtoMessage()
- func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTenantRequest) Reset()
- func (x *UpdateTenantRequest) String() string
- func (m *UpdateTenantRequest) Validate() error
- func (m *UpdateTenantRequest) ValidateAll() error
- type UpdateTenantRequestMultiError
- type UpdateTenantRequestValidationError
- 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
Constants ¶
const ( Tenant_GetTenant_FullMethodName = "/manager.api.tenant.Tenant/GetTenant" Tenant_ListTenant_FullMethodName = "/manager.api.tenant.Tenant/ListTenant" Tenant_ListAppTenant_FullMethodName = "/manager.api.tenant.Tenant/ListAppTenant" Tenant_CreateTenant_FullMethodName = "/manager.api.tenant.Tenant/CreateTenant" Tenant_UpdateTenant_FullMethodName = "/manager.api.tenant.Tenant/UpdateTenant" Tenant_DeleteTenant_FullMethodName = "/manager.api.tenant.Tenant/DeleteTenant" )
const ( OperationTenantCreateTenant = "/manager.api.tenant.Tenant/CreateTenant" OperationTenantDeleteTenant = "/manager.api.tenant.Tenant/DeleteTenant" OperationTenantGetTenant = "/manager.api.tenant.Tenant/GetTenant" OperationTenantListAppTenant = "/manager.api.tenant.Tenant/ListAppTenant" OperationTenantListTenant = "/manager.api.tenant.Tenant/ListTenant" OperationTenantUpdateTenant = "/manager.api.tenant.Tenant/UpdateTenant" )
Variables ¶
var File_api_tenant_proto_tenant_proto protoreflect.FileDescriptor
var File_api_tenant_proto_tenant_service_proto protoreflect.FileDescriptor
var Tenant_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.api.tenant.Tenant", HandlerType: (*TenantServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTenant", Handler: _Tenant_GetTenant_Handler, }, { MethodName: "ListTenant", Handler: _Tenant_ListTenant_Handler, }, { MethodName: "ListAppTenant", Handler: _Tenant_ListAppTenant_Handler, }, { MethodName: "CreateTenant", Handler: _Tenant_CreateTenant_Handler, }, { MethodName: "UpdateTenant", Handler: _Tenant_UpdateTenant_Handler, }, { MethodName: "DeleteTenant", Handler: _Tenant_DeleteTenant_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/tenant/proto/tenant_service.proto", }
Tenant_ServiceDesc is the grpc.ServiceDesc for Tenant service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTenantHTTPServer ¶
func RegisterTenantHTTPServer(s *http.Server, srv TenantHTTPServer)
func RegisterTenantServer ¶
func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)
Types ¶
type CreateTenantReply ¶
type CreateTenantReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateTenantReply) Descriptor
deprecated
func (*CreateTenantReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantReply.ProtoReflect.Descriptor instead.
func (*CreateTenantReply) GetId ¶
func (x *CreateTenantReply) GetId() uint32
func (*CreateTenantReply) ProtoMessage ¶
func (*CreateTenantReply) ProtoMessage()
func (*CreateTenantReply) ProtoReflect ¶
func (x *CreateTenantReply) ProtoReflect() protoreflect.Message
func (*CreateTenantReply) Reset ¶
func (x *CreateTenantReply) Reset()
func (*CreateTenantReply) String ¶
func (x *CreateTenantReply) String() string
func (*CreateTenantReply) Validate ¶
func (m *CreateTenantReply) Validate() error
Validate checks the field values on CreateTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTenantReply) ValidateAll ¶
func (m *CreateTenantReply) ValidateAll() error
ValidateAll checks the field values on CreateTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTenantReplyMultiError, or nil if none found.
type CreateTenantReplyMultiError ¶
type CreateTenantReplyMultiError []error
CreateTenantReplyMultiError is an error wrapping multiple validation errors returned by CreateTenantReply.ValidateAll() if the designated constraints aren't met.
func (CreateTenantReplyMultiError) AllErrors ¶
func (m CreateTenantReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTenantReplyMultiError) Error ¶
func (m CreateTenantReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTenantReplyValidationError ¶
type CreateTenantReplyValidationError struct {
// contains filtered or unexported fields
}
CreateTenantReplyValidationError is the validation error returned by CreateTenantReply.Validate if the designated constraints aren't met.
func (CreateTenantReplyValidationError) Cause ¶
func (e CreateTenantReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTenantReplyValidationError) Error ¶
func (e CreateTenantReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTenantReplyValidationError) ErrorName ¶
func (e CreateTenantReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTenantReplyValidationError) Field ¶
func (e CreateTenantReplyValidationError) Field() string
Field function returns field value.
func (CreateTenantReplyValidationError) Key ¶
func (e CreateTenantReplyValidationError) Key() bool
Key function returns key value.
func (CreateTenantReplyValidationError) Reason ¶
func (e CreateTenantReplyValidationError) Reason() string
Reason function returns reason value.
type CreateTenantRequest ¶
type CreateTenantRequest struct {
Logo string `protobuf:"bytes,1,opt,name=logo,proto3" json:"logo,omitempty"`
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
Setting *TenantSetting `protobuf:"bytes,6,opt,name=setting,proto3" json:"setting,omitempty"`
// contains filtered or unexported fields
}
func (*CreateTenantRequest) Descriptor
deprecated
func (*CreateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.
func (*CreateTenantRequest) GetDescription ¶
func (x *CreateTenantRequest) GetDescription() string
func (*CreateTenantRequest) GetKeyword ¶
func (x *CreateTenantRequest) GetKeyword() string
func (*CreateTenantRequest) GetLogo ¶
func (x *CreateTenantRequest) GetLogo() string
func (*CreateTenantRequest) GetName ¶
func (x *CreateTenantRequest) GetName() string
func (*CreateTenantRequest) GetSetting ¶
func (x *CreateTenantRequest) GetSetting() *TenantSetting
func (*CreateTenantRequest) GetWeight ¶
func (x *CreateTenantRequest) GetWeight() uint32
func (*CreateTenantRequest) ProtoMessage ¶
func (*CreateTenantRequest) ProtoMessage()
func (*CreateTenantRequest) ProtoReflect ¶
func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
func (*CreateTenantRequest) Reset ¶
func (x *CreateTenantRequest) Reset()
func (*CreateTenantRequest) String ¶
func (x *CreateTenantRequest) String() string
func (*CreateTenantRequest) Validate ¶
func (m *CreateTenantRequest) Validate() error
Validate checks the field values on CreateTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTenantRequest) ValidateAll ¶
func (m *CreateTenantRequest) ValidateAll() error
ValidateAll checks the field values on CreateTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTenantRequestMultiError, or nil if none found.
type CreateTenantRequestMultiError ¶
type CreateTenantRequestMultiError []error
CreateTenantRequestMultiError is an error wrapping multiple validation errors returned by CreateTenantRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTenantRequestMultiError) AllErrors ¶
func (m CreateTenantRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTenantRequestMultiError) Error ¶
func (m CreateTenantRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTenantRequestValidationError ¶
type CreateTenantRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTenantRequestValidationError is the validation error returned by CreateTenantRequest.Validate if the designated constraints aren't met.
func (CreateTenantRequestValidationError) Cause ¶
func (e CreateTenantRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTenantRequestValidationError) Error ¶
func (e CreateTenantRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTenantRequestValidationError) ErrorName ¶
func (e CreateTenantRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTenantRequestValidationError) Field ¶
func (e CreateTenantRequestValidationError) Field() string
Field function returns field value.
func (CreateTenantRequestValidationError) Key ¶
func (e CreateTenantRequestValidationError) Key() bool
Key function returns key value.
func (CreateTenantRequestValidationError) Reason ¶
func (e CreateTenantRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTenantReply ¶
type DeleteTenantReply struct {
// contains filtered or unexported fields
}
func (*DeleteTenantReply) Descriptor
deprecated
func (*DeleteTenantReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTenantReply.ProtoReflect.Descriptor instead.
func (*DeleteTenantReply) ProtoMessage ¶
func (*DeleteTenantReply) ProtoMessage()
func (*DeleteTenantReply) ProtoReflect ¶
func (x *DeleteTenantReply) ProtoReflect() protoreflect.Message
func (*DeleteTenantReply) Reset ¶
func (x *DeleteTenantReply) Reset()
func (*DeleteTenantReply) String ¶
func (x *DeleteTenantReply) String() string
func (*DeleteTenantReply) Validate ¶
func (m *DeleteTenantReply) Validate() error
Validate checks the field values on DeleteTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTenantReply) ValidateAll ¶
func (m *DeleteTenantReply) ValidateAll() error
ValidateAll checks the field values on DeleteTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTenantReplyMultiError, or nil if none found.
type DeleteTenantReplyMultiError ¶
type DeleteTenantReplyMultiError []error
DeleteTenantReplyMultiError is an error wrapping multiple validation errors returned by DeleteTenantReply.ValidateAll() if the designated constraints aren't met.
func (DeleteTenantReplyMultiError) AllErrors ¶
func (m DeleteTenantReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTenantReplyMultiError) Error ¶
func (m DeleteTenantReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTenantReplyValidationError ¶
type DeleteTenantReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteTenantReplyValidationError is the validation error returned by DeleteTenantReply.Validate if the designated constraints aren't met.
func (DeleteTenantReplyValidationError) Cause ¶
func (e DeleteTenantReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTenantReplyValidationError) Error ¶
func (e DeleteTenantReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTenantReplyValidationError) ErrorName ¶
func (e DeleteTenantReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTenantReplyValidationError) Field ¶
func (e DeleteTenantReplyValidationError) Field() string
Field function returns field value.
func (DeleteTenantReplyValidationError) Key ¶
func (e DeleteTenantReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTenantReplyValidationError) Reason ¶
func (e DeleteTenantReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteTenantRequest ¶
type DeleteTenantRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteTenantRequest) Descriptor
deprecated
func (*DeleteTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.
func (*DeleteTenantRequest) GetId ¶
func (x *DeleteTenantRequest) GetId() uint32
func (*DeleteTenantRequest) ProtoMessage ¶
func (*DeleteTenantRequest) ProtoMessage()
func (*DeleteTenantRequest) ProtoReflect ¶
func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message
func (*DeleteTenantRequest) Reset ¶
func (x *DeleteTenantRequest) Reset()
func (*DeleteTenantRequest) String ¶
func (x *DeleteTenantRequest) String() string
func (*DeleteTenantRequest) Validate ¶
func (m *DeleteTenantRequest) Validate() error
Validate checks the field values on DeleteTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTenantRequest) ValidateAll ¶
func (m *DeleteTenantRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTenantRequestMultiError, or nil if none found.
type DeleteTenantRequestMultiError ¶
type DeleteTenantRequestMultiError []error
DeleteTenantRequestMultiError is an error wrapping multiple validation errors returned by DeleteTenantRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTenantRequestMultiError) AllErrors ¶
func (m DeleteTenantRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTenantRequestMultiError) Error ¶
func (m DeleteTenantRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTenantRequestValidationError ¶
type DeleteTenantRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTenantRequestValidationError is the validation error returned by DeleteTenantRequest.Validate if the designated constraints aren't met.
func (DeleteTenantRequestValidationError) Cause ¶
func (e DeleteTenantRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTenantRequestValidationError) Error ¶
func (e DeleteTenantRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTenantRequestValidationError) ErrorName ¶
func (e DeleteTenantRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTenantRequestValidationError) Field ¶
func (e DeleteTenantRequestValidationError) Field() string
Field function returns field value.
func (DeleteTenantRequestValidationError) Key ¶
func (e DeleteTenantRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTenantRequestValidationError) Reason ¶
func (e DeleteTenantRequestValidationError) Reason() string
Reason function returns reason value.
type GetTenantReply ¶
type GetTenantReply struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Status bool `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
Weight uint32 `protobuf:"varint,7,opt,name=weight,proto3" json:"weight,omitempty"`
CreatedAt uint32 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
Setting *TenantSetting `protobuf:"bytes,10,opt,name=setting,proto3" json:"setting,omitempty"`
// contains filtered or unexported fields
}
func (*GetTenantReply) Descriptor
deprecated
func (*GetTenantReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantReply.ProtoReflect.Descriptor instead.
func (*GetTenantReply) GetCreatedAt ¶
func (x *GetTenantReply) GetCreatedAt() uint32
func (*GetTenantReply) GetDescription ¶
func (x *GetTenantReply) GetDescription() string
func (*GetTenantReply) GetId ¶
func (x *GetTenantReply) GetId() uint32
func (*GetTenantReply) GetKeyword ¶
func (x *GetTenantReply) GetKeyword() string
func (*GetTenantReply) GetLogo ¶
func (x *GetTenantReply) GetLogo() string
func (*GetTenantReply) GetName ¶
func (x *GetTenantReply) GetName() string
func (*GetTenantReply) GetSetting ¶
func (x *GetTenantReply) GetSetting() *TenantSetting
func (*GetTenantReply) GetStatus ¶
func (x *GetTenantReply) GetStatus() bool
func (*GetTenantReply) GetUpdatedAt ¶
func (x *GetTenantReply) GetUpdatedAt() uint32
func (*GetTenantReply) GetWeight ¶
func (x *GetTenantReply) GetWeight() uint32
func (*GetTenantReply) ProtoMessage ¶
func (*GetTenantReply) ProtoMessage()
func (*GetTenantReply) ProtoReflect ¶
func (x *GetTenantReply) ProtoReflect() protoreflect.Message
func (*GetTenantReply) Reset ¶
func (x *GetTenantReply) Reset()
func (*GetTenantReply) String ¶
func (x *GetTenantReply) String() string
func (*GetTenantReply) Validate ¶
func (m *GetTenantReply) Validate() error
Validate checks the field values on GetTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTenantReply) ValidateAll ¶
func (m *GetTenantReply) ValidateAll() error
ValidateAll checks the field values on GetTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTenantReplyMultiError, or nil if none found.
type GetTenantReplyMultiError ¶
type GetTenantReplyMultiError []error
GetTenantReplyMultiError is an error wrapping multiple validation errors returned by GetTenantReply.ValidateAll() if the designated constraints aren't met.
func (GetTenantReplyMultiError) AllErrors ¶
func (m GetTenantReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTenantReplyMultiError) Error ¶
func (m GetTenantReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTenantReplyValidationError ¶
type GetTenantReplyValidationError struct {
// contains filtered or unexported fields
}
GetTenantReplyValidationError is the validation error returned by GetTenantReply.Validate if the designated constraints aren't met.
func (GetTenantReplyValidationError) Cause ¶
func (e GetTenantReplyValidationError) Cause() error
Cause function returns cause value.
func (GetTenantReplyValidationError) Error ¶
func (e GetTenantReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetTenantReplyValidationError) ErrorName ¶
func (e GetTenantReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetTenantReplyValidationError) Field ¶
func (e GetTenantReplyValidationError) Field() string
Field function returns field value.
func (GetTenantReplyValidationError) Key ¶
func (e GetTenantReplyValidationError) Key() bool
Key function returns key value.
func (GetTenantReplyValidationError) Reason ¶
func (e GetTenantReplyValidationError) Reason() string
Reason function returns reason value.
type GetTenantRequest ¶
type GetTenantRequest struct {
// Types that are assignable to Param:
//
// *GetTenantRequest_Id
// *GetTenantRequest_Keyword
Param isGetTenantRequest_Param `protobuf_oneof:"param"`
// contains filtered or unexported fields
}
func (*GetTenantRequest) Descriptor
deprecated
func (*GetTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.
func (*GetTenantRequest) GetId ¶
func (x *GetTenantRequest) GetId() uint32
func (*GetTenantRequest) GetKeyword ¶
func (x *GetTenantRequest) GetKeyword() string
func (*GetTenantRequest) GetParam ¶
func (m *GetTenantRequest) GetParam() isGetTenantRequest_Param
func (*GetTenantRequest) ProtoMessage ¶
func (*GetTenantRequest) ProtoMessage()
func (*GetTenantRequest) ProtoReflect ¶
func (x *GetTenantRequest) ProtoReflect() protoreflect.Message
func (*GetTenantRequest) Reset ¶
func (x *GetTenantRequest) Reset()
func (*GetTenantRequest) String ¶
func (x *GetTenantRequest) String() string
func (*GetTenantRequest) Validate ¶
func (m *GetTenantRequest) Validate() error
Validate checks the field values on GetTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTenantRequest) ValidateAll ¶
func (m *GetTenantRequest) ValidateAll() error
ValidateAll checks the field values on GetTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTenantRequestMultiError, or nil if none found.
type GetTenantRequestMultiError ¶
type GetTenantRequestMultiError []error
GetTenantRequestMultiError is an error wrapping multiple validation errors returned by GetTenantRequest.ValidateAll() if the designated constraints aren't met.
func (GetTenantRequestMultiError) AllErrors ¶
func (m GetTenantRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTenantRequestMultiError) Error ¶
func (m GetTenantRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTenantRequestValidationError ¶
type GetTenantRequestValidationError struct {
// contains filtered or unexported fields
}
GetTenantRequestValidationError is the validation error returned by GetTenantRequest.Validate if the designated constraints aren't met.
func (GetTenantRequestValidationError) Cause ¶
func (e GetTenantRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTenantRequestValidationError) Error ¶
func (e GetTenantRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTenantRequestValidationError) ErrorName ¶
func (e GetTenantRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTenantRequestValidationError) Field ¶
func (e GetTenantRequestValidationError) Field() string
Field function returns field value.
func (GetTenantRequestValidationError) Key ¶
func (e GetTenantRequestValidationError) Key() bool
Key function returns key value.
func (GetTenantRequestValidationError) Reason ¶
func (e GetTenantRequestValidationError) Reason() string
Reason function returns reason value.
type GetTenantRequest_Id ¶
type GetTenantRequest_Id struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof"`
}
type GetTenantRequest_Keyword ¶
type GetTenantRequest_Keyword struct {
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3,oneof"`
}
type ListAppTenantReply ¶
type ListAppTenantReply struct {
List []*ListAppTenantReply_Data `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*ListAppTenantReply) Descriptor
deprecated
func (*ListAppTenantReply) Descriptor() ([]byte, []int)
Deprecated: Use ListAppTenantReply.ProtoReflect.Descriptor instead.
func (*ListAppTenantReply) GetList ¶
func (x *ListAppTenantReply) GetList() []*ListAppTenantReply_Data
func (*ListAppTenantReply) ProtoMessage ¶
func (*ListAppTenantReply) ProtoMessage()
func (*ListAppTenantReply) ProtoReflect ¶
func (x *ListAppTenantReply) ProtoReflect() protoreflect.Message
func (*ListAppTenantReply) Reset ¶
func (x *ListAppTenantReply) Reset()
func (*ListAppTenantReply) String ¶
func (x *ListAppTenantReply) String() string
func (*ListAppTenantReply) Validate ¶
func (m *ListAppTenantReply) Validate() error
Validate checks the field values on ListAppTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListAppTenantReply) ValidateAll ¶
func (m *ListAppTenantReply) ValidateAll() error
ValidateAll checks the field values on ListAppTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAppTenantReplyMultiError, or nil if none found.
type ListAppTenantReplyMultiError ¶
type ListAppTenantReplyMultiError []error
ListAppTenantReplyMultiError is an error wrapping multiple validation errors returned by ListAppTenantReply.ValidateAll() if the designated constraints aren't met.
func (ListAppTenantReplyMultiError) AllErrors ¶
func (m ListAppTenantReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppTenantReplyMultiError) Error ¶
func (m ListAppTenantReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppTenantReplyValidationError ¶
type ListAppTenantReplyValidationError struct {
// contains filtered or unexported fields
}
ListAppTenantReplyValidationError is the validation error returned by ListAppTenantReply.Validate if the designated constraints aren't met.
func (ListAppTenantReplyValidationError) Cause ¶
func (e ListAppTenantReplyValidationError) Cause() error
Cause function returns cause value.
func (ListAppTenantReplyValidationError) Error ¶
func (e ListAppTenantReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppTenantReplyValidationError) ErrorName ¶
func (e ListAppTenantReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppTenantReplyValidationError) Field ¶
func (e ListAppTenantReplyValidationError) Field() string
Field function returns field value.
func (ListAppTenantReplyValidationError) Key ¶
func (e ListAppTenantReplyValidationError) Key() bool
Key function returns key value.
func (ListAppTenantReplyValidationError) Reason ¶
func (e ListAppTenantReplyValidationError) Reason() string
Reason function returns reason value.
type ListAppTenantReply_Data ¶
type ListAppTenantReply_Data struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ListAppTenantReply_Data) Descriptor
deprecated
func (*ListAppTenantReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use ListAppTenantReply_Data.ProtoReflect.Descriptor instead.
func (*ListAppTenantReply_Data) GetId ¶
func (x *ListAppTenantReply_Data) GetId() uint32
func (*ListAppTenantReply_Data) GetKeyword ¶
func (x *ListAppTenantReply_Data) GetKeyword() string
func (*ListAppTenantReply_Data) GetLogo ¶
func (x *ListAppTenantReply_Data) GetLogo() string
func (*ListAppTenantReply_Data) GetName ¶
func (x *ListAppTenantReply_Data) GetName() string
func (*ListAppTenantReply_Data) ProtoMessage ¶
func (*ListAppTenantReply_Data) ProtoMessage()
func (*ListAppTenantReply_Data) ProtoReflect ¶
func (x *ListAppTenantReply_Data) ProtoReflect() protoreflect.Message
func (*ListAppTenantReply_Data) Reset ¶
func (x *ListAppTenantReply_Data) Reset()
func (*ListAppTenantReply_Data) String ¶
func (x *ListAppTenantReply_Data) String() string
func (*ListAppTenantReply_Data) Validate ¶
func (m *ListAppTenantReply_Data) Validate() error
Validate checks the field values on ListAppTenantReply_Data with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListAppTenantReply_Data) ValidateAll ¶
func (m *ListAppTenantReply_Data) ValidateAll() error
ValidateAll checks the field values on ListAppTenantReply_Data with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAppTenantReply_DataMultiError, or nil if none found.
type ListAppTenantReply_DataMultiError ¶
type ListAppTenantReply_DataMultiError []error
ListAppTenantReply_DataMultiError is an error wrapping multiple validation errors returned by ListAppTenantReply_Data.ValidateAll() if the designated constraints aren't met.
func (ListAppTenantReply_DataMultiError) AllErrors ¶
func (m ListAppTenantReply_DataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppTenantReply_DataMultiError) Error ¶
func (m ListAppTenantReply_DataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppTenantReply_DataValidationError ¶
type ListAppTenantReply_DataValidationError struct {
// contains filtered or unexported fields
}
ListAppTenantReply_DataValidationError is the validation error returned by ListAppTenantReply_Data.Validate if the designated constraints aren't met.
func (ListAppTenantReply_DataValidationError) Cause ¶
func (e ListAppTenantReply_DataValidationError) Cause() error
Cause function returns cause value.
func (ListAppTenantReply_DataValidationError) Error ¶
func (e ListAppTenantReply_DataValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppTenantReply_DataValidationError) ErrorName ¶
func (e ListAppTenantReply_DataValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppTenantReply_DataValidationError) Field ¶
func (e ListAppTenantReply_DataValidationError) Field() string
Field function returns field value.
func (ListAppTenantReply_DataValidationError) Key ¶
func (e ListAppTenantReply_DataValidationError) Key() bool
Key function returns key value.
func (ListAppTenantReply_DataValidationError) Reason ¶
func (e ListAppTenantReply_DataValidationError) Reason() string
Reason function returns reason value.
type ListAppTenantRequest ¶
type ListAppTenantRequest struct {
App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
// contains filtered or unexported fields
}
func (*ListAppTenantRequest) Descriptor
deprecated
func (*ListAppTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAppTenantRequest.ProtoReflect.Descriptor instead.
func (*ListAppTenantRequest) GetApp ¶
func (x *ListAppTenantRequest) GetApp() string
func (*ListAppTenantRequest) ProtoMessage ¶
func (*ListAppTenantRequest) ProtoMessage()
func (*ListAppTenantRequest) ProtoReflect ¶
func (x *ListAppTenantRequest) ProtoReflect() protoreflect.Message
func (*ListAppTenantRequest) Reset ¶
func (x *ListAppTenantRequest) Reset()
func (*ListAppTenantRequest) String ¶
func (x *ListAppTenantRequest) String() string
func (*ListAppTenantRequest) Validate ¶
func (m *ListAppTenantRequest) Validate() error
Validate checks the field values on ListAppTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListAppTenantRequest) ValidateAll ¶
func (m *ListAppTenantRequest) ValidateAll() error
ValidateAll checks the field values on ListAppTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAppTenantRequestMultiError, or nil if none found.
type ListAppTenantRequestMultiError ¶
type ListAppTenantRequestMultiError []error
ListAppTenantRequestMultiError is an error wrapping multiple validation errors returned by ListAppTenantRequest.ValidateAll() if the designated constraints aren't met.
func (ListAppTenantRequestMultiError) AllErrors ¶
func (m ListAppTenantRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAppTenantRequestMultiError) Error ¶
func (m ListAppTenantRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAppTenantRequestValidationError ¶
type ListAppTenantRequestValidationError struct {
// contains filtered or unexported fields
}
ListAppTenantRequestValidationError is the validation error returned by ListAppTenantRequest.Validate if the designated constraints aren't met.
func (ListAppTenantRequestValidationError) Cause ¶
func (e ListAppTenantRequestValidationError) Cause() error
Cause function returns cause value.
func (ListAppTenantRequestValidationError) Error ¶
func (e ListAppTenantRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAppTenantRequestValidationError) ErrorName ¶
func (e ListAppTenantRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAppTenantRequestValidationError) Field ¶
func (e ListAppTenantRequestValidationError) Field() string
Field function returns field value.
func (ListAppTenantRequestValidationError) Key ¶
func (e ListAppTenantRequestValidationError) Key() bool
Key function returns key value.
func (ListAppTenantRequestValidationError) Reason ¶
func (e ListAppTenantRequestValidationError) Reason() string
Reason function returns reason value.
type ListTenantReply ¶
type ListTenantReply struct {
List []*ListTenantReply_Data `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*ListTenantReply) Descriptor
deprecated
func (*ListTenantReply) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantReply.ProtoReflect.Descriptor instead.
func (*ListTenantReply) GetList ¶
func (x *ListTenantReply) GetList() []*ListTenantReply_Data
func (*ListTenantReply) GetTotal ¶
func (x *ListTenantReply) GetTotal() uint32
func (*ListTenantReply) ProtoMessage ¶
func (*ListTenantReply) ProtoMessage()
func (*ListTenantReply) ProtoReflect ¶
func (x *ListTenantReply) ProtoReflect() protoreflect.Message
func (*ListTenantReply) Reset ¶
func (x *ListTenantReply) Reset()
func (*ListTenantReply) String ¶
func (x *ListTenantReply) String() string
func (*ListTenantReply) Validate ¶
func (m *ListTenantReply) Validate() error
Validate checks the field values on ListTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTenantReply) ValidateAll ¶
func (m *ListTenantReply) ValidateAll() error
ValidateAll checks the field values on ListTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTenantReplyMultiError, or nil if none found.
type ListTenantReplyMultiError ¶
type ListTenantReplyMultiError []error
ListTenantReplyMultiError is an error wrapping multiple validation errors returned by ListTenantReply.ValidateAll() if the designated constraints aren't met.
func (ListTenantReplyMultiError) AllErrors ¶
func (m ListTenantReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTenantReplyMultiError) Error ¶
func (m ListTenantReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTenantReplyValidationError ¶
type ListTenantReplyValidationError struct {
// contains filtered or unexported fields
}
ListTenantReplyValidationError is the validation error returned by ListTenantReply.Validate if the designated constraints aren't met.
func (ListTenantReplyValidationError) Cause ¶
func (e ListTenantReplyValidationError) Cause() error
Cause function returns cause value.
func (ListTenantReplyValidationError) Error ¶
func (e ListTenantReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListTenantReplyValidationError) ErrorName ¶
func (e ListTenantReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListTenantReplyValidationError) Field ¶
func (e ListTenantReplyValidationError) Field() string
Field function returns field value.
func (ListTenantReplyValidationError) Key ¶
func (e ListTenantReplyValidationError) Key() bool
Key function returns key value.
func (ListTenantReplyValidationError) Reason ¶
func (e ListTenantReplyValidationError) Reason() string
Reason function returns reason value.
type ListTenantReply_Data ¶
type ListTenantReply_Data struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Status bool `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
Weight uint32 `protobuf:"varint,7,opt,name=weight,proto3" json:"weight,omitempty"`
CreatedAt uint32 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt uint32 `protobuf:"varint,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
// contains filtered or unexported fields
}
func (*ListTenantReply_Data) Descriptor
deprecated
func (*ListTenantReply_Data) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantReply_Data.ProtoReflect.Descriptor instead.
func (*ListTenantReply_Data) GetCreatedAt ¶
func (x *ListTenantReply_Data) GetCreatedAt() uint32
func (*ListTenantReply_Data) GetDescription ¶
func (x *ListTenantReply_Data) GetDescription() string
func (*ListTenantReply_Data) GetId ¶
func (x *ListTenantReply_Data) GetId() uint32
func (*ListTenantReply_Data) GetKeyword ¶
func (x *ListTenantReply_Data) GetKeyword() string
func (*ListTenantReply_Data) GetLogo ¶
func (x *ListTenantReply_Data) GetLogo() string
func (*ListTenantReply_Data) GetName ¶
func (x *ListTenantReply_Data) GetName() string
func (*ListTenantReply_Data) GetStatus ¶
func (x *ListTenantReply_Data) GetStatus() bool
func (*ListTenantReply_Data) GetUpdatedAt ¶
func (x *ListTenantReply_Data) GetUpdatedAt() uint32
func (*ListTenantReply_Data) GetWeight ¶
func (x *ListTenantReply_Data) GetWeight() uint32
func (*ListTenantReply_Data) ProtoMessage ¶
func (*ListTenantReply_Data) ProtoMessage()
func (*ListTenantReply_Data) ProtoReflect ¶
func (x *ListTenantReply_Data) ProtoReflect() protoreflect.Message
func (*ListTenantReply_Data) Reset ¶
func (x *ListTenantReply_Data) Reset()
func (*ListTenantReply_Data) String ¶
func (x *ListTenantReply_Data) String() string
func (*ListTenantReply_Data) Validate ¶
func (m *ListTenantReply_Data) Validate() error
Validate checks the field values on ListTenantReply_Data with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTenantReply_Data) ValidateAll ¶
func (m *ListTenantReply_Data) ValidateAll() error
ValidateAll checks the field values on ListTenantReply_Data with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTenantReply_DataMultiError, or nil if none found.
type ListTenantReply_DataMultiError ¶
type ListTenantReply_DataMultiError []error
ListTenantReply_DataMultiError is an error wrapping multiple validation errors returned by ListTenantReply_Data.ValidateAll() if the designated constraints aren't met.
func (ListTenantReply_DataMultiError) AllErrors ¶
func (m ListTenantReply_DataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTenantReply_DataMultiError) Error ¶
func (m ListTenantReply_DataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTenantReply_DataValidationError ¶
type ListTenantReply_DataValidationError struct {
// contains filtered or unexported fields
}
ListTenantReply_DataValidationError is the validation error returned by ListTenantReply_Data.Validate if the designated constraints aren't met.
func (ListTenantReply_DataValidationError) Cause ¶
func (e ListTenantReply_DataValidationError) Cause() error
Cause function returns cause value.
func (ListTenantReply_DataValidationError) Error ¶
func (e ListTenantReply_DataValidationError) Error() string
Error satisfies the builtin error interface
func (ListTenantReply_DataValidationError) ErrorName ¶
func (e ListTenantReply_DataValidationError) ErrorName() string
ErrorName returns error name.
func (ListTenantReply_DataValidationError) Field ¶
func (e ListTenantReply_DataValidationError) Field() string
Field function returns field value.
func (ListTenantReply_DataValidationError) Key ¶
func (e ListTenantReply_DataValidationError) Key() bool
Key function returns key value.
func (ListTenantReply_DataValidationError) Reason ¶
func (e ListTenantReply_DataValidationError) Reason() string
Reason function returns reason value.
type ListTenantRequest ¶
type ListTenantRequest struct {
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
Name *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
Keyword *string `protobuf:"bytes,6,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
Status *bool `protobuf:"varint,7,opt,name=status,proto3,oneof" json:"status,omitempty"`
App *string `protobuf:"bytes,8,opt,name=app,proto3,oneof" json:"app,omitempty"`
// contains filtered or unexported fields
}
func (*ListTenantRequest) Descriptor
deprecated
func (*ListTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantRequest.ProtoReflect.Descriptor instead.
func (*ListTenantRequest) GetApp ¶
func (x *ListTenantRequest) GetApp() string
func (*ListTenantRequest) GetKeyword ¶
func (x *ListTenantRequest) GetKeyword() string
func (*ListTenantRequest) GetName ¶
func (x *ListTenantRequest) GetName() string
func (*ListTenantRequest) GetOrder ¶
func (x *ListTenantRequest) GetOrder() string
func (*ListTenantRequest) GetOrderBy ¶
func (x *ListTenantRequest) GetOrderBy() string
func (*ListTenantRequest) GetPage ¶
func (x *ListTenantRequest) GetPage() uint32
func (*ListTenantRequest) GetPageSize ¶
func (x *ListTenantRequest) GetPageSize() uint32
func (*ListTenantRequest) GetStatus ¶
func (x *ListTenantRequest) GetStatus() bool
func (*ListTenantRequest) ProtoMessage ¶
func (*ListTenantRequest) ProtoMessage()
func (*ListTenantRequest) ProtoReflect ¶
func (x *ListTenantRequest) ProtoReflect() protoreflect.Message
func (*ListTenantRequest) Reset ¶
func (x *ListTenantRequest) Reset()
func (*ListTenantRequest) String ¶
func (x *ListTenantRequest) String() string
func (*ListTenantRequest) Validate ¶
func (m *ListTenantRequest) Validate() error
Validate checks the field values on ListTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTenantRequest) ValidateAll ¶
func (m *ListTenantRequest) ValidateAll() error
ValidateAll checks the field values on ListTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTenantRequestMultiError, or nil if none found.
type ListTenantRequestMultiError ¶
type ListTenantRequestMultiError []error
ListTenantRequestMultiError is an error wrapping multiple validation errors returned by ListTenantRequest.ValidateAll() if the designated constraints aren't met.
func (ListTenantRequestMultiError) AllErrors ¶
func (m ListTenantRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTenantRequestMultiError) Error ¶
func (m ListTenantRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTenantRequestValidationError ¶
type ListTenantRequestValidationError struct {
// contains filtered or unexported fields
}
ListTenantRequestValidationError is the validation error returned by ListTenantRequest.Validate if the designated constraints aren't met.
func (ListTenantRequestValidationError) Cause ¶
func (e ListTenantRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTenantRequestValidationError) Error ¶
func (e ListTenantRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTenantRequestValidationError) ErrorName ¶
func (e ListTenantRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTenantRequestValidationError) Field ¶
func (e ListTenantRequestValidationError) Field() string
Field function returns field value.
func (ListTenantRequestValidationError) Key ¶
func (e ListTenantRequestValidationError) Key() bool
Key function returns key value.
func (ListTenantRequestValidationError) Reason ¶
func (e ListTenantRequestValidationError) Reason() string
Reason function returns reason value.
type TenantClient ¶
type TenantClient interface {
GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*GetTenantReply, error)
ListTenant(ctx context.Context, in *ListTenantRequest, opts ...grpc.CallOption) (*ListTenantReply, error)
ListAppTenant(ctx context.Context, in *ListAppTenantRequest, opts ...grpc.CallOption) (*ListAppTenantReply, error)
CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantReply, error)
UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*UpdateTenantReply, error)
DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*DeleteTenantReply, error)
}
TenantClient is the client API for Tenant service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTenantClient ¶
func NewTenantClient(cc grpc.ClientConnInterface) TenantClient
type TenantHTTPClient ¶
type TenantHTTPClient interface {
CreateTenant(ctx context.Context, req *CreateTenantRequest, opts ...http.CallOption) (rsp *CreateTenantReply, err error)
DeleteTenant(ctx context.Context, req *DeleteTenantRequest, opts ...http.CallOption) (rsp *DeleteTenantReply, err error)
GetTenant(ctx context.Context, req *GetTenantRequest, opts ...http.CallOption) (rsp *GetTenantReply, err error)
ListAppTenant(ctx context.Context, req *ListAppTenantRequest, opts ...http.CallOption) (rsp *ListAppTenantReply, err error)
ListTenant(ctx context.Context, req *ListTenantRequest, opts ...http.CallOption) (rsp *ListTenantReply, err error)
UpdateTenant(ctx context.Context, req *UpdateTenantRequest, opts ...http.CallOption) (rsp *UpdateTenantReply, err error)
}
func NewTenantHTTPClient ¶
func NewTenantHTTPClient(client *http.Client) TenantHTTPClient
type TenantHTTPClientImpl ¶
type TenantHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*TenantHTTPClientImpl) CreateTenant ¶
func (c *TenantHTTPClientImpl) CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...http.CallOption) (*CreateTenantReply, error)
func (*TenantHTTPClientImpl) DeleteTenant ¶
func (c *TenantHTTPClientImpl) DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...http.CallOption) (*DeleteTenantReply, error)
func (*TenantHTTPClientImpl) GetTenant ¶
func (c *TenantHTTPClientImpl) GetTenant(ctx context.Context, in *GetTenantRequest, opts ...http.CallOption) (*GetTenantReply, error)
func (*TenantHTTPClientImpl) ListAppTenant ¶
func (c *TenantHTTPClientImpl) ListAppTenant(ctx context.Context, in *ListAppTenantRequest, opts ...http.CallOption) (*ListAppTenantReply, error)
func (*TenantHTTPClientImpl) ListTenant ¶
func (c *TenantHTTPClientImpl) ListTenant(ctx context.Context, in *ListTenantRequest, opts ...http.CallOption) (*ListTenantReply, error)
func (*TenantHTTPClientImpl) UpdateTenant ¶
func (c *TenantHTTPClientImpl) UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...http.CallOption) (*UpdateTenantReply, error)
type TenantHTTPServer ¶
type TenantHTTPServer interface {
CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantReply, error)
DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantReply, error)
GetTenant(context.Context, *GetTenantRequest) (*GetTenantReply, error)
ListAppTenant(context.Context, *ListAppTenantRequest) (*ListAppTenantReply, error)
ListTenant(context.Context, *ListTenantRequest) (*ListTenantReply, error)
UpdateTenant(context.Context, *UpdateTenantRequest) (*UpdateTenantReply, error)
}
type TenantServer ¶
type TenantServer interface {
GetTenant(context.Context, *GetTenantRequest) (*GetTenantReply, error)
ListTenant(context.Context, *ListTenantRequest) (*ListTenantReply, error)
ListAppTenant(context.Context, *ListAppTenantRequest) (*ListAppTenantReply, error)
CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantReply, error)
UpdateTenant(context.Context, *UpdateTenantRequest) (*UpdateTenantReply, error)
DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantReply, error)
// contains filtered or unexported methods
}
TenantServer is the server API for Tenant service. All implementations must embed UnimplementedTenantServer for forward compatibility
type TenantSetting ¶
type TenantSetting struct {
DefaultUserPassword string `protobuf:"bytes,1,opt,name=defaultUserPassword,proto3" json:"defaultUserPassword,omitempty"`
DefaultUserAvatar string `protobuf:"bytes,2,opt,name=defaultUserAvatar,proto3" json:"defaultUserAvatar,omitempty"`
DefaultUserNickname string `protobuf:"bytes,3,opt,name=defaultUserNickname,proto3" json:"defaultUserNickname,omitempty"`
// contains filtered or unexported fields
}
func (*TenantSetting) Descriptor
deprecated
func (*TenantSetting) Descriptor() ([]byte, []int)
Deprecated: Use TenantSetting.ProtoReflect.Descriptor instead.
func (*TenantSetting) GetDefaultUserAvatar ¶
func (x *TenantSetting) GetDefaultUserAvatar() string
func (*TenantSetting) GetDefaultUserNickname ¶
func (x *TenantSetting) GetDefaultUserNickname() string
func (*TenantSetting) GetDefaultUserPassword ¶
func (x *TenantSetting) GetDefaultUserPassword() string
func (*TenantSetting) ProtoMessage ¶
func (*TenantSetting) ProtoMessage()
func (*TenantSetting) ProtoReflect ¶
func (x *TenantSetting) ProtoReflect() protoreflect.Message
func (*TenantSetting) Reset ¶
func (x *TenantSetting) Reset()
func (*TenantSetting) String ¶
func (x *TenantSetting) String() string
func (*TenantSetting) Validate ¶
func (m *TenantSetting) Validate() error
Validate checks the field values on TenantSetting with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TenantSetting) ValidateAll ¶
func (m *TenantSetting) ValidateAll() error
ValidateAll checks the field values on TenantSetting with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantSettingMultiError, or nil if none found.
type TenantSettingMultiError ¶
type TenantSettingMultiError []error
TenantSettingMultiError is an error wrapping multiple validation errors returned by TenantSetting.ValidateAll() if the designated constraints aren't met.
func (TenantSettingMultiError) AllErrors ¶
func (m TenantSettingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantSettingMultiError) Error ¶
func (m TenantSettingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantSettingValidationError ¶
type TenantSettingValidationError struct {
// contains filtered or unexported fields
}
TenantSettingValidationError is the validation error returned by TenantSetting.Validate if the designated constraints aren't met.
func (TenantSettingValidationError) Cause ¶
func (e TenantSettingValidationError) Cause() error
Cause function returns cause value.
func (TenantSettingValidationError) Error ¶
func (e TenantSettingValidationError) Error() string
Error satisfies the builtin error interface
func (TenantSettingValidationError) ErrorName ¶
func (e TenantSettingValidationError) ErrorName() string
ErrorName returns error name.
func (TenantSettingValidationError) Field ¶
func (e TenantSettingValidationError) Field() string
Field function returns field value.
func (TenantSettingValidationError) Key ¶
func (e TenantSettingValidationError) Key() bool
Key function returns key value.
func (TenantSettingValidationError) Reason ¶
func (e TenantSettingValidationError) Reason() string
Reason function returns reason value.
type UnimplementedTenantServer ¶
type UnimplementedTenantServer struct{}
UnimplementedTenantServer must be embedded to have forward compatible implementations.
func (UnimplementedTenantServer) CreateTenant ¶
func (UnimplementedTenantServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantReply, error)
func (UnimplementedTenantServer) DeleteTenant ¶
func (UnimplementedTenantServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantReply, error)
func (UnimplementedTenantServer) GetTenant ¶
func (UnimplementedTenantServer) GetTenant(context.Context, *GetTenantRequest) (*GetTenantReply, error)
func (UnimplementedTenantServer) ListAppTenant ¶
func (UnimplementedTenantServer) ListAppTenant(context.Context, *ListAppTenantRequest) (*ListAppTenantReply, error)
func (UnimplementedTenantServer) ListTenant ¶
func (UnimplementedTenantServer) ListTenant(context.Context, *ListTenantRequest) (*ListTenantReply, error)
func (UnimplementedTenantServer) UpdateTenant ¶
func (UnimplementedTenantServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*UpdateTenantReply, error)
type UnsafeTenantServer ¶
type UnsafeTenantServer interface {
// contains filtered or unexported methods
}
UnsafeTenantServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenantServer will result in compilation errors.
type UpdateTenantReply ¶
type UpdateTenantReply struct {
// contains filtered or unexported fields
}
func (*UpdateTenantReply) Descriptor
deprecated
func (*UpdateTenantReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTenantReply.ProtoReflect.Descriptor instead.
func (*UpdateTenantReply) ProtoMessage ¶
func (*UpdateTenantReply) ProtoMessage()
func (*UpdateTenantReply) ProtoReflect ¶
func (x *UpdateTenantReply) ProtoReflect() protoreflect.Message
func (*UpdateTenantReply) Reset ¶
func (x *UpdateTenantReply) Reset()
func (*UpdateTenantReply) String ¶
func (x *UpdateTenantReply) String() string
func (*UpdateTenantReply) Validate ¶
func (m *UpdateTenantReply) Validate() error
Validate checks the field values on UpdateTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTenantReply) ValidateAll ¶
func (m *UpdateTenantReply) ValidateAll() error
ValidateAll checks the field values on UpdateTenantReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTenantReplyMultiError, or nil if none found.
type UpdateTenantReplyMultiError ¶
type UpdateTenantReplyMultiError []error
UpdateTenantReplyMultiError is an error wrapping multiple validation errors returned by UpdateTenantReply.ValidateAll() if the designated constraints aren't met.
func (UpdateTenantReplyMultiError) AllErrors ¶
func (m UpdateTenantReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTenantReplyMultiError) Error ¶
func (m UpdateTenantReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTenantReplyValidationError ¶
type UpdateTenantReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateTenantReplyValidationError is the validation error returned by UpdateTenantReply.Validate if the designated constraints aren't met.
func (UpdateTenantReplyValidationError) Cause ¶
func (e UpdateTenantReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateTenantReplyValidationError) Error ¶
func (e UpdateTenantReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTenantReplyValidationError) ErrorName ¶
func (e UpdateTenantReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTenantReplyValidationError) Field ¶
func (e UpdateTenantReplyValidationError) Field() string
Field function returns field value.
func (UpdateTenantReplyValidationError) Key ¶
func (e UpdateTenantReplyValidationError) Key() bool
Key function returns key value.
func (UpdateTenantReplyValidationError) Reason ¶
func (e UpdateTenantReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateTenantRequest ¶
type UpdateTenantRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Logo *string `protobuf:"bytes,2,opt,name=logo,proto3,oneof" json:"logo,omitempty"`
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
Weight *uint32 `protobuf:"varint,6,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
Setting *TenantSetting `protobuf:"bytes,7,opt,name=setting,proto3,oneof" json:"setting,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateTenantRequest) Descriptor
deprecated
func (*UpdateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTenantRequest.ProtoReflect.Descriptor instead.
func (*UpdateTenantRequest) GetDescription ¶
func (x *UpdateTenantRequest) GetDescription() string
func (*UpdateTenantRequest) GetId ¶
func (x *UpdateTenantRequest) GetId() uint32
func (*UpdateTenantRequest) GetLogo ¶
func (x *UpdateTenantRequest) GetLogo() string
func (*UpdateTenantRequest) GetName ¶
func (x *UpdateTenantRequest) GetName() string
func (*UpdateTenantRequest) GetSetting ¶
func (x *UpdateTenantRequest) GetSetting() *TenantSetting
func (*UpdateTenantRequest) GetStatus ¶
func (x *UpdateTenantRequest) GetStatus() bool
func (*UpdateTenantRequest) GetWeight ¶
func (x *UpdateTenantRequest) GetWeight() uint32
func (*UpdateTenantRequest) ProtoMessage ¶
func (*UpdateTenantRequest) ProtoMessage()
func (*UpdateTenantRequest) ProtoReflect ¶
func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message
func (*UpdateTenantRequest) Reset ¶
func (x *UpdateTenantRequest) Reset()
func (*UpdateTenantRequest) String ¶
func (x *UpdateTenantRequest) String() string
func (*UpdateTenantRequest) Validate ¶
func (m *UpdateTenantRequest) Validate() error
Validate checks the field values on UpdateTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTenantRequest) ValidateAll ¶
func (m *UpdateTenantRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTenantRequestMultiError, or nil if none found.
type UpdateTenantRequestMultiError ¶
type UpdateTenantRequestMultiError []error
UpdateTenantRequestMultiError is an error wrapping multiple validation errors returned by UpdateTenantRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTenantRequestMultiError) AllErrors ¶
func (m UpdateTenantRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTenantRequestMultiError) Error ¶
func (m UpdateTenantRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTenantRequestValidationError ¶
type UpdateTenantRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTenantRequestValidationError is the validation error returned by UpdateTenantRequest.Validate if the designated constraints aren't met.
func (UpdateTenantRequestValidationError) Cause ¶
func (e UpdateTenantRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTenantRequestValidationError) Error ¶
func (e UpdateTenantRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTenantRequestValidationError) ErrorName ¶
func (e UpdateTenantRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTenantRequestValidationError) Field ¶
func (e UpdateTenantRequestValidationError) Field() string
Field function returns field value.
func (UpdateTenantRequestValidationError) Key ¶
func (e UpdateTenantRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTenantRequestValidationError) Reason ¶
func (e UpdateTenantRequestValidationError) Reason() string
Reason function returns reason value.