Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterResourceHTTPServer(s *http.Server, srv ResourceHTTPServer)
- func RegisterResourceServer(s grpc.ServiceRegistrar, srv ResourceServer)
- type CreateResourceReply
- func (*CreateResourceReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceReply) GetId() uint32
- func (*CreateResourceReply) ProtoMessage()
- func (x *CreateResourceReply) ProtoReflect() protoreflect.Message
- func (x *CreateResourceReply) Reset()
- func (x *CreateResourceReply) String() string
- func (m *CreateResourceReply) Validate() error
- func (m *CreateResourceReply) ValidateAll() error
- type CreateResourceReplyMultiError
- type CreateResourceReplyValidationError
- func (e CreateResourceReplyValidationError) Cause() error
- func (e CreateResourceReplyValidationError) Error() string
- func (e CreateResourceReplyValidationError) ErrorName() string
- func (e CreateResourceReplyValidationError) Field() string
- func (e CreateResourceReplyValidationError) Key() bool
- func (e CreateResourceReplyValidationError) Reason() string
- type CreateResourceRequest
- func (*CreateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceRequest) GetDescription() string
- func (x *CreateResourceRequest) GetFields() string
- func (x *CreateResourceRequest) GetKeyword() string
- func (x *CreateResourceRequest) GetPrivate() bool
- func (x *CreateResourceRequest) GetServerIds() []uint32
- func (x *CreateResourceRequest) GetTag() string
- func (*CreateResourceRequest) ProtoMessage()
- func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceRequest) Reset()
- func (x *CreateResourceRequest) String() string
- func (m *CreateResourceRequest) Validate() error
- func (m *CreateResourceRequest) ValidateAll() error
- type CreateResourceRequestMultiError
- type CreateResourceRequestValidationError
- func (e CreateResourceRequestValidationError) Cause() error
- func (e CreateResourceRequestValidationError) Error() string
- func (e CreateResourceRequestValidationError) ErrorName() string
- func (e CreateResourceRequestValidationError) Field() string
- func (e CreateResourceRequestValidationError) Key() bool
- func (e CreateResourceRequestValidationError) Reason() string
- type DeleteResourceReply
- func (*DeleteResourceReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteResourceReply) ProtoMessage()
- func (x *DeleteResourceReply) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceReply) Reset()
- func (x *DeleteResourceReply) String() string
- func (m *DeleteResourceReply) Validate() error
- func (m *DeleteResourceReply) ValidateAll() error
- type DeleteResourceReplyMultiError
- type DeleteResourceReplyValidationError
- func (e DeleteResourceReplyValidationError) Cause() error
- func (e DeleteResourceReplyValidationError) Error() string
- func (e DeleteResourceReplyValidationError) ErrorName() string
- func (e DeleteResourceReplyValidationError) Field() string
- func (e DeleteResourceReplyValidationError) Key() bool
- func (e DeleteResourceReplyValidationError) Reason() string
- type DeleteResourceRequest
- func (*DeleteResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceRequest) GetId() uint32
- func (*DeleteResourceRequest) ProtoMessage()
- func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceRequest) Reset()
- func (x *DeleteResourceRequest) String() string
- func (m *DeleteResourceRequest) Validate() error
- func (m *DeleteResourceRequest) ValidateAll() error
- type DeleteResourceRequestMultiError
- type DeleteResourceRequestValidationError
- func (e DeleteResourceRequestValidationError) Cause() error
- func (e DeleteResourceRequestValidationError) Error() string
- func (e DeleteResourceRequestValidationError) ErrorName() string
- func (e DeleteResourceRequestValidationError) Field() string
- func (e DeleteResourceRequestValidationError) Key() bool
- func (e DeleteResourceRequestValidationError) Reason() string
- type GetResourceReply
- func (*GetResourceReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceReply) GetCreatedAt() uint32
- func (x *GetResourceReply) GetDescription() string
- func (x *GetResourceReply) GetFields() string
- func (x *GetResourceReply) GetId() uint32
- func (x *GetResourceReply) GetKeyword() string
- func (x *GetResourceReply) GetPrivate() bool
- func (x *GetResourceReply) GetServers() []*GetResourceReply_Server
- func (x *GetResourceReply) GetTag() string
- func (x *GetResourceReply) GetUpdatedAt() uint32
- func (*GetResourceReply) ProtoMessage()
- func (x *GetResourceReply) ProtoReflect() protoreflect.Message
- func (x *GetResourceReply) Reset()
- func (x *GetResourceReply) String() string
- func (m *GetResourceReply) Validate() error
- func (m *GetResourceReply) ValidateAll() error
- type GetResourceReplyMultiError
- type GetResourceReplyValidationError
- func (e GetResourceReplyValidationError) Cause() error
- func (e GetResourceReplyValidationError) Error() string
- func (e GetResourceReplyValidationError) ErrorName() string
- func (e GetResourceReplyValidationError) Field() string
- func (e GetResourceReplyValidationError) Key() bool
- func (e GetResourceReplyValidationError) Reason() string
- type GetResourceReply_Server
- func (*GetResourceReply_Server) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceReply_Server) GetId() uint32
- func (x *GetResourceReply_Server) GetName() string
- func (*GetResourceReply_Server) ProtoMessage()
- func (x *GetResourceReply_Server) ProtoReflect() protoreflect.Message
- func (x *GetResourceReply_Server) Reset()
- func (x *GetResourceReply_Server) String() string
- func (m *GetResourceReply_Server) Validate() error
- func (m *GetResourceReply_Server) ValidateAll() error
- type GetResourceReply_ServerMultiError
- type GetResourceReply_ServerValidationError
- func (e GetResourceReply_ServerValidationError) Cause() error
- func (e GetResourceReply_ServerValidationError) Error() string
- func (e GetResourceReply_ServerValidationError) ErrorName() string
- func (e GetResourceReply_ServerValidationError) Field() string
- func (e GetResourceReply_ServerValidationError) Key() bool
- func (e GetResourceReply_ServerValidationError) Reason() string
- type GetResourceRequest
- func (*GetResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceRequest) GetId() uint32
- func (x *GetResourceRequest) GetKeyword() string
- func (m *GetResourceRequest) GetParams() isGetResourceRequest_Params
- func (*GetResourceRequest) ProtoMessage()
- func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceRequest) Reset()
- func (x *GetResourceRequest) String() string
- func (m *GetResourceRequest) Validate() error
- func (m *GetResourceRequest) ValidateAll() error
- type GetResourceRequestMultiError
- type GetResourceRequestValidationError
- func (e GetResourceRequestValidationError) Cause() error
- func (e GetResourceRequestValidationError) Error() string
- func (e GetResourceRequestValidationError) ErrorName() string
- func (e GetResourceRequestValidationError) Field() string
- func (e GetResourceRequestValidationError) Key() bool
- func (e GetResourceRequestValidationError) Reason() string
- type GetResourceRequest_Id
- type GetResourceRequest_Keyword
- type ListResourceReply
- func (*ListResourceReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceReply) GetList() []*ListResourceReply_Resource
- func (x *ListResourceReply) GetTotal() uint32
- func (*ListResourceReply) ProtoMessage()
- func (x *ListResourceReply) ProtoReflect() protoreflect.Message
- func (x *ListResourceReply) Reset()
- func (x *ListResourceReply) String() string
- func (m *ListResourceReply) Validate() error
- func (m *ListResourceReply) ValidateAll() error
- type ListResourceReplyMultiError
- type ListResourceReplyValidationError
- func (e ListResourceReplyValidationError) Cause() error
- func (e ListResourceReplyValidationError) Error() string
- func (e ListResourceReplyValidationError) ErrorName() string
- func (e ListResourceReplyValidationError) Field() string
- func (e ListResourceReplyValidationError) Key() bool
- func (e ListResourceReplyValidationError) Reason() string
- type ListResourceReply_Resource
- func (*ListResourceReply_Resource) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceReply_Resource) GetCreatedAt() uint32
- func (x *ListResourceReply_Resource) GetDescription() string
- func (x *ListResourceReply_Resource) GetFields() string
- func (x *ListResourceReply_Resource) GetId() uint32
- func (x *ListResourceReply_Resource) GetKeyword() string
- func (x *ListResourceReply_Resource) GetPrivate() bool
- func (x *ListResourceReply_Resource) GetTag() string
- func (x *ListResourceReply_Resource) GetUpdatedAt() uint32
- func (*ListResourceReply_Resource) ProtoMessage()
- func (x *ListResourceReply_Resource) ProtoReflect() protoreflect.Message
- func (x *ListResourceReply_Resource) Reset()
- func (x *ListResourceReply_Resource) String() string
- func (m *ListResourceReply_Resource) Validate() error
- func (m *ListResourceReply_Resource) ValidateAll() error
- type ListResourceReply_ResourceMultiError
- type ListResourceReply_ResourceValidationError
- func (e ListResourceReply_ResourceValidationError) Cause() error
- func (e ListResourceReply_ResourceValidationError) Error() string
- func (e ListResourceReply_ResourceValidationError) ErrorName() string
- func (e ListResourceReply_ResourceValidationError) Field() string
- func (e ListResourceReply_ResourceValidationError) Key() bool
- func (e ListResourceReply_ResourceValidationError) Reason() string
- type ListResourceRequest
- func (*ListResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceRequest) GetKeyword() string
- func (x *ListResourceRequest) GetOrder() string
- func (x *ListResourceRequest) GetOrderBy() string
- func (x *ListResourceRequest) GetPage() uint32
- func (x *ListResourceRequest) GetPageSize() uint32
- func (x *ListResourceRequest) GetPrivate() bool
- func (x *ListResourceRequest) GetServerId() uint32
- func (x *ListResourceRequest) GetTag() string
- func (*ListResourceRequest) ProtoMessage()
- func (x *ListResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceRequest) Reset()
- func (x *ListResourceRequest) String() string
- func (m *ListResourceRequest) Validate() error
- func (m *ListResourceRequest) ValidateAll() error
- type ListResourceRequestMultiError
- type ListResourceRequestValidationError
- func (e ListResourceRequestValidationError) Cause() error
- func (e ListResourceRequestValidationError) Error() string
- func (e ListResourceRequestValidationError) ErrorName() string
- func (e ListResourceRequestValidationError) Field() string
- func (e ListResourceRequestValidationError) Key() bool
- func (e ListResourceRequestValidationError) Reason() string
- type ListResourceValueReply
- func (*ListResourceValueReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceValueReply) GetList() []*ListResourceValueReply_ResourceValue
- func (x *ListResourceValueReply) GetTotal() uint32
- func (*ListResourceValueReply) ProtoMessage()
- func (x *ListResourceValueReply) ProtoReflect() protoreflect.Message
- func (x *ListResourceValueReply) Reset()
- func (x *ListResourceValueReply) String() string
- func (m *ListResourceValueReply) Validate() error
- func (m *ListResourceValueReply) ValidateAll() error
- type ListResourceValueReplyMultiError
- type ListResourceValueReplyValidationError
- func (e ListResourceValueReplyValidationError) Cause() error
- func (e ListResourceValueReplyValidationError) Error() string
- func (e ListResourceValueReplyValidationError) ErrorName() string
- func (e ListResourceValueReplyValidationError) Field() string
- func (e ListResourceValueReplyValidationError) Key() bool
- func (e ListResourceValueReplyValidationError) Reason() string
- type ListResourceValueReply_ResourceValue
- func (*ListResourceValueReply_ResourceValue) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceValueReply_ResourceValue) GetCreatedAt() uint32
- func (x *ListResourceValueReply_ResourceValue) GetEnvId() uint32
- func (x *ListResourceValueReply_ResourceValue) GetId() uint32
- func (x *ListResourceValueReply_ResourceValue) GetResourceId() uint32
- func (x *ListResourceValueReply_ResourceValue) GetUpdatedAt() uint32
- func (x *ListResourceValueReply_ResourceValue) GetValue() string
- func (*ListResourceValueReply_ResourceValue) ProtoMessage()
- func (x *ListResourceValueReply_ResourceValue) ProtoReflect() protoreflect.Message
- func (x *ListResourceValueReply_ResourceValue) Reset()
- func (x *ListResourceValueReply_ResourceValue) String() string
- func (m *ListResourceValueReply_ResourceValue) Validate() error
- func (m *ListResourceValueReply_ResourceValue) ValidateAll() error
- type ListResourceValueReply_ResourceValueMultiError
- type ListResourceValueReply_ResourceValueValidationError
- func (e ListResourceValueReply_ResourceValueValidationError) Cause() error
- func (e ListResourceValueReply_ResourceValueValidationError) Error() string
- func (e ListResourceValueReply_ResourceValueValidationError) ErrorName() string
- func (e ListResourceValueReply_ResourceValueValidationError) Field() string
- func (e ListResourceValueReply_ResourceValueValidationError) Key() bool
- func (e ListResourceValueReply_ResourceValueValidationError) Reason() string
- type ListResourceValueRequest
- func (*ListResourceValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceValueRequest) GetResourceId() uint32
- func (*ListResourceValueRequest) ProtoMessage()
- func (x *ListResourceValueRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceValueRequest) Reset()
- func (x *ListResourceValueRequest) String() string
- func (m *ListResourceValueRequest) Validate() error
- func (m *ListResourceValueRequest) ValidateAll() error
- type ListResourceValueRequestMultiError
- type ListResourceValueRequestValidationError
- func (e ListResourceValueRequestValidationError) Cause() error
- func (e ListResourceValueRequestValidationError) Error() string
- func (e ListResourceValueRequestValidationError) ErrorName() string
- func (e ListResourceValueRequestValidationError) Field() string
- func (e ListResourceValueRequestValidationError) Key() bool
- func (e ListResourceValueRequestValidationError) Reason() string
- type ResourceClient
- type ResourceHTTPClient
- type ResourceHTTPClientImpl
- func (c *ResourceHTTPClientImpl) CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...http.CallOption) (*CreateResourceReply, error)
- func (c *ResourceHTTPClientImpl) DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...http.CallOption) (*DeleteResourceReply, error)
- func (c *ResourceHTTPClientImpl) GetResource(ctx context.Context, in *GetResourceRequest, opts ...http.CallOption) (*GetResourceReply, error)
- func (c *ResourceHTTPClientImpl) ListResource(ctx context.Context, in *ListResourceRequest, opts ...http.CallOption) (*ListResourceReply, error)
- func (c *ResourceHTTPClientImpl) ListResourceValue(ctx context.Context, in *ListResourceValueRequest, opts ...http.CallOption) (*ListResourceValueReply, error)
- func (c *ResourceHTTPClientImpl) UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...http.CallOption) (*UpdateResourceReply, error)
- func (c *ResourceHTTPClientImpl) UpdateResourceValue(ctx context.Context, in *UpdateResourceValueRequest, opts ...http.CallOption) (*UpdateResourceValueReply, error)
- type ResourceHTTPServer
- type ResourceServer
- type UnimplementedResourceServer
- func (UnimplementedResourceServer) CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceReply, error)
- func (UnimplementedResourceServer) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceReply, error)
- func (UnimplementedResourceServer) GetResource(context.Context, *GetResourceRequest) (*GetResourceReply, error)
- func (UnimplementedResourceServer) ListResource(context.Context, *ListResourceRequest) (*ListResourceReply, error)
- func (UnimplementedResourceServer) ListResourceValue(context.Context, *ListResourceValueRequest) (*ListResourceValueReply, error)
- func (UnimplementedResourceServer) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceReply, error)
- func (UnimplementedResourceServer) UpdateResourceValue(context.Context, *UpdateResourceValueRequest) (*UpdateResourceValueReply, error)
- type UnsafeResourceServer
- type UpdateResourceReply
- func (*UpdateResourceReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateResourceReply) ProtoMessage()
- func (x *UpdateResourceReply) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceReply) Reset()
- func (x *UpdateResourceReply) String() string
- func (m *UpdateResourceReply) Validate() error
- func (m *UpdateResourceReply) ValidateAll() error
- type UpdateResourceReplyMultiError
- type UpdateResourceReplyValidationError
- func (e UpdateResourceReplyValidationError) Cause() error
- func (e UpdateResourceReplyValidationError) Error() string
- func (e UpdateResourceReplyValidationError) ErrorName() string
- func (e UpdateResourceReplyValidationError) Field() string
- func (e UpdateResourceReplyValidationError) Key() bool
- func (e UpdateResourceReplyValidationError) Reason() string
- type UpdateResourceRequest
- func (*UpdateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceRequest) GetDescription() string
- func (x *UpdateResourceRequest) GetFields() string
- func (x *UpdateResourceRequest) GetId() uint32
- func (x *UpdateResourceRequest) GetKeyword() string
- func (x *UpdateResourceRequest) GetPrivate() bool
- func (x *UpdateResourceRequest) GetServerIds() []uint32
- func (x *UpdateResourceRequest) GetTag() string
- func (*UpdateResourceRequest) ProtoMessage()
- func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceRequest) Reset()
- func (x *UpdateResourceRequest) String() string
- func (m *UpdateResourceRequest) Validate() error
- func (m *UpdateResourceRequest) ValidateAll() error
- type UpdateResourceRequestMultiError
- type UpdateResourceRequestValidationError
- func (e UpdateResourceRequestValidationError) Cause() error
- func (e UpdateResourceRequestValidationError) Error() string
- func (e UpdateResourceRequestValidationError) ErrorName() string
- func (e UpdateResourceRequestValidationError) Field() string
- func (e UpdateResourceRequestValidationError) Key() bool
- func (e UpdateResourceRequestValidationError) Reason() string
- type UpdateResourceValueReply
- func (*UpdateResourceValueReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateResourceValueReply) ProtoMessage()
- func (x *UpdateResourceValueReply) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceValueReply) Reset()
- func (x *UpdateResourceValueReply) String() string
- func (m *UpdateResourceValueReply) Validate() error
- func (m *UpdateResourceValueReply) ValidateAll() error
- type UpdateResourceValueReplyMultiError
- type UpdateResourceValueReplyValidationError
- func (e UpdateResourceValueReplyValidationError) Cause() error
- func (e UpdateResourceValueReplyValidationError) Error() string
- func (e UpdateResourceValueReplyValidationError) ErrorName() string
- func (e UpdateResourceValueReplyValidationError) Field() string
- func (e UpdateResourceValueReplyValidationError) Key() bool
- func (e UpdateResourceValueReplyValidationError) Reason() string
- type UpdateResourceValueRequest
- func (*UpdateResourceValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceValueRequest) GetList() []*UpdateResourceValueRequest_Value
- func (x *UpdateResourceValueRequest) GetResourceId() uint32
- func (*UpdateResourceValueRequest) ProtoMessage()
- func (x *UpdateResourceValueRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceValueRequest) Reset()
- func (x *UpdateResourceValueRequest) String() string
- func (m *UpdateResourceValueRequest) Validate() error
- func (m *UpdateResourceValueRequest) ValidateAll() error
- type UpdateResourceValueRequestMultiError
- type UpdateResourceValueRequestValidationError
- func (e UpdateResourceValueRequestValidationError) Cause() error
- func (e UpdateResourceValueRequestValidationError) Error() string
- func (e UpdateResourceValueRequestValidationError) ErrorName() string
- func (e UpdateResourceValueRequestValidationError) Field() string
- func (e UpdateResourceValueRequestValidationError) Key() bool
- func (e UpdateResourceValueRequestValidationError) Reason() string
- type UpdateResourceValueRequest_Value
- func (*UpdateResourceValueRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceValueRequest_Value) GetEnvId() uint32
- func (x *UpdateResourceValueRequest_Value) GetValue() string
- func (*UpdateResourceValueRequest_Value) ProtoMessage()
- func (x *UpdateResourceValueRequest_Value) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceValueRequest_Value) Reset()
- func (x *UpdateResourceValueRequest_Value) String() string
- func (m *UpdateResourceValueRequest_Value) Validate() error
- func (m *UpdateResourceValueRequest_Value) ValidateAll() error
- type UpdateResourceValueRequest_ValueMultiError
- type UpdateResourceValueRequest_ValueValidationError
- func (e UpdateResourceValueRequest_ValueValidationError) Cause() error
- func (e UpdateResourceValueRequest_ValueValidationError) Error() string
- func (e UpdateResourceValueRequest_ValueValidationError) ErrorName() string
- func (e UpdateResourceValueRequest_ValueValidationError) Field() string
- func (e UpdateResourceValueRequest_ValueValidationError) Key() bool
- func (e UpdateResourceValueRequest_ValueValidationError) Reason() string
Constants ¶
const ( Resource_GetResource_FullMethodName = "/configure.api.configure.resource.v1.Resource/GetResource" Resource_ListResource_FullMethodName = "/configure.api.configure.resource.v1.Resource/ListResource" Resource_CreateResource_FullMethodName = "/configure.api.configure.resource.v1.Resource/CreateResource" Resource_UpdateResource_FullMethodName = "/configure.api.configure.resource.v1.Resource/UpdateResource" Resource_DeleteResource_FullMethodName = "/configure.api.configure.resource.v1.Resource/DeleteResource" Resource_ListResourceValue_FullMethodName = "/configure.api.configure.resource.v1.Resource/ListResourceValue" Resource_UpdateResourceValue_FullMethodName = "/configure.api.configure.resource.v1.Resource/UpdateResourceValue" )
const OperationResourceCreateResource = "/configure.api.configure.resource.v1.Resource/CreateResource"
const OperationResourceDeleteResource = "/configure.api.configure.resource.v1.Resource/DeleteResource"
const OperationResourceGetResource = "/configure.api.configure.resource.v1.Resource/GetResource"
const OperationResourceListResource = "/configure.api.configure.resource.v1.Resource/ListResource"
const OperationResourceListResourceValue = "/configure.api.configure.resource.v1.Resource/ListResourceValue"
const OperationResourceUpdateResource = "/configure.api.configure.resource.v1.Resource/UpdateResource"
const OperationResourceUpdateResourceValue = "/configure.api.configure.resource.v1.Resource/UpdateResourceValue"
Variables ¶
var File_api_configure_resource_configure_resource_proto protoreflect.FileDescriptor
var File_api_configure_resource_configure_resource_service_proto protoreflect.FileDescriptor
var File_api_configure_resource_configure_resource_value_proto protoreflect.FileDescriptor
var Resource_ServiceDesc = grpc.ServiceDesc{ ServiceName: "configure.api.configure.resource.v1.Resource", HandlerType: (*ResourceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetResource", Handler: _Resource_GetResource_Handler, }, { MethodName: "ListResource", Handler: _Resource_ListResource_Handler, }, { MethodName: "CreateResource", Handler: _Resource_CreateResource_Handler, }, { MethodName: "UpdateResource", Handler: _Resource_UpdateResource_Handler, }, { MethodName: "DeleteResource", Handler: _Resource_DeleteResource_Handler, }, { MethodName: "ListResourceValue", Handler: _Resource_ListResourceValue_Handler, }, { MethodName: "UpdateResourceValue", Handler: _Resource_UpdateResourceValue_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/configure/resource/configure_resource_service.proto", }
Resource_ServiceDesc is the grpc.ServiceDesc for Resource service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterResourceHTTPServer ¶
func RegisterResourceHTTPServer(s *http.Server, srv ResourceHTTPServer)
func RegisterResourceServer ¶
func RegisterResourceServer(s grpc.ServiceRegistrar, srv ResourceServer)
Types ¶
type CreateResourceReply ¶
type CreateResourceReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceReply) Descriptor
deprecated
func (*CreateResourceReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceReply.ProtoReflect.Descriptor instead.
func (*CreateResourceReply) GetId ¶
func (x *CreateResourceReply) GetId() uint32
func (*CreateResourceReply) ProtoMessage ¶
func (*CreateResourceReply) ProtoMessage()
func (*CreateResourceReply) ProtoReflect ¶
func (x *CreateResourceReply) ProtoReflect() protoreflect.Message
func (*CreateResourceReply) Reset ¶
func (x *CreateResourceReply) Reset()
func (*CreateResourceReply) String ¶
func (x *CreateResourceReply) String() string
func (*CreateResourceReply) Validate ¶
func (m *CreateResourceReply) Validate() error
Validate checks the field values on CreateResourceReply 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 (*CreateResourceReply) ValidateAll ¶
func (m *CreateResourceReply) ValidateAll() error
ValidateAll checks the field values on CreateResourceReply 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 CreateResourceReplyMultiError, or nil if none found.
type CreateResourceReplyMultiError ¶
type CreateResourceReplyMultiError []error
CreateResourceReplyMultiError is an error wrapping multiple validation errors returned by CreateResourceReply.ValidateAll() if the designated constraints aren't met.
func (CreateResourceReplyMultiError) AllErrors ¶
func (m CreateResourceReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateResourceReplyMultiError) Error ¶
func (m CreateResourceReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateResourceReplyValidationError ¶
type CreateResourceReplyValidationError struct {
// contains filtered or unexported fields
}
CreateResourceReplyValidationError is the validation error returned by CreateResourceReply.Validate if the designated constraints aren't met.
func (CreateResourceReplyValidationError) Cause ¶
func (e CreateResourceReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateResourceReplyValidationError) Error ¶
func (e CreateResourceReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateResourceReplyValidationError) ErrorName ¶
func (e CreateResourceReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateResourceReplyValidationError) Field ¶
func (e CreateResourceReplyValidationError) Field() string
Field function returns field value.
func (CreateResourceReplyValidationError) Key ¶
func (e CreateResourceReplyValidationError) Key() bool
Key function returns key value.
func (CreateResourceReplyValidationError) Reason ¶
func (e CreateResourceReplyValidationError) Reason() string
Reason function returns reason value.
type CreateResourceRequest ¶
type CreateResourceRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` Fields string `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` Private *bool `protobuf:"varint,4,opt,name=private,proto3,oneof" json:"private,omitempty"` ServerIds []uint32 `protobuf:"varint,5,rep,packed,name=serverIds,proto3" json:"serverIds,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceRequest) Descriptor
deprecated
func (*CreateResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.
func (*CreateResourceRequest) GetDescription ¶
func (x *CreateResourceRequest) GetDescription() string
func (*CreateResourceRequest) GetFields ¶
func (x *CreateResourceRequest) GetFields() string
func (*CreateResourceRequest) GetKeyword ¶
func (x *CreateResourceRequest) GetKeyword() string
func (*CreateResourceRequest) GetPrivate ¶
func (x *CreateResourceRequest) GetPrivate() bool
func (*CreateResourceRequest) GetServerIds ¶
func (x *CreateResourceRequest) GetServerIds() []uint32
func (*CreateResourceRequest) GetTag ¶
func (x *CreateResourceRequest) GetTag() string
func (*CreateResourceRequest) ProtoMessage ¶
func (*CreateResourceRequest) ProtoMessage()
func (*CreateResourceRequest) ProtoReflect ¶
func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
func (*CreateResourceRequest) Reset ¶
func (x *CreateResourceRequest) Reset()
func (*CreateResourceRequest) String ¶
func (x *CreateResourceRequest) String() string
func (*CreateResourceRequest) Validate ¶
func (m *CreateResourceRequest) Validate() error
Validate checks the field values on CreateResourceRequest 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 (*CreateResourceRequest) ValidateAll ¶
func (m *CreateResourceRequest) ValidateAll() error
ValidateAll checks the field values on CreateResourceRequest 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 CreateResourceRequestMultiError, or nil if none found.
type CreateResourceRequestMultiError ¶
type CreateResourceRequestMultiError []error
CreateResourceRequestMultiError is an error wrapping multiple validation errors returned by CreateResourceRequest.ValidateAll() if the designated constraints aren't met.
func (CreateResourceRequestMultiError) AllErrors ¶
func (m CreateResourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateResourceRequestMultiError) Error ¶
func (m CreateResourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateResourceRequestValidationError ¶
type CreateResourceRequestValidationError struct {
// contains filtered or unexported fields
}
CreateResourceRequestValidationError is the validation error returned by CreateResourceRequest.Validate if the designated constraints aren't met.
func (CreateResourceRequestValidationError) Cause ¶
func (e CreateResourceRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateResourceRequestValidationError) Error ¶
func (e CreateResourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateResourceRequestValidationError) ErrorName ¶
func (e CreateResourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateResourceRequestValidationError) Field ¶
func (e CreateResourceRequestValidationError) Field() string
Field function returns field value.
func (CreateResourceRequestValidationError) Key ¶
func (e CreateResourceRequestValidationError) Key() bool
Key function returns key value.
func (CreateResourceRequestValidationError) Reason ¶
func (e CreateResourceRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteResourceReply ¶
type DeleteResourceReply struct {
// contains filtered or unexported fields
}
func (*DeleteResourceReply) Descriptor
deprecated
func (*DeleteResourceReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceReply.ProtoReflect.Descriptor instead.
func (*DeleteResourceReply) ProtoMessage ¶
func (*DeleteResourceReply) ProtoMessage()
func (*DeleteResourceReply) ProtoReflect ¶
func (x *DeleteResourceReply) ProtoReflect() protoreflect.Message
func (*DeleteResourceReply) Reset ¶
func (x *DeleteResourceReply) Reset()
func (*DeleteResourceReply) String ¶
func (x *DeleteResourceReply) String() string
func (*DeleteResourceReply) Validate ¶
func (m *DeleteResourceReply) Validate() error
Validate checks the field values on DeleteResourceReply 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 (*DeleteResourceReply) ValidateAll ¶
func (m *DeleteResourceReply) ValidateAll() error
ValidateAll checks the field values on DeleteResourceReply 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 DeleteResourceReplyMultiError, or nil if none found.
type DeleteResourceReplyMultiError ¶
type DeleteResourceReplyMultiError []error
DeleteResourceReplyMultiError is an error wrapping multiple validation errors returned by DeleteResourceReply.ValidateAll() if the designated constraints aren't met.
func (DeleteResourceReplyMultiError) AllErrors ¶
func (m DeleteResourceReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteResourceReplyMultiError) Error ¶
func (m DeleteResourceReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteResourceReplyValidationError ¶
type DeleteResourceReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteResourceReplyValidationError is the validation error returned by DeleteResourceReply.Validate if the designated constraints aren't met.
func (DeleteResourceReplyValidationError) Cause ¶
func (e DeleteResourceReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteResourceReplyValidationError) Error ¶
func (e DeleteResourceReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteResourceReplyValidationError) ErrorName ¶
func (e DeleteResourceReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteResourceReplyValidationError) Field ¶
func (e DeleteResourceReplyValidationError) Field() string
Field function returns field value.
func (DeleteResourceReplyValidationError) Key ¶
func (e DeleteResourceReplyValidationError) Key() bool
Key function returns key value.
func (DeleteResourceReplyValidationError) Reason ¶
func (e DeleteResourceReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteResourceRequest ¶
type DeleteResourceRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceRequest) Descriptor
deprecated
func (*DeleteResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.
func (*DeleteResourceRequest) GetId ¶ added in v1.0.45
func (x *DeleteResourceRequest) GetId() uint32
func (*DeleteResourceRequest) ProtoMessage ¶
func (*DeleteResourceRequest) ProtoMessage()
func (*DeleteResourceRequest) ProtoReflect ¶
func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
func (*DeleteResourceRequest) Reset ¶
func (x *DeleteResourceRequest) Reset()
func (*DeleteResourceRequest) String ¶
func (x *DeleteResourceRequest) String() string
func (*DeleteResourceRequest) Validate ¶
func (m *DeleteResourceRequest) Validate() error
Validate checks the field values on DeleteResourceRequest 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 (*DeleteResourceRequest) ValidateAll ¶
func (m *DeleteResourceRequest) ValidateAll() error
ValidateAll checks the field values on DeleteResourceRequest 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 DeleteResourceRequestMultiError, or nil if none found.
type DeleteResourceRequestMultiError ¶
type DeleteResourceRequestMultiError []error
DeleteResourceRequestMultiError is an error wrapping multiple validation errors returned by DeleteResourceRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteResourceRequestMultiError) AllErrors ¶
func (m DeleteResourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteResourceRequestMultiError) Error ¶
func (m DeleteResourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteResourceRequestValidationError ¶
type DeleteResourceRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteResourceRequestValidationError is the validation error returned by DeleteResourceRequest.Validate if the designated constraints aren't met.
func (DeleteResourceRequestValidationError) Cause ¶
func (e DeleteResourceRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteResourceRequestValidationError) Error ¶
func (e DeleteResourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteResourceRequestValidationError) ErrorName ¶
func (e DeleteResourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteResourceRequestValidationError) Field ¶
func (e DeleteResourceRequestValidationError) Field() string
Field function returns field value.
func (DeleteResourceRequestValidationError) Key ¶
func (e DeleteResourceRequestValidationError) Key() bool
Key function returns key value.
func (DeleteResourceRequestValidationError) Reason ¶
func (e DeleteResourceRequestValidationError) Reason() string
Reason function returns reason value.
type GetResourceReply ¶
type GetResourceReply 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"` Fields string `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Private *bool `protobuf:"varint,5,opt,name=private,proto3,oneof" json:"private,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Servers []*GetResourceReply_Server `protobuf:"bytes,9,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
func (*GetResourceReply) Descriptor
deprecated
func (*GetResourceReply) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceReply.ProtoReflect.Descriptor instead.
func (*GetResourceReply) GetCreatedAt ¶
func (x *GetResourceReply) GetCreatedAt() uint32
func (*GetResourceReply) GetDescription ¶
func (x *GetResourceReply) GetDescription() string
func (*GetResourceReply) GetFields ¶
func (x *GetResourceReply) GetFields() string
func (*GetResourceReply) GetId ¶
func (x *GetResourceReply) GetId() uint32
func (*GetResourceReply) GetKeyword ¶
func (x *GetResourceReply) GetKeyword() string
func (*GetResourceReply) GetPrivate ¶
func (x *GetResourceReply) GetPrivate() bool
func (*GetResourceReply) GetServers ¶
func (x *GetResourceReply) GetServers() []*GetResourceReply_Server
func (*GetResourceReply) GetTag ¶
func (x *GetResourceReply) GetTag() string
func (*GetResourceReply) GetUpdatedAt ¶
func (x *GetResourceReply) GetUpdatedAt() uint32
func (*GetResourceReply) ProtoMessage ¶
func (*GetResourceReply) ProtoMessage()
func (*GetResourceReply) ProtoReflect ¶
func (x *GetResourceReply) ProtoReflect() protoreflect.Message
func (*GetResourceReply) Reset ¶
func (x *GetResourceReply) Reset()
func (*GetResourceReply) String ¶
func (x *GetResourceReply) String() string
func (*GetResourceReply) Validate ¶
func (m *GetResourceReply) Validate() error
Validate checks the field values on GetResourceReply 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 (*GetResourceReply) ValidateAll ¶
func (m *GetResourceReply) ValidateAll() error
ValidateAll checks the field values on GetResourceReply 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 GetResourceReplyMultiError, or nil if none found.
type GetResourceReplyMultiError ¶
type GetResourceReplyMultiError []error
GetResourceReplyMultiError is an error wrapping multiple validation errors returned by GetResourceReply.ValidateAll() if the designated constraints aren't met.
func (GetResourceReplyMultiError) AllErrors ¶
func (m GetResourceReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetResourceReplyMultiError) Error ¶
func (m GetResourceReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetResourceReplyValidationError ¶
type GetResourceReplyValidationError struct {
// contains filtered or unexported fields
}
GetResourceReplyValidationError is the validation error returned by GetResourceReply.Validate if the designated constraints aren't met.
func (GetResourceReplyValidationError) Cause ¶
func (e GetResourceReplyValidationError) Cause() error
Cause function returns cause value.
func (GetResourceReplyValidationError) Error ¶
func (e GetResourceReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetResourceReplyValidationError) ErrorName ¶
func (e GetResourceReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetResourceReplyValidationError) Field ¶
func (e GetResourceReplyValidationError) Field() string
Field function returns field value.
func (GetResourceReplyValidationError) Key ¶
func (e GetResourceReplyValidationError) Key() bool
Key function returns key value.
func (GetResourceReplyValidationError) Reason ¶
func (e GetResourceReplyValidationError) Reason() string
Reason function returns reason value.
type GetResourceReply_Server ¶
type GetResourceReply_Server struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetResourceReply_Server) Descriptor
deprecated
func (*GetResourceReply_Server) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceReply_Server.ProtoReflect.Descriptor instead.
func (*GetResourceReply_Server) GetId ¶
func (x *GetResourceReply_Server) GetId() uint32
func (*GetResourceReply_Server) GetName ¶
func (x *GetResourceReply_Server) GetName() string
func (*GetResourceReply_Server) ProtoMessage ¶
func (*GetResourceReply_Server) ProtoMessage()
func (*GetResourceReply_Server) ProtoReflect ¶
func (x *GetResourceReply_Server) ProtoReflect() protoreflect.Message
func (*GetResourceReply_Server) Reset ¶
func (x *GetResourceReply_Server) Reset()
func (*GetResourceReply_Server) String ¶
func (x *GetResourceReply_Server) String() string
func (*GetResourceReply_Server) Validate ¶
func (m *GetResourceReply_Server) Validate() error
Validate checks the field values on GetResourceReply_Server 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 (*GetResourceReply_Server) ValidateAll ¶
func (m *GetResourceReply_Server) ValidateAll() error
ValidateAll checks the field values on GetResourceReply_Server 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 GetResourceReply_ServerMultiError, or nil if none found.
type GetResourceReply_ServerMultiError ¶
type GetResourceReply_ServerMultiError []error
GetResourceReply_ServerMultiError is an error wrapping multiple validation errors returned by GetResourceReply_Server.ValidateAll() if the designated constraints aren't met.
func (GetResourceReply_ServerMultiError) AllErrors ¶
func (m GetResourceReply_ServerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetResourceReply_ServerMultiError) Error ¶
func (m GetResourceReply_ServerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetResourceReply_ServerValidationError ¶
type GetResourceReply_ServerValidationError struct {
// contains filtered or unexported fields
}
GetResourceReply_ServerValidationError is the validation error returned by GetResourceReply_Server.Validate if the designated constraints aren't met.
func (GetResourceReply_ServerValidationError) Cause ¶
func (e GetResourceReply_ServerValidationError) Cause() error
Cause function returns cause value.
func (GetResourceReply_ServerValidationError) Error ¶
func (e GetResourceReply_ServerValidationError) Error() string
Error satisfies the builtin error interface
func (GetResourceReply_ServerValidationError) ErrorName ¶
func (e GetResourceReply_ServerValidationError) ErrorName() string
ErrorName returns error name.
func (GetResourceReply_ServerValidationError) Field ¶
func (e GetResourceReply_ServerValidationError) Field() string
Field function returns field value.
func (GetResourceReply_ServerValidationError) Key ¶
func (e GetResourceReply_ServerValidationError) Key() bool
Key function returns key value.
func (GetResourceReply_ServerValidationError) Reason ¶
func (e GetResourceReply_ServerValidationError) Reason() string
Reason function returns reason value.
type GetResourceRequest ¶
type GetResourceRequest struct { // Types that are assignable to Params: // // *GetResourceRequest_Id // *GetResourceRequest_Keyword Params isGetResourceRequest_Params `protobuf_oneof:"params"` // contains filtered or unexported fields }
func (*GetResourceRequest) Descriptor
deprecated
func (*GetResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.
func (*GetResourceRequest) GetId ¶
func (x *GetResourceRequest) GetId() uint32
func (*GetResourceRequest) GetKeyword ¶
func (x *GetResourceRequest) GetKeyword() string
func (*GetResourceRequest) GetParams ¶ added in v1.0.45
func (m *GetResourceRequest) GetParams() isGetResourceRequest_Params
func (*GetResourceRequest) ProtoMessage ¶
func (*GetResourceRequest) ProtoMessage()
func (*GetResourceRequest) ProtoReflect ¶
func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
func (*GetResourceRequest) Reset ¶
func (x *GetResourceRequest) Reset()
func (*GetResourceRequest) String ¶
func (x *GetResourceRequest) String() string
func (*GetResourceRequest) Validate ¶
func (m *GetResourceRequest) Validate() error
Validate checks the field values on GetResourceRequest 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 (*GetResourceRequest) ValidateAll ¶
func (m *GetResourceRequest) ValidateAll() error
ValidateAll checks the field values on GetResourceRequest 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 GetResourceRequestMultiError, or nil if none found.
type GetResourceRequestMultiError ¶
type GetResourceRequestMultiError []error
GetResourceRequestMultiError is an error wrapping multiple validation errors returned by GetResourceRequest.ValidateAll() if the designated constraints aren't met.
func (GetResourceRequestMultiError) AllErrors ¶
func (m GetResourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetResourceRequestMultiError) Error ¶
func (m GetResourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetResourceRequestValidationError ¶
type GetResourceRequestValidationError struct {
// contains filtered or unexported fields
}
GetResourceRequestValidationError is the validation error returned by GetResourceRequest.Validate if the designated constraints aren't met.
func (GetResourceRequestValidationError) Cause ¶
func (e GetResourceRequestValidationError) Cause() error
Cause function returns cause value.
func (GetResourceRequestValidationError) Error ¶
func (e GetResourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetResourceRequestValidationError) ErrorName ¶
func (e GetResourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetResourceRequestValidationError) Field ¶
func (e GetResourceRequestValidationError) Field() string
Field function returns field value.
func (GetResourceRequestValidationError) Key ¶
func (e GetResourceRequestValidationError) Key() bool
Key function returns key value.
func (GetResourceRequestValidationError) Reason ¶
func (e GetResourceRequestValidationError) Reason() string
Reason function returns reason value.
type GetResourceRequest_Id ¶ added in v1.0.45
type GetResourceRequest_Id struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof"`
}
type GetResourceRequest_Keyword ¶ added in v1.0.45
type GetResourceRequest_Keyword struct {
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3,oneof"`
}
type ListResourceReply ¶
type ListResourceReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListResourceReply_Resource `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListResourceReply) Descriptor
deprecated
func (*ListResourceReply) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceReply.ProtoReflect.Descriptor instead.
func (*ListResourceReply) GetList ¶
func (x *ListResourceReply) GetList() []*ListResourceReply_Resource
func (*ListResourceReply) GetTotal ¶
func (x *ListResourceReply) GetTotal() uint32
func (*ListResourceReply) ProtoMessage ¶
func (*ListResourceReply) ProtoMessage()
func (*ListResourceReply) ProtoReflect ¶
func (x *ListResourceReply) ProtoReflect() protoreflect.Message
func (*ListResourceReply) Reset ¶
func (x *ListResourceReply) Reset()
func (*ListResourceReply) String ¶
func (x *ListResourceReply) String() string
func (*ListResourceReply) Validate ¶
func (m *ListResourceReply) Validate() error
Validate checks the field values on ListResourceReply 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 (*ListResourceReply) ValidateAll ¶
func (m *ListResourceReply) ValidateAll() error
ValidateAll checks the field values on ListResourceReply 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 ListResourceReplyMultiError, or nil if none found.
type ListResourceReplyMultiError ¶
type ListResourceReplyMultiError []error
ListResourceReplyMultiError is an error wrapping multiple validation errors returned by ListResourceReply.ValidateAll() if the designated constraints aren't met.
func (ListResourceReplyMultiError) AllErrors ¶
func (m ListResourceReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResourceReplyMultiError) Error ¶
func (m ListResourceReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResourceReplyValidationError ¶
type ListResourceReplyValidationError struct {
// contains filtered or unexported fields
}
ListResourceReplyValidationError is the validation error returned by ListResourceReply.Validate if the designated constraints aren't met.
func (ListResourceReplyValidationError) Cause ¶
func (e ListResourceReplyValidationError) Cause() error
Cause function returns cause value.
func (ListResourceReplyValidationError) Error ¶
func (e ListResourceReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListResourceReplyValidationError) ErrorName ¶
func (e ListResourceReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListResourceReplyValidationError) Field ¶
func (e ListResourceReplyValidationError) Field() string
Field function returns field value.
func (ListResourceReplyValidationError) Key ¶
func (e ListResourceReplyValidationError) Key() bool
Key function returns key value.
func (ListResourceReplyValidationError) Reason ¶
func (e ListResourceReplyValidationError) Reason() string
Reason function returns reason value.
type ListResourceReply_Resource ¶
type ListResourceReply_Resource 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"` Fields string `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Private *bool `protobuf:"varint,5,opt,name=private,proto3,oneof" json:"private,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListResourceReply_Resource) Descriptor
deprecated
func (*ListResourceReply_Resource) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceReply_Resource.ProtoReflect.Descriptor instead.
func (*ListResourceReply_Resource) GetCreatedAt ¶
func (x *ListResourceReply_Resource) GetCreatedAt() uint32
func (*ListResourceReply_Resource) GetDescription ¶
func (x *ListResourceReply_Resource) GetDescription() string
func (*ListResourceReply_Resource) GetFields ¶
func (x *ListResourceReply_Resource) GetFields() string
func (*ListResourceReply_Resource) GetId ¶
func (x *ListResourceReply_Resource) GetId() uint32
func (*ListResourceReply_Resource) GetKeyword ¶
func (x *ListResourceReply_Resource) GetKeyword() string
func (*ListResourceReply_Resource) GetPrivate ¶
func (x *ListResourceReply_Resource) GetPrivate() bool
func (*ListResourceReply_Resource) GetTag ¶
func (x *ListResourceReply_Resource) GetTag() string
func (*ListResourceReply_Resource) GetUpdatedAt ¶
func (x *ListResourceReply_Resource) GetUpdatedAt() uint32
func (*ListResourceReply_Resource) ProtoMessage ¶
func (*ListResourceReply_Resource) ProtoMessage()
func (*ListResourceReply_Resource) ProtoReflect ¶
func (x *ListResourceReply_Resource) ProtoReflect() protoreflect.Message
func (*ListResourceReply_Resource) Reset ¶
func (x *ListResourceReply_Resource) Reset()
func (*ListResourceReply_Resource) String ¶
func (x *ListResourceReply_Resource) String() string
func (*ListResourceReply_Resource) Validate ¶
func (m *ListResourceReply_Resource) Validate() error
Validate checks the field values on ListResourceReply_Resource 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 (*ListResourceReply_Resource) ValidateAll ¶
func (m *ListResourceReply_Resource) ValidateAll() error
ValidateAll checks the field values on ListResourceReply_Resource 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 ListResourceReply_ResourceMultiError, or nil if none found.
type ListResourceReply_ResourceMultiError ¶
type ListResourceReply_ResourceMultiError []error
ListResourceReply_ResourceMultiError is an error wrapping multiple validation errors returned by ListResourceReply_Resource.ValidateAll() if the designated constraints aren't met.
func (ListResourceReply_ResourceMultiError) AllErrors ¶
func (m ListResourceReply_ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResourceReply_ResourceMultiError) Error ¶
func (m ListResourceReply_ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResourceReply_ResourceValidationError ¶
type ListResourceReply_ResourceValidationError struct {
// contains filtered or unexported fields
}
ListResourceReply_ResourceValidationError is the validation error returned by ListResourceReply_Resource.Validate if the designated constraints aren't met.
func (ListResourceReply_ResourceValidationError) Cause ¶
func (e ListResourceReply_ResourceValidationError) Cause() error
Cause function returns cause value.
func (ListResourceReply_ResourceValidationError) Error ¶
func (e ListResourceReply_ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (ListResourceReply_ResourceValidationError) ErrorName ¶
func (e ListResourceReply_ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (ListResourceReply_ResourceValidationError) Field ¶
func (e ListResourceReply_ResourceValidationError) Field() string
Field function returns field value.
func (ListResourceReply_ResourceValidationError) Key ¶
func (e ListResourceReply_ResourceValidationError) Key() bool
Key function returns key value.
func (ListResourceReply_ResourceValidationError) Reason ¶
func (e ListResourceReply_ResourceValidationError) Reason() string
Reason function returns reason value.
type ListResourceRequest ¶
type ListResourceRequest 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"` Keyword *string `protobuf:"bytes,5,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` Tag *string `protobuf:"bytes,6,opt,name=tag,proto3,oneof" json:"tag,omitempty"` Private *bool `protobuf:"varint,7,opt,name=private,proto3,oneof" json:"private,omitempty"` ServerId *uint32 `protobuf:"varint,8,opt,name=serverId,proto3,oneof" json:"serverId,omitempty"` // contains filtered or unexported fields }
func (*ListResourceRequest) Descriptor
deprecated
func (*ListResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceRequest.ProtoReflect.Descriptor instead.
func (*ListResourceRequest) GetKeyword ¶
func (x *ListResourceRequest) GetKeyword() string
func (*ListResourceRequest) GetOrder ¶
func (x *ListResourceRequest) GetOrder() string
func (*ListResourceRequest) GetOrderBy ¶
func (x *ListResourceRequest) GetOrderBy() string
func (*ListResourceRequest) GetPage ¶
func (x *ListResourceRequest) GetPage() uint32
func (*ListResourceRequest) GetPageSize ¶
func (x *ListResourceRequest) GetPageSize() uint32
func (*ListResourceRequest) GetPrivate ¶
func (x *ListResourceRequest) GetPrivate() bool
func (*ListResourceRequest) GetServerId ¶
func (x *ListResourceRequest) GetServerId() uint32
func (*ListResourceRequest) GetTag ¶
func (x *ListResourceRequest) GetTag() string
func (*ListResourceRequest) ProtoMessage ¶
func (*ListResourceRequest) ProtoMessage()
func (*ListResourceRequest) ProtoReflect ¶
func (x *ListResourceRequest) ProtoReflect() protoreflect.Message
func (*ListResourceRequest) Reset ¶
func (x *ListResourceRequest) Reset()
func (*ListResourceRequest) String ¶
func (x *ListResourceRequest) String() string
func (*ListResourceRequest) Validate ¶
func (m *ListResourceRequest) Validate() error
Validate checks the field values on ListResourceRequest 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 (*ListResourceRequest) ValidateAll ¶
func (m *ListResourceRequest) ValidateAll() error
ValidateAll checks the field values on ListResourceRequest 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 ListResourceRequestMultiError, or nil if none found.
type ListResourceRequestMultiError ¶
type ListResourceRequestMultiError []error
ListResourceRequestMultiError is an error wrapping multiple validation errors returned by ListResourceRequest.ValidateAll() if the designated constraints aren't met.
func (ListResourceRequestMultiError) AllErrors ¶
func (m ListResourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResourceRequestMultiError) Error ¶
func (m ListResourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResourceRequestValidationError ¶
type ListResourceRequestValidationError struct {
// contains filtered or unexported fields
}
ListResourceRequestValidationError is the validation error returned by ListResourceRequest.Validate if the designated constraints aren't met.
func (ListResourceRequestValidationError) Cause ¶
func (e ListResourceRequestValidationError) Cause() error
Cause function returns cause value.
func (ListResourceRequestValidationError) Error ¶
func (e ListResourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListResourceRequestValidationError) ErrorName ¶
func (e ListResourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListResourceRequestValidationError) Field ¶
func (e ListResourceRequestValidationError) Field() string
Field function returns field value.
func (ListResourceRequestValidationError) Key ¶
func (e ListResourceRequestValidationError) Key() bool
Key function returns key value.
func (ListResourceRequestValidationError) Reason ¶
func (e ListResourceRequestValidationError) Reason() string
Reason function returns reason value.
type ListResourceValueReply ¶
type ListResourceValueReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListResourceValueReply_ResourceValue `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListResourceValueReply) Descriptor
deprecated
func (*ListResourceValueReply) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceValueReply.ProtoReflect.Descriptor instead.
func (*ListResourceValueReply) GetList ¶
func (x *ListResourceValueReply) GetList() []*ListResourceValueReply_ResourceValue
func (*ListResourceValueReply) GetTotal ¶
func (x *ListResourceValueReply) GetTotal() uint32
func (*ListResourceValueReply) ProtoMessage ¶
func (*ListResourceValueReply) ProtoMessage()
func (*ListResourceValueReply) ProtoReflect ¶
func (x *ListResourceValueReply) ProtoReflect() protoreflect.Message
func (*ListResourceValueReply) Reset ¶
func (x *ListResourceValueReply) Reset()
func (*ListResourceValueReply) String ¶
func (x *ListResourceValueReply) String() string
func (*ListResourceValueReply) Validate ¶
func (m *ListResourceValueReply) Validate() error
Validate checks the field values on ListResourceValueReply 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 (*ListResourceValueReply) ValidateAll ¶
func (m *ListResourceValueReply) ValidateAll() error
ValidateAll checks the field values on ListResourceValueReply 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 ListResourceValueReplyMultiError, or nil if none found.
type ListResourceValueReplyMultiError ¶
type ListResourceValueReplyMultiError []error
ListResourceValueReplyMultiError is an error wrapping multiple validation errors returned by ListResourceValueReply.ValidateAll() if the designated constraints aren't met.
func (ListResourceValueReplyMultiError) AllErrors ¶
func (m ListResourceValueReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResourceValueReplyMultiError) Error ¶
func (m ListResourceValueReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResourceValueReplyValidationError ¶
type ListResourceValueReplyValidationError struct {
// contains filtered or unexported fields
}
ListResourceValueReplyValidationError is the validation error returned by ListResourceValueReply.Validate if the designated constraints aren't met.
func (ListResourceValueReplyValidationError) Cause ¶
func (e ListResourceValueReplyValidationError) Cause() error
Cause function returns cause value.
func (ListResourceValueReplyValidationError) Error ¶
func (e ListResourceValueReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListResourceValueReplyValidationError) ErrorName ¶
func (e ListResourceValueReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListResourceValueReplyValidationError) Field ¶
func (e ListResourceValueReplyValidationError) Field() string
Field function returns field value.
func (ListResourceValueReplyValidationError) Key ¶
func (e ListResourceValueReplyValidationError) Key() bool
Key function returns key value.
func (ListResourceValueReplyValidationError) Reason ¶
func (e ListResourceValueReplyValidationError) Reason() string
Reason function returns reason value.
type ListResourceValueReply_ResourceValue ¶
type ListResourceValueReply_ResourceValue struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` EnvId uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,omitempty"` ResourceId uint32 `protobuf:"varint,3,opt,name=resourceId,proto3" json:"resourceId,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` CreatedAt uint32 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListResourceValueReply_ResourceValue) Descriptor
deprecated
func (*ListResourceValueReply_ResourceValue) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceValueReply_ResourceValue.ProtoReflect.Descriptor instead.
func (*ListResourceValueReply_ResourceValue) GetCreatedAt ¶
func (x *ListResourceValueReply_ResourceValue) GetCreatedAt() uint32
func (*ListResourceValueReply_ResourceValue) GetEnvId ¶
func (x *ListResourceValueReply_ResourceValue) GetEnvId() uint32
func (*ListResourceValueReply_ResourceValue) GetId ¶
func (x *ListResourceValueReply_ResourceValue) GetId() uint32
func (*ListResourceValueReply_ResourceValue) GetResourceId ¶
func (x *ListResourceValueReply_ResourceValue) GetResourceId() uint32
func (*ListResourceValueReply_ResourceValue) GetUpdatedAt ¶
func (x *ListResourceValueReply_ResourceValue) GetUpdatedAt() uint32
func (*ListResourceValueReply_ResourceValue) GetValue ¶
func (x *ListResourceValueReply_ResourceValue) GetValue() string
func (*ListResourceValueReply_ResourceValue) ProtoMessage ¶
func (*ListResourceValueReply_ResourceValue) ProtoMessage()
func (*ListResourceValueReply_ResourceValue) ProtoReflect ¶
func (x *ListResourceValueReply_ResourceValue) ProtoReflect() protoreflect.Message
func (*ListResourceValueReply_ResourceValue) Reset ¶
func (x *ListResourceValueReply_ResourceValue) Reset()
func (*ListResourceValueReply_ResourceValue) String ¶
func (x *ListResourceValueReply_ResourceValue) String() string
func (*ListResourceValueReply_ResourceValue) Validate ¶
func (m *ListResourceValueReply_ResourceValue) Validate() error
Validate checks the field values on ListResourceValueReply_ResourceValue 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 (*ListResourceValueReply_ResourceValue) ValidateAll ¶
func (m *ListResourceValueReply_ResourceValue) ValidateAll() error
ValidateAll checks the field values on ListResourceValueReply_ResourceValue 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 ListResourceValueReply_ResourceValueMultiError, or nil if none found.
type ListResourceValueReply_ResourceValueMultiError ¶
type ListResourceValueReply_ResourceValueMultiError []error
ListResourceValueReply_ResourceValueMultiError is an error wrapping multiple validation errors returned by ListResourceValueReply_ResourceValue.ValidateAll() if the designated constraints aren't met.
func (ListResourceValueReply_ResourceValueMultiError) AllErrors ¶
func (m ListResourceValueReply_ResourceValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResourceValueReply_ResourceValueMultiError) Error ¶
func (m ListResourceValueReply_ResourceValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResourceValueReply_ResourceValueValidationError ¶
type ListResourceValueReply_ResourceValueValidationError struct {
// contains filtered or unexported fields
}
ListResourceValueReply_ResourceValueValidationError is the validation error returned by ListResourceValueReply_ResourceValue.Validate if the designated constraints aren't met.
func (ListResourceValueReply_ResourceValueValidationError) Cause ¶
func (e ListResourceValueReply_ResourceValueValidationError) Cause() error
Cause function returns cause value.
func (ListResourceValueReply_ResourceValueValidationError) Error ¶
func (e ListResourceValueReply_ResourceValueValidationError) Error() string
Error satisfies the builtin error interface
func (ListResourceValueReply_ResourceValueValidationError) ErrorName ¶
func (e ListResourceValueReply_ResourceValueValidationError) ErrorName() string
ErrorName returns error name.
func (ListResourceValueReply_ResourceValueValidationError) Field ¶
func (e ListResourceValueReply_ResourceValueValidationError) Field() string
Field function returns field value.
func (ListResourceValueReply_ResourceValueValidationError) Key ¶
func (e ListResourceValueReply_ResourceValueValidationError) Key() bool
Key function returns key value.
func (ListResourceValueReply_ResourceValueValidationError) Reason ¶
func (e ListResourceValueReply_ResourceValueValidationError) Reason() string
Reason function returns reason value.
type ListResourceValueRequest ¶
type ListResourceValueRequest struct { ResourceId uint32 `protobuf:"varint,3,opt,name=resourceId,proto3" json:"resourceId,omitempty"` // contains filtered or unexported fields }
func (*ListResourceValueRequest) Descriptor
deprecated
func (*ListResourceValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceValueRequest.ProtoReflect.Descriptor instead.
func (*ListResourceValueRequest) GetResourceId ¶
func (x *ListResourceValueRequest) GetResourceId() uint32
func (*ListResourceValueRequest) ProtoMessage ¶
func (*ListResourceValueRequest) ProtoMessage()
func (*ListResourceValueRequest) ProtoReflect ¶
func (x *ListResourceValueRequest) ProtoReflect() protoreflect.Message
func (*ListResourceValueRequest) Reset ¶
func (x *ListResourceValueRequest) Reset()
func (*ListResourceValueRequest) String ¶
func (x *ListResourceValueRequest) String() string
func (*ListResourceValueRequest) Validate ¶
func (m *ListResourceValueRequest) Validate() error
Validate checks the field values on ListResourceValueRequest 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 (*ListResourceValueRequest) ValidateAll ¶
func (m *ListResourceValueRequest) ValidateAll() error
ValidateAll checks the field values on ListResourceValueRequest 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 ListResourceValueRequestMultiError, or nil if none found.
type ListResourceValueRequestMultiError ¶
type ListResourceValueRequestMultiError []error
ListResourceValueRequestMultiError is an error wrapping multiple validation errors returned by ListResourceValueRequest.ValidateAll() if the designated constraints aren't met.
func (ListResourceValueRequestMultiError) AllErrors ¶
func (m ListResourceValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResourceValueRequestMultiError) Error ¶
func (m ListResourceValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResourceValueRequestValidationError ¶
type ListResourceValueRequestValidationError struct {
// contains filtered or unexported fields
}
ListResourceValueRequestValidationError is the validation error returned by ListResourceValueRequest.Validate if the designated constraints aren't met.
func (ListResourceValueRequestValidationError) Cause ¶
func (e ListResourceValueRequestValidationError) Cause() error
Cause function returns cause value.
func (ListResourceValueRequestValidationError) Error ¶
func (e ListResourceValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListResourceValueRequestValidationError) ErrorName ¶
func (e ListResourceValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListResourceValueRequestValidationError) Field ¶
func (e ListResourceValueRequestValidationError) Field() string
Field function returns field value.
func (ListResourceValueRequestValidationError) Key ¶
func (e ListResourceValueRequestValidationError) Key() bool
Key function returns key value.
func (ListResourceValueRequestValidationError) Reason ¶
func (e ListResourceValueRequestValidationError) Reason() string
Reason function returns reason value.
type ResourceClient ¶
type ResourceClient interface { // GetResource 获取指定的资源配置信息 GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceReply, error) // ListResource 获取资源配置信息列表 ListResource(ctx context.Context, in *ListResourceRequest, opts ...grpc.CallOption) (*ListResourceReply, error) // CreateResource 创建资源配置信息 CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceReply, error) // UpdateResource 更新资源配置信息 UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceReply, error) // DeleteResource 删除资源配置信息 DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*DeleteResourceReply, error) // ListResourceValue 获取业务配置值信息列表 ListResourceValue(ctx context.Context, in *ListResourceValueRequest, opts ...grpc.CallOption) (*ListResourceValueReply, error) // UpdateResourceValue 更新业务配置值信息 UpdateResourceValue(ctx context.Context, in *UpdateResourceValueRequest, opts ...grpc.CallOption) (*UpdateResourceValueReply, error) }
ResourceClient is the client API for Resource 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 NewResourceClient ¶
func NewResourceClient(cc grpc.ClientConnInterface) ResourceClient
type ResourceHTTPClient ¶
type ResourceHTTPClient interface { CreateResource(ctx context.Context, req *CreateResourceRequest, opts ...http.CallOption) (rsp *CreateResourceReply, err error) DeleteResource(ctx context.Context, req *DeleteResourceRequest, opts ...http.CallOption) (rsp *DeleteResourceReply, err error) GetResource(ctx context.Context, req *GetResourceRequest, opts ...http.CallOption) (rsp *GetResourceReply, err error) ListResource(ctx context.Context, req *ListResourceRequest, opts ...http.CallOption) (rsp *ListResourceReply, err error) ListResourceValue(ctx context.Context, req *ListResourceValueRequest, opts ...http.CallOption) (rsp *ListResourceValueReply, err error) UpdateResource(ctx context.Context, req *UpdateResourceRequest, opts ...http.CallOption) (rsp *UpdateResourceReply, err error) UpdateResourceValue(ctx context.Context, req *UpdateResourceValueRequest, opts ...http.CallOption) (rsp *UpdateResourceValueReply, err error) }
func NewResourceHTTPClient ¶
func NewResourceHTTPClient(client *http.Client) ResourceHTTPClient
type ResourceHTTPClientImpl ¶
type ResourceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ResourceHTTPClientImpl) CreateResource ¶
func (c *ResourceHTTPClientImpl) CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...http.CallOption) (*CreateResourceReply, error)
func (*ResourceHTTPClientImpl) DeleteResource ¶
func (c *ResourceHTTPClientImpl) DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...http.CallOption) (*DeleteResourceReply, error)
func (*ResourceHTTPClientImpl) GetResource ¶
func (c *ResourceHTTPClientImpl) GetResource(ctx context.Context, in *GetResourceRequest, opts ...http.CallOption) (*GetResourceReply, error)
func (*ResourceHTTPClientImpl) ListResource ¶
func (c *ResourceHTTPClientImpl) ListResource(ctx context.Context, in *ListResourceRequest, opts ...http.CallOption) (*ListResourceReply, error)
func (*ResourceHTTPClientImpl) ListResourceValue ¶
func (c *ResourceHTTPClientImpl) ListResourceValue(ctx context.Context, in *ListResourceValueRequest, opts ...http.CallOption) (*ListResourceValueReply, error)
func (*ResourceHTTPClientImpl) UpdateResource ¶
func (c *ResourceHTTPClientImpl) UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...http.CallOption) (*UpdateResourceReply, error)
func (*ResourceHTTPClientImpl) UpdateResourceValue ¶
func (c *ResourceHTTPClientImpl) UpdateResourceValue(ctx context.Context, in *UpdateResourceValueRequest, opts ...http.CallOption) (*UpdateResourceValueReply, error)
type ResourceHTTPServer ¶
type ResourceHTTPServer interface { // CreateResource CreateResource 创建资源配置信息 CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceReply, error) // DeleteResource DeleteResource 删除资源配置信息 DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceReply, error) // GetResource GetResource 获取指定的资源配置信息 GetResource(context.Context, *GetResourceRequest) (*GetResourceReply, error) // ListResource ListResource 获取资源配置信息列表 ListResource(context.Context, *ListResourceRequest) (*ListResourceReply, error) // ListResourceValue ListResourceValue 获取业务配置值信息列表 ListResourceValue(context.Context, *ListResourceValueRequest) (*ListResourceValueReply, error) // UpdateResource UpdateResource 更新资源配置信息 UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceReply, error) // UpdateResourceValue UpdateResourceValue 更新业务配置值信息 UpdateResourceValue(context.Context, *UpdateResourceValueRequest) (*UpdateResourceValueReply, error) }
type ResourceServer ¶
type ResourceServer interface { // GetResource 获取指定的资源配置信息 GetResource(context.Context, *GetResourceRequest) (*GetResourceReply, error) // ListResource 获取资源配置信息列表 ListResource(context.Context, *ListResourceRequest) (*ListResourceReply, error) // CreateResource 创建资源配置信息 CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceReply, error) // UpdateResource 更新资源配置信息 UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceReply, error) // DeleteResource 删除资源配置信息 DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceReply, error) // ListResourceValue 获取业务配置值信息列表 ListResourceValue(context.Context, *ListResourceValueRequest) (*ListResourceValueReply, error) // UpdateResourceValue 更新业务配置值信息 UpdateResourceValue(context.Context, *UpdateResourceValueRequest) (*UpdateResourceValueReply, error) // contains filtered or unexported methods }
ResourceServer is the server API for Resource service. All implementations must embed UnimplementedResourceServer for forward compatibility
type UnimplementedResourceServer ¶
type UnimplementedResourceServer struct { }
UnimplementedResourceServer must be embedded to have forward compatible implementations.
func (UnimplementedResourceServer) CreateResource ¶
func (UnimplementedResourceServer) CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceReply, error)
func (UnimplementedResourceServer) DeleteResource ¶
func (UnimplementedResourceServer) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceReply, error)
func (UnimplementedResourceServer) GetResource ¶
func (UnimplementedResourceServer) GetResource(context.Context, *GetResourceRequest) (*GetResourceReply, error)
func (UnimplementedResourceServer) ListResource ¶
func (UnimplementedResourceServer) ListResource(context.Context, *ListResourceRequest) (*ListResourceReply, error)
func (UnimplementedResourceServer) ListResourceValue ¶
func (UnimplementedResourceServer) ListResourceValue(context.Context, *ListResourceValueRequest) (*ListResourceValueReply, error)
func (UnimplementedResourceServer) UpdateResource ¶
func (UnimplementedResourceServer) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceReply, error)
func (UnimplementedResourceServer) UpdateResourceValue ¶
func (UnimplementedResourceServer) UpdateResourceValue(context.Context, *UpdateResourceValueRequest) (*UpdateResourceValueReply, error)
type UnsafeResourceServer ¶
type UnsafeResourceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServer will result in compilation errors.
type UpdateResourceReply ¶
type UpdateResourceReply struct {
// contains filtered or unexported fields
}
func (*UpdateResourceReply) Descriptor
deprecated
func (*UpdateResourceReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceReply.ProtoReflect.Descriptor instead.
func (*UpdateResourceReply) ProtoMessage ¶
func (*UpdateResourceReply) ProtoMessage()
func (*UpdateResourceReply) ProtoReflect ¶
func (x *UpdateResourceReply) ProtoReflect() protoreflect.Message
func (*UpdateResourceReply) Reset ¶
func (x *UpdateResourceReply) Reset()
func (*UpdateResourceReply) String ¶
func (x *UpdateResourceReply) String() string
func (*UpdateResourceReply) Validate ¶
func (m *UpdateResourceReply) Validate() error
Validate checks the field values on UpdateResourceReply 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 (*UpdateResourceReply) ValidateAll ¶
func (m *UpdateResourceReply) ValidateAll() error
ValidateAll checks the field values on UpdateResourceReply 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 UpdateResourceReplyMultiError, or nil if none found.
type UpdateResourceReplyMultiError ¶
type UpdateResourceReplyMultiError []error
UpdateResourceReplyMultiError is an error wrapping multiple validation errors returned by UpdateResourceReply.ValidateAll() if the designated constraints aren't met.
func (UpdateResourceReplyMultiError) AllErrors ¶
func (m UpdateResourceReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResourceReplyMultiError) Error ¶
func (m UpdateResourceReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateResourceReplyValidationError ¶
type UpdateResourceReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateResourceReplyValidationError is the validation error returned by UpdateResourceReply.Validate if the designated constraints aren't met.
func (UpdateResourceReplyValidationError) Cause ¶
func (e UpdateResourceReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateResourceReplyValidationError) Error ¶
func (e UpdateResourceReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResourceReplyValidationError) ErrorName ¶
func (e UpdateResourceReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResourceReplyValidationError) Field ¶
func (e UpdateResourceReplyValidationError) Field() string
Field function returns field value.
func (UpdateResourceReplyValidationError) Key ¶
func (e UpdateResourceReplyValidationError) Key() bool
Key function returns key value.
func (UpdateResourceReplyValidationError) Reason ¶
func (e UpdateResourceReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateResourceRequest ¶
type UpdateResourceRequest 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"` Fields string `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Private *bool `protobuf:"varint,5,opt,name=private,proto3,oneof" json:"private,omitempty"` ServerIds []uint32 `protobuf:"varint,6,rep,packed,name=serverIds,proto3" json:"serverIds,omitempty"` Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceRequest) Descriptor
deprecated
func (*UpdateResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceRequest) GetDescription ¶
func (x *UpdateResourceRequest) GetDescription() string
func (*UpdateResourceRequest) GetFields ¶
func (x *UpdateResourceRequest) GetFields() string
func (*UpdateResourceRequest) GetId ¶
func (x *UpdateResourceRequest) GetId() uint32
func (*UpdateResourceRequest) GetKeyword ¶
func (x *UpdateResourceRequest) GetKeyword() string
func (*UpdateResourceRequest) GetPrivate ¶
func (x *UpdateResourceRequest) GetPrivate() bool
func (*UpdateResourceRequest) GetServerIds ¶
func (x *UpdateResourceRequest) GetServerIds() []uint32
func (*UpdateResourceRequest) GetTag ¶
func (x *UpdateResourceRequest) GetTag() string
func (*UpdateResourceRequest) ProtoMessage ¶
func (*UpdateResourceRequest) ProtoMessage()
func (*UpdateResourceRequest) ProtoReflect ¶
func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceRequest) Reset ¶
func (x *UpdateResourceRequest) Reset()
func (*UpdateResourceRequest) String ¶
func (x *UpdateResourceRequest) String() string
func (*UpdateResourceRequest) Validate ¶
func (m *UpdateResourceRequest) Validate() error
Validate checks the field values on UpdateResourceRequest 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 (*UpdateResourceRequest) ValidateAll ¶
func (m *UpdateResourceRequest) ValidateAll() error
ValidateAll checks the field values on UpdateResourceRequest 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 UpdateResourceRequestMultiError, or nil if none found.
type UpdateResourceRequestMultiError ¶
type UpdateResourceRequestMultiError []error
UpdateResourceRequestMultiError is an error wrapping multiple validation errors returned by UpdateResourceRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateResourceRequestMultiError) AllErrors ¶
func (m UpdateResourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResourceRequestMultiError) Error ¶
func (m UpdateResourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateResourceRequestValidationError ¶
type UpdateResourceRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateResourceRequestValidationError is the validation error returned by UpdateResourceRequest.Validate if the designated constraints aren't met.
func (UpdateResourceRequestValidationError) Cause ¶
func (e UpdateResourceRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateResourceRequestValidationError) Error ¶
func (e UpdateResourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResourceRequestValidationError) ErrorName ¶
func (e UpdateResourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResourceRequestValidationError) Field ¶
func (e UpdateResourceRequestValidationError) Field() string
Field function returns field value.
func (UpdateResourceRequestValidationError) Key ¶
func (e UpdateResourceRequestValidationError) Key() bool
Key function returns key value.
func (UpdateResourceRequestValidationError) Reason ¶
func (e UpdateResourceRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateResourceValueReply ¶
type UpdateResourceValueReply struct {
// contains filtered or unexported fields
}
func (*UpdateResourceValueReply) Descriptor
deprecated
func (*UpdateResourceValueReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceValueReply.ProtoReflect.Descriptor instead.
func (*UpdateResourceValueReply) ProtoMessage ¶
func (*UpdateResourceValueReply) ProtoMessage()
func (*UpdateResourceValueReply) ProtoReflect ¶
func (x *UpdateResourceValueReply) ProtoReflect() protoreflect.Message
func (*UpdateResourceValueReply) Reset ¶
func (x *UpdateResourceValueReply) Reset()
func (*UpdateResourceValueReply) String ¶
func (x *UpdateResourceValueReply) String() string
func (*UpdateResourceValueReply) Validate ¶
func (m *UpdateResourceValueReply) Validate() error
Validate checks the field values on UpdateResourceValueReply 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 (*UpdateResourceValueReply) ValidateAll ¶
func (m *UpdateResourceValueReply) ValidateAll() error
ValidateAll checks the field values on UpdateResourceValueReply 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 UpdateResourceValueReplyMultiError, or nil if none found.
type UpdateResourceValueReplyMultiError ¶
type UpdateResourceValueReplyMultiError []error
UpdateResourceValueReplyMultiError is an error wrapping multiple validation errors returned by UpdateResourceValueReply.ValidateAll() if the designated constraints aren't met.
func (UpdateResourceValueReplyMultiError) AllErrors ¶
func (m UpdateResourceValueReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResourceValueReplyMultiError) Error ¶
func (m UpdateResourceValueReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateResourceValueReplyValidationError ¶
type UpdateResourceValueReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateResourceValueReplyValidationError is the validation error returned by UpdateResourceValueReply.Validate if the designated constraints aren't met.
func (UpdateResourceValueReplyValidationError) Cause ¶
func (e UpdateResourceValueReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateResourceValueReplyValidationError) Error ¶
func (e UpdateResourceValueReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResourceValueReplyValidationError) ErrorName ¶
func (e UpdateResourceValueReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResourceValueReplyValidationError) Field ¶
func (e UpdateResourceValueReplyValidationError) Field() string
Field function returns field value.
func (UpdateResourceValueReplyValidationError) Key ¶
func (e UpdateResourceValueReplyValidationError) Key() bool
Key function returns key value.
func (UpdateResourceValueReplyValidationError) Reason ¶
func (e UpdateResourceValueReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateResourceValueRequest ¶
type UpdateResourceValueRequest struct { List []*UpdateResourceValueRequest_Value `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` ResourceId uint32 `protobuf:"varint,2,opt,name=resourceId,proto3" json:"resourceId,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceValueRequest) Descriptor
deprecated
func (*UpdateResourceValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceValueRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceValueRequest) GetList ¶
func (x *UpdateResourceValueRequest) GetList() []*UpdateResourceValueRequest_Value
func (*UpdateResourceValueRequest) GetResourceId ¶
func (x *UpdateResourceValueRequest) GetResourceId() uint32
func (*UpdateResourceValueRequest) ProtoMessage ¶
func (*UpdateResourceValueRequest) ProtoMessage()
func (*UpdateResourceValueRequest) ProtoReflect ¶
func (x *UpdateResourceValueRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceValueRequest) Reset ¶
func (x *UpdateResourceValueRequest) Reset()
func (*UpdateResourceValueRequest) String ¶
func (x *UpdateResourceValueRequest) String() string
func (*UpdateResourceValueRequest) Validate ¶
func (m *UpdateResourceValueRequest) Validate() error
Validate checks the field values on UpdateResourceValueRequest 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 (*UpdateResourceValueRequest) ValidateAll ¶
func (m *UpdateResourceValueRequest) ValidateAll() error
ValidateAll checks the field values on UpdateResourceValueRequest 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 UpdateResourceValueRequestMultiError, or nil if none found.
type UpdateResourceValueRequestMultiError ¶
type UpdateResourceValueRequestMultiError []error
UpdateResourceValueRequestMultiError is an error wrapping multiple validation errors returned by UpdateResourceValueRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateResourceValueRequestMultiError) AllErrors ¶
func (m UpdateResourceValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResourceValueRequestMultiError) Error ¶
func (m UpdateResourceValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateResourceValueRequestValidationError ¶
type UpdateResourceValueRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateResourceValueRequestValidationError is the validation error returned by UpdateResourceValueRequest.Validate if the designated constraints aren't met.
func (UpdateResourceValueRequestValidationError) Cause ¶
func (e UpdateResourceValueRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateResourceValueRequestValidationError) Error ¶
func (e UpdateResourceValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResourceValueRequestValidationError) ErrorName ¶
func (e UpdateResourceValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResourceValueRequestValidationError) Field ¶
func (e UpdateResourceValueRequestValidationError) Field() string
Field function returns field value.
func (UpdateResourceValueRequestValidationError) Key ¶
func (e UpdateResourceValueRequestValidationError) Key() bool
Key function returns key value.
func (UpdateResourceValueRequestValidationError) Reason ¶
func (e UpdateResourceValueRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateResourceValueRequest_Value ¶
type UpdateResourceValueRequest_Value struct { EnvId uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceValueRequest_Value) Descriptor
deprecated
func (*UpdateResourceValueRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceValueRequest_Value.ProtoReflect.Descriptor instead.
func (*UpdateResourceValueRequest_Value) GetEnvId ¶
func (x *UpdateResourceValueRequest_Value) GetEnvId() uint32
func (*UpdateResourceValueRequest_Value) GetValue ¶
func (x *UpdateResourceValueRequest_Value) GetValue() string
func (*UpdateResourceValueRequest_Value) ProtoMessage ¶
func (*UpdateResourceValueRequest_Value) ProtoMessage()
func (*UpdateResourceValueRequest_Value) ProtoReflect ¶
func (x *UpdateResourceValueRequest_Value) ProtoReflect() protoreflect.Message
func (*UpdateResourceValueRequest_Value) Reset ¶
func (x *UpdateResourceValueRequest_Value) Reset()
func (*UpdateResourceValueRequest_Value) String ¶
func (x *UpdateResourceValueRequest_Value) String() string
func (*UpdateResourceValueRequest_Value) Validate ¶
func (m *UpdateResourceValueRequest_Value) Validate() error
Validate checks the field values on UpdateResourceValueRequest_Value 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 (*UpdateResourceValueRequest_Value) ValidateAll ¶
func (m *UpdateResourceValueRequest_Value) ValidateAll() error
ValidateAll checks the field values on UpdateResourceValueRequest_Value 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 UpdateResourceValueRequest_ValueMultiError, or nil if none found.
type UpdateResourceValueRequest_ValueMultiError ¶
type UpdateResourceValueRequest_ValueMultiError []error
UpdateResourceValueRequest_ValueMultiError is an error wrapping multiple validation errors returned by UpdateResourceValueRequest_Value.ValidateAll() if the designated constraints aren't met.
func (UpdateResourceValueRequest_ValueMultiError) AllErrors ¶
func (m UpdateResourceValueRequest_ValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResourceValueRequest_ValueMultiError) Error ¶
func (m UpdateResourceValueRequest_ValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateResourceValueRequest_ValueValidationError ¶
type UpdateResourceValueRequest_ValueValidationError struct {
// contains filtered or unexported fields
}
UpdateResourceValueRequest_ValueValidationError is the validation error returned by UpdateResourceValueRequest_Value.Validate if the designated constraints aren't met.
func (UpdateResourceValueRequest_ValueValidationError) Cause ¶
func (e UpdateResourceValueRequest_ValueValidationError) Cause() error
Cause function returns cause value.
func (UpdateResourceValueRequest_ValueValidationError) Error ¶
func (e UpdateResourceValueRequest_ValueValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResourceValueRequest_ValueValidationError) ErrorName ¶
func (e UpdateResourceValueRequest_ValueValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResourceValueRequest_ValueValidationError) Field ¶
func (e UpdateResourceValueRequest_ValueValidationError) Field() string
Field function returns field value.
func (UpdateResourceValueRequest_ValueValidationError) Key ¶
func (e UpdateResourceValueRequest_ValueValidationError) Key() bool
Key function returns key value.
func (UpdateResourceValueRequest_ValueValidationError) Reason ¶
func (e UpdateResourceValueRequest_ValueValidationError) Reason() string
Reason function returns reason value.