tenant

package
v0.0.0-...-d36d6b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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

View Source
var File_api_tenant_proto_tenant_proto protoreflect.FileDescriptor
View Source
var File_api_tenant_proto_tenant_service_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (CreateTenantReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateTenantReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateTenantReplyValidationError) Field

Field function returns field value.

func (CreateTenantReplyValidationError) Key

Key function returns key value.

func (CreateTenantReplyValidationError) Reason

Reason function returns reason value.

type CreateTenantRequest

type CreateTenantRequest struct {
	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 (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

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

Cause function returns cause value.

func (CreateTenantRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateTenantRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateTenantRequestValidationError) Field

Field function returns field value.

func (CreateTenantRequestValidationError) Key

Key function returns key value.

func (CreateTenantRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTenantReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteTenantReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteTenantReplyValidationError) Field

Field function returns field value.

func (DeleteTenantReplyValidationError) Key

Key function returns key value.

func (DeleteTenantReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTenantRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTenantRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTenantRequestValidationError) Field

Field function returns field value.

func (DeleteTenantRequestValidationError) Key

Key function returns key value.

func (DeleteTenantRequestValidationError) Reason

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"`
	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 (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

Cause function returns cause value.

func (GetTenantReplyValidationError) Error

Error satisfies the builtin error interface

func (GetTenantReplyValidationError) ErrorName

func (e GetTenantReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetTenantReplyValidationError) Field

Field function returns field value.

func (GetTenantReplyValidationError) Key

Key function returns key value.

func (GetTenantReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetTenantRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTenantRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTenantRequestValidationError) Field

Field function returns field value.

func (GetTenantRequestValidationError) Key

Key function returns key value.

func (GetTenantRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (ListAppTenantReplyValidationError) Error

Error satisfies the builtin error interface

func (ListAppTenantReplyValidationError) ErrorName

ErrorName returns error name.

func (ListAppTenantReplyValidationError) Field

Field function returns field value.

func (ListAppTenantReplyValidationError) Key

Key function returns key value.

func (ListAppTenantReplyValidationError) Reason

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"`
	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 (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

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

Cause function returns cause value.

func (ListAppTenantReply_DataValidationError) Error

Error satisfies the builtin error interface

func (ListAppTenantReply_DataValidationError) ErrorName

ErrorName returns error name.

func (ListAppTenantReply_DataValidationError) Field

Field function returns field value.

func (ListAppTenantReply_DataValidationError) Key

Key function returns key value.

func (ListAppTenantReply_DataValidationError) Reason

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

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

Cause function returns cause value.

func (ListAppTenantRequestValidationError) Error

Error satisfies the builtin error interface

func (ListAppTenantRequestValidationError) ErrorName

ErrorName returns error name.

func (ListAppTenantRequestValidationError) Field

Field function returns field value.

func (ListAppTenantRequestValidationError) Key

Key function returns key value.

func (ListAppTenantRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListTenantReplyValidationError) Error

Error satisfies the builtin error interface

func (ListTenantReplyValidationError) ErrorName

func (e ListTenantReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListTenantReplyValidationError) Field

Field function returns field value.

func (ListTenantReplyValidationError) Key

Key function returns key value.

func (ListTenantReplyValidationError) Reason

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"`
	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 (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

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

Cause function returns cause value.

func (ListTenantReply_DataValidationError) Error

Error satisfies the builtin error interface

func (ListTenantReply_DataValidationError) ErrorName

ErrorName returns error name.

func (ListTenantReply_DataValidationError) Field

Field function returns field value.

func (ListTenantReply_DataValidationError) Key

Key function returns key value.

func (ListTenantReply_DataValidationError) Reason

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

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

Cause function returns cause value.

func (ListTenantRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTenantRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTenantRequestValidationError) Field

Field function returns field value.

func (ListTenantRequestValidationError) Key

Key function returns key value.

func (ListTenantRequestValidationError) Reason

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 (*TenantHTTPClientImpl) DeleteTenant

func (*TenantHTTPClientImpl) GetTenant

func (*TenantHTTPClientImpl) ListAppTenant

func (*TenantHTTPClientImpl) ListTenant

func (*TenantHTTPClientImpl) UpdateTenant

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

Cause function returns cause value.

func (TenantSettingValidationError) Error

Error satisfies the builtin error interface

func (TenantSettingValidationError) ErrorName

func (e TenantSettingValidationError) ErrorName() string

ErrorName returns error name.

func (TenantSettingValidationError) Field

Field function returns field value.

func (TenantSettingValidationError) Key

Key function returns key value.

func (TenantSettingValidationError) Reason

Reason function returns reason value.

type UnimplementedTenantServer

type UnimplementedTenantServer struct{}

UnimplementedTenantServer must be embedded to have forward compatible implementations.

func (UnimplementedTenantServer) CreateTenant

func (UnimplementedTenantServer) DeleteTenant

func (UnimplementedTenantServer) GetTenant

func (UnimplementedTenantServer) ListAppTenant

func (UnimplementedTenantServer) ListTenant

func (UnimplementedTenantServer) UpdateTenant

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

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

Cause function returns cause value.

func (UpdateTenantReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateTenantReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateTenantReplyValidationError) Field

Field function returns field value.

func (UpdateTenantReplyValidationError) Key

Key function returns key value.

func (UpdateTenantReplyValidationError) Reason

Reason function returns reason value.

type UpdateTenantRequest

type UpdateTenantRequest struct {
	Id          uint32         `protobuf:"varint,1,opt,name=id,proto3" json:"id,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 (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

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

Cause function returns cause value.

func (UpdateTenantRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTenantRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTenantRequestValidationError) Field

Field function returns field value.

func (UpdateTenantRequestValidationError) Key

Key function returns key value.

func (UpdateTenantRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL