Documentation ¶
Index ¶
- Variables
- func RegisterTraServiceServer(s *grpc.Server, srv TraServiceServer)
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetContext() map[string]string
- func (x *CreateRequest) GetData() map[string]string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- func (m *CreateRequest) Validate() error
- func (m *CreateRequest) ValidateAll() error
- type CreateRequestMultiError
- type CreateRequestValidationError
- func (e CreateRequestValidationError) Cause() error
- func (e CreateRequestValidationError) Error() string
- func (e CreateRequestValidationError) ErrorName() string
- func (e CreateRequestValidationError) Field() string
- func (e CreateRequestValidationError) Key() bool
- func (e CreateRequestValidationError) Reason() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- func (m *CreateResponse) Validate() error
- func (m *CreateResponse) ValidateAll() error
- type CreateResponseMultiError
- type CreateResponseValidationError
- func (e CreateResponseValidationError) Cause() error
- func (e CreateResponseValidationError) Error() string
- func (e CreateResponseValidationError) ErrorName() string
- func (e CreateResponseValidationError) Field() string
- func (e CreateResponseValidationError) Key() bool
- func (e CreateResponseValidationError) Reason() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetContext() map[string]string
- func (x *DeleteRequest) GetKey() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- func (m *DeleteRequest) Validate() error
- func (m *DeleteRequest) ValidateAll() error
- type DeleteRequestMultiError
- type DeleteRequestValidationError
- func (e DeleteRequestValidationError) Cause() error
- func (e DeleteRequestValidationError) Error() string
- func (e DeleteRequestValidationError) ErrorName() string
- func (e DeleteRequestValidationError) Field() string
- func (e DeleteRequestValidationError) Key() bool
- func (e DeleteRequestValidationError) Reason() string
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- func (m *DeleteResponse) Validate() error
- func (m *DeleteResponse) ValidateAll() error
- type DeleteResponseMultiError
- type DeleteResponseValidationError
- func (e DeleteResponseValidationError) Cause() error
- func (e DeleteResponseValidationError) Error() string
- func (e DeleteResponseValidationError) ErrorName() string
- func (e DeleteResponseValidationError) Field() string
- func (e DeleteResponseValidationError) Key() bool
- func (e DeleteResponseValidationError) Reason() string
- type RetrieveRequest
- func (*RetrieveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RetrieveRequest) GetContext() map[string]string
- func (x *RetrieveRequest) GetKey() string
- func (*RetrieveRequest) ProtoMessage()
- func (x *RetrieveRequest) ProtoReflect() protoreflect.Message
- func (x *RetrieveRequest) Reset()
- func (x *RetrieveRequest) String() string
- func (m *RetrieveRequest) Validate() error
- func (m *RetrieveRequest) ValidateAll() error
- type RetrieveRequestMultiError
- type RetrieveRequestValidationError
- func (e RetrieveRequestValidationError) Cause() error
- func (e RetrieveRequestValidationError) Error() string
- func (e RetrieveRequestValidationError) ErrorName() string
- func (e RetrieveRequestValidationError) Field() string
- func (e RetrieveRequestValidationError) Key() bool
- func (e RetrieveRequestValidationError) Reason() string
- type RetrieveResponse
- func (*RetrieveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RetrieveResponse) GetData() map[string]string
- func (*RetrieveResponse) ProtoMessage()
- func (x *RetrieveResponse) ProtoReflect() protoreflect.Message
- func (x *RetrieveResponse) Reset()
- func (x *RetrieveResponse) String() string
- func (m *RetrieveResponse) Validate() error
- func (m *RetrieveResponse) ValidateAll() error
- type RetrieveResponseMultiError
- type RetrieveResponseValidationError
- func (e RetrieveResponseValidationError) Cause() error
- func (e RetrieveResponseValidationError) Error() string
- func (e RetrieveResponseValidationError) ErrorName() string
- func (e RetrieveResponseValidationError) Field() string
- func (e RetrieveResponseValidationError) Key() bool
- func (e RetrieveResponseValidationError) Reason() string
- type SubscribeRequest
- func (*SubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeRequest) ProtoMessage()
- func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeRequest) Reset()
- func (x *SubscribeRequest) String() string
- func (m *SubscribeRequest) Validate() error
- func (m *SubscribeRequest) ValidateAll() error
- type SubscribeRequestMultiError
- type SubscribeRequestValidationError
- func (e SubscribeRequestValidationError) Cause() error
- func (e SubscribeRequestValidationError) Error() string
- func (e SubscribeRequestValidationError) ErrorName() string
- func (e SubscribeRequestValidationError) Field() string
- func (e SubscribeRequestValidationError) Key() bool
- func (e SubscribeRequestValidationError) Reason() string
- type SubscribeResponse
- func (*SubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeResponse) GetData() map[string]string
- func (*SubscribeResponse) ProtoMessage()
- func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeResponse) Reset()
- func (x *SubscribeResponse) String() string
- func (m *SubscribeResponse) Validate() error
- func (m *SubscribeResponse) ValidateAll() error
- type SubscribeResponseMultiError
- type SubscribeResponseValidationError
- func (e SubscribeResponseValidationError) Cause() error
- func (e SubscribeResponseValidationError) Error() string
- func (e SubscribeResponseValidationError) ErrorName() string
- func (e SubscribeResponseValidationError) Field() string
- func (e SubscribeResponseValidationError) Key() bool
- func (e SubscribeResponseValidationError) Reason() string
- type TraServiceClient
- type TraServiceConfig
- func (*TraServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TraServiceConfig) GetGrpcService() *v3.GrpcService
- func (x *TraServiceConfig) GetTimeout() *duration.Duration
- func (x *TraServiceConfig) GetTransportApiVersion() v3.ApiVersion
- func (*TraServiceConfig) ProtoMessage()
- func (x *TraServiceConfig) ProtoReflect() protoreflect.Message
- func (x *TraServiceConfig) Reset()
- func (x *TraServiceConfig) String() string
- func (m *TraServiceConfig) Validate() error
- func (m *TraServiceConfig) ValidateAll() error
- type TraServiceConfigMultiError
- type TraServiceConfigValidationError
- func (e TraServiceConfigValidationError) Cause() error
- func (e TraServiceConfigValidationError) Error() string
- func (e TraServiceConfigValidationError) ErrorName() string
- func (e TraServiceConfigValidationError) Field() string
- func (e TraServiceConfigValidationError) Key() bool
- func (e TraServiceConfigValidationError) Reason() string
- type TraServiceRequest
- func (*TraServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TraServiceRequest) GetCreateRequest() *CreateRequest
- func (x *TraServiceRequest) GetDeleteRequest() *DeleteRequest
- func (m *TraServiceRequest) GetRequest() isTraServiceRequest_Request
- func (x *TraServiceRequest) GetRetrieveRequest() *RetrieveRequest
- func (x *TraServiceRequest) GetSubscribeRequest() *SubscribeRequest
- func (x *TraServiceRequest) GetType() string
- func (x *TraServiceRequest) GetUpdateRequest() *UpdateRequest
- func (*TraServiceRequest) ProtoMessage()
- func (x *TraServiceRequest) ProtoReflect() protoreflect.Message
- func (x *TraServiceRequest) Reset()
- func (x *TraServiceRequest) String() string
- func (m *TraServiceRequest) Validate() error
- func (m *TraServiceRequest) ValidateAll() error
- type TraServiceRequestMultiError
- type TraServiceRequestValidationError
- func (e TraServiceRequestValidationError) Cause() error
- func (e TraServiceRequestValidationError) Error() string
- func (e TraServiceRequestValidationError) ErrorName() string
- func (e TraServiceRequestValidationError) Field() string
- func (e TraServiceRequestValidationError) Key() bool
- func (e TraServiceRequestValidationError) Reason() string
- type TraServiceRequest_CreateRequest
- type TraServiceRequest_DeleteRequest
- type TraServiceRequest_RetrieveRequest
- type TraServiceRequest_SubscribeRequest
- type TraServiceRequest_UpdateRequest
- type TraServiceResponse
- func (*TraServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TraServiceResponse) GetCreateResponse() *CreateResponse
- func (x *TraServiceResponse) GetDeleteResponse() *DeleteResponse
- func (x *TraServiceResponse) GetReason() string
- func (m *TraServiceResponse) GetResponse() isTraServiceResponse_Response
- func (x *TraServiceResponse) GetRet() int32
- func (x *TraServiceResponse) GetRetrieveResponse() *RetrieveResponse
- func (x *TraServiceResponse) GetSubscribeResponse() *SubscribeResponse
- func (x *TraServiceResponse) GetType() string
- func (x *TraServiceResponse) GetUpdateResponse() *UpdateResponse
- func (*TraServiceResponse) ProtoMessage()
- func (x *TraServiceResponse) ProtoReflect() protoreflect.Message
- func (x *TraServiceResponse) Reset()
- func (x *TraServiceResponse) String() string
- func (m *TraServiceResponse) Validate() error
- func (m *TraServiceResponse) ValidateAll() error
- type TraServiceResponseMultiError
- type TraServiceResponseValidationError
- func (e TraServiceResponseValidationError) Cause() error
- func (e TraServiceResponseValidationError) Error() string
- func (e TraServiceResponseValidationError) ErrorName() string
- func (e TraServiceResponseValidationError) Field() string
- func (e TraServiceResponseValidationError) Key() bool
- func (e TraServiceResponseValidationError) Reason() string
- type TraServiceResponse_CreateResponse
- type TraServiceResponse_DeleteResponse
- type TraServiceResponse_RetrieveResponse
- type TraServiceResponse_SubscribeResponse
- type TraServiceResponse_UpdateResponse
- type TraServiceServer
- type TraService_SubscribeClient
- type TraService_SubscribeServer
- type UnimplementedTraServiceServer
- func (*UnimplementedTraServiceServer) Create(context.Context, *TraServiceRequest) (*TraServiceResponse, error)
- func (*UnimplementedTraServiceServer) Delete(context.Context, *TraServiceRequest) (*TraServiceResponse, error)
- func (*UnimplementedTraServiceServer) Retrieve(context.Context, *TraServiceRequest) (*TraServiceResponse, error)
- func (*UnimplementedTraServiceServer) Subscribe(*TraServiceRequest, TraService_SubscribeServer) error
- func (*UnimplementedTraServiceServer) Update(context.Context, *TraServiceRequest) (*TraServiceResponse, error)
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetContext() map[string]string
- func (x *UpdateRequest) GetData() map[string]string
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- func (m *UpdateRequest) Validate() error
- func (m *UpdateRequest) ValidateAll() error
- type UpdateRequestMultiError
- type UpdateRequestValidationError
- func (e UpdateRequestValidationError) Cause() error
- func (e UpdateRequestValidationError) Error() string
- func (e UpdateRequestValidationError) ErrorName() string
- func (e UpdateRequestValidationError) Field() string
- func (e UpdateRequestValidationError) Key() bool
- func (e UpdateRequestValidationError) Reason() string
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- func (m *UpdateResponse) Validate() error
- func (m *UpdateResponse) ValidateAll() error
- type UpdateResponseMultiError
- type UpdateResponseValidationError
- func (e UpdateResponseValidationError) Cause() error
- func (e UpdateResponseValidationError) Error() string
- func (e UpdateResponseValidationError) ErrorName() string
- func (e UpdateResponseValidationError) Field() string
- func (e UpdateResponseValidationError) Key() bool
- func (e UpdateResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_contrib_envoy_extensions_filters_network_sip_proxy_tra_v3alpha_tra_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTraServiceServer ¶
func RegisterTraServiceServer(s *grpc.Server, srv TraServiceServer)
Types ¶
type CreateRequest ¶
type CreateRequest struct { Data map[string]string `` /* 149-byte string literal not displayed */ Context map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetContext ¶
func (x *CreateRequest) GetContext() map[string]string
func (*CreateRequest) GetData ¶
func (x *CreateRequest) GetData() map[string]string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
func (*CreateRequest) Validate ¶
func (m *CreateRequest) Validate() error
Validate checks the field values on CreateRequest 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 (*CreateRequest) ValidateAll ¶
func (m *CreateRequest) ValidateAll() error
ValidateAll checks the field values on CreateRequest 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 CreateRequestMultiError, or nil if none found.
type CreateRequestMultiError ¶
type CreateRequestMultiError []error
CreateRequestMultiError is an error wrapping multiple validation errors returned by CreateRequest.ValidateAll() if the designated constraints aren't met.
func (CreateRequestMultiError) AllErrors ¶
func (m CreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRequestMultiError) Error ¶
func (m CreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRequestValidationError ¶
type CreateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateRequestValidationError is the validation error returned by CreateRequest.Validate if the designated constraints aren't met.
func (CreateRequestValidationError) Cause ¶
func (e CreateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateRequestValidationError) Error ¶
func (e CreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRequestValidationError) ErrorName ¶
func (e CreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRequestValidationError) Field ¶
func (e CreateRequestValidationError) Field() string
Field function returns field value.
func (CreateRequestValidationError) Key ¶
func (e CreateRequestValidationError) Key() bool
Key function returns key value.
func (CreateRequestValidationError) Reason ¶
func (e CreateRequestValidationError) Reason() string
Reason function returns reason value.
type CreateResponse ¶
type CreateResponse struct {
// contains filtered or unexported fields
}
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
func (*CreateResponse) Validate ¶
func (m *CreateResponse) Validate() error
Validate checks the field values on CreateResponse 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 (*CreateResponse) ValidateAll ¶
func (m *CreateResponse) ValidateAll() error
ValidateAll checks the field values on CreateResponse 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 CreateResponseMultiError, or nil if none found.
type CreateResponseMultiError ¶
type CreateResponseMultiError []error
CreateResponseMultiError is an error wrapping multiple validation errors returned by CreateResponse.ValidateAll() if the designated constraints aren't met.
func (CreateResponseMultiError) AllErrors ¶
func (m CreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateResponseMultiError) Error ¶
func (m CreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateResponseValidationError ¶
type CreateResponseValidationError struct {
// contains filtered or unexported fields
}
CreateResponseValidationError is the validation error returned by CreateResponse.Validate if the designated constraints aren't met.
func (CreateResponseValidationError) Cause ¶
func (e CreateResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateResponseValidationError) Error ¶
func (e CreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateResponseValidationError) ErrorName ¶
func (e CreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateResponseValidationError) Field ¶
func (e CreateResponseValidationError) Field() string
Field function returns field value.
func (CreateResponseValidationError) Key ¶
func (e CreateResponseValidationError) Key() bool
Key function returns key value.
func (CreateResponseValidationError) Reason ¶
func (e CreateResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteRequest ¶
type DeleteRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Context map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetContext ¶
func (x *DeleteRequest) GetContext() map[string]string
func (*DeleteRequest) GetKey ¶
func (x *DeleteRequest) GetKey() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) Validate ¶
func (m *DeleteRequest) Validate() error
Validate checks the field values on DeleteRequest 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 (*DeleteRequest) ValidateAll ¶
func (m *DeleteRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRequest 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 DeleteRequestMultiError, or nil if none found.
type DeleteRequestMultiError ¶
type DeleteRequestMultiError []error
DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRequestMultiError) AllErrors ¶
func (m DeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRequestMultiError) Error ¶
func (m DeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRequestValidationError ¶
type DeleteRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.
func (DeleteRequestValidationError) Cause ¶
func (e DeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRequestValidationError) Error ¶
func (e DeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRequestValidationError) ErrorName ¶
func (e DeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRequestValidationError) Field ¶
func (e DeleteRequestValidationError) Field() string
Field function returns field value.
func (DeleteRequestValidationError) Key ¶
func (e DeleteRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRequestValidationError) Reason ¶
func (e DeleteRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
func (*DeleteResponse) Validate ¶
func (m *DeleteResponse) Validate() error
Validate checks the field values on DeleteResponse 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 (*DeleteResponse) ValidateAll ¶
func (m *DeleteResponse) ValidateAll() error
ValidateAll checks the field values on DeleteResponse 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 DeleteResponseMultiError, or nil if none found.
type DeleteResponseMultiError ¶
type DeleteResponseMultiError []error
DeleteResponseMultiError is an error wrapping multiple validation errors returned by DeleteResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteResponseMultiError) AllErrors ¶
func (m DeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteResponseMultiError) Error ¶
func (m DeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteResponseValidationError ¶
type DeleteResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteResponseValidationError is the validation error returned by DeleteResponse.Validate if the designated constraints aren't met.
func (DeleteResponseValidationError) Cause ¶
func (e DeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteResponseValidationError) Error ¶
func (e DeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteResponseValidationError) ErrorName ¶
func (e DeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteResponseValidationError) Field ¶
func (e DeleteResponseValidationError) Field() string
Field function returns field value.
func (DeleteResponseValidationError) Key ¶
func (e DeleteResponseValidationError) Key() bool
Key function returns key value.
func (DeleteResponseValidationError) Reason ¶
func (e DeleteResponseValidationError) Reason() string
Reason function returns reason value.
type RetrieveRequest ¶
type RetrieveRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Context map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RetrieveRequest) Descriptor
deprecated
func (*RetrieveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RetrieveRequest.ProtoReflect.Descriptor instead.
func (*RetrieveRequest) GetContext ¶
func (x *RetrieveRequest) GetContext() map[string]string
func (*RetrieveRequest) GetKey ¶
func (x *RetrieveRequest) GetKey() string
func (*RetrieveRequest) ProtoMessage ¶
func (*RetrieveRequest) ProtoMessage()
func (*RetrieveRequest) ProtoReflect ¶
func (x *RetrieveRequest) ProtoReflect() protoreflect.Message
func (*RetrieveRequest) Reset ¶
func (x *RetrieveRequest) Reset()
func (*RetrieveRequest) String ¶
func (x *RetrieveRequest) String() string
func (*RetrieveRequest) Validate ¶
func (m *RetrieveRequest) Validate() error
Validate checks the field values on RetrieveRequest 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 (*RetrieveRequest) ValidateAll ¶
func (m *RetrieveRequest) ValidateAll() error
ValidateAll checks the field values on RetrieveRequest 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 RetrieveRequestMultiError, or nil if none found.
type RetrieveRequestMultiError ¶
type RetrieveRequestMultiError []error
RetrieveRequestMultiError is an error wrapping multiple validation errors returned by RetrieveRequest.ValidateAll() if the designated constraints aren't met.
func (RetrieveRequestMultiError) AllErrors ¶
func (m RetrieveRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RetrieveRequestMultiError) Error ¶
func (m RetrieveRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RetrieveRequestValidationError ¶
type RetrieveRequestValidationError struct {
// contains filtered or unexported fields
}
RetrieveRequestValidationError is the validation error returned by RetrieveRequest.Validate if the designated constraints aren't met.
func (RetrieveRequestValidationError) Cause ¶
func (e RetrieveRequestValidationError) Cause() error
Cause function returns cause value.
func (RetrieveRequestValidationError) Error ¶
func (e RetrieveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RetrieveRequestValidationError) ErrorName ¶
func (e RetrieveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RetrieveRequestValidationError) Field ¶
func (e RetrieveRequestValidationError) Field() string
Field function returns field value.
func (RetrieveRequestValidationError) Key ¶
func (e RetrieveRequestValidationError) Key() bool
Key function returns key value.
func (RetrieveRequestValidationError) Reason ¶
func (e RetrieveRequestValidationError) Reason() string
Reason function returns reason value.
type RetrieveResponse ¶
type RetrieveResponse struct { Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RetrieveResponse) Descriptor
deprecated
func (*RetrieveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RetrieveResponse.ProtoReflect.Descriptor instead.
func (*RetrieveResponse) GetData ¶
func (x *RetrieveResponse) GetData() map[string]string
func (*RetrieveResponse) ProtoMessage ¶
func (*RetrieveResponse) ProtoMessage()
func (*RetrieveResponse) ProtoReflect ¶
func (x *RetrieveResponse) ProtoReflect() protoreflect.Message
func (*RetrieveResponse) Reset ¶
func (x *RetrieveResponse) Reset()
func (*RetrieveResponse) String ¶
func (x *RetrieveResponse) String() string
func (*RetrieveResponse) Validate ¶
func (m *RetrieveResponse) Validate() error
Validate checks the field values on RetrieveResponse 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 (*RetrieveResponse) ValidateAll ¶
func (m *RetrieveResponse) ValidateAll() error
ValidateAll checks the field values on RetrieveResponse 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 RetrieveResponseMultiError, or nil if none found.
type RetrieveResponseMultiError ¶
type RetrieveResponseMultiError []error
RetrieveResponseMultiError is an error wrapping multiple validation errors returned by RetrieveResponse.ValidateAll() if the designated constraints aren't met.
func (RetrieveResponseMultiError) AllErrors ¶
func (m RetrieveResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RetrieveResponseMultiError) Error ¶
func (m RetrieveResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RetrieveResponseValidationError ¶
type RetrieveResponseValidationError struct {
// contains filtered or unexported fields
}
RetrieveResponseValidationError is the validation error returned by RetrieveResponse.Validate if the designated constraints aren't met.
func (RetrieveResponseValidationError) Cause ¶
func (e RetrieveResponseValidationError) Cause() error
Cause function returns cause value.
func (RetrieveResponseValidationError) Error ¶
func (e RetrieveResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RetrieveResponseValidationError) ErrorName ¶
func (e RetrieveResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RetrieveResponseValidationError) Field ¶
func (e RetrieveResponseValidationError) Field() string
Field function returns field value.
func (RetrieveResponseValidationError) Key ¶
func (e RetrieveResponseValidationError) Key() bool
Key function returns key value.
func (RetrieveResponseValidationError) Reason ¶
func (e RetrieveResponseValidationError) Reason() string
Reason function returns reason value.
type SubscribeRequest ¶
type SubscribeRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeRequest) Descriptor
deprecated
func (*SubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRequest) ProtoMessage ¶
func (*SubscribeRequest) ProtoMessage()
func (*SubscribeRequest) ProtoReflect ¶
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRequest) Reset ¶
func (x *SubscribeRequest) Reset()
func (*SubscribeRequest) String ¶
func (x *SubscribeRequest) String() string
func (*SubscribeRequest) Validate ¶
func (m *SubscribeRequest) Validate() error
Validate checks the field values on SubscribeRequest 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 (*SubscribeRequest) ValidateAll ¶
func (m *SubscribeRequest) ValidateAll() error
ValidateAll checks the field values on SubscribeRequest 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 SubscribeRequestMultiError, or nil if none found.
type SubscribeRequestMultiError ¶
type SubscribeRequestMultiError []error
SubscribeRequestMultiError is an error wrapping multiple validation errors returned by SubscribeRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribeRequestMultiError) AllErrors ¶
func (m SubscribeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeRequestMultiError) Error ¶
func (m SubscribeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeRequestValidationError ¶
type SubscribeRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribeRequestValidationError is the validation error returned by SubscribeRequest.Validate if the designated constraints aren't met.
func (SubscribeRequestValidationError) Cause ¶
func (e SubscribeRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribeRequestValidationError) Error ¶
func (e SubscribeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeRequestValidationError) ErrorName ¶
func (e SubscribeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeRequestValidationError) Field ¶
func (e SubscribeRequestValidationError) Field() string
Field function returns field value.
func (SubscribeRequestValidationError) Key ¶
func (e SubscribeRequestValidationError) Key() bool
Key function returns key value.
func (SubscribeRequestValidationError) Reason ¶
func (e SubscribeRequestValidationError) Reason() string
Reason function returns reason value.
type SubscribeResponse ¶
type SubscribeResponse struct { Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SubscribeResponse) Descriptor
deprecated
func (*SubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
func (*SubscribeResponse) GetData ¶
func (x *SubscribeResponse) GetData() map[string]string
func (*SubscribeResponse) ProtoMessage ¶
func (*SubscribeResponse) ProtoMessage()
func (*SubscribeResponse) ProtoReflect ¶
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
func (*SubscribeResponse) Reset ¶
func (x *SubscribeResponse) Reset()
func (*SubscribeResponse) String ¶
func (x *SubscribeResponse) String() string
func (*SubscribeResponse) Validate ¶
func (m *SubscribeResponse) Validate() error
Validate checks the field values on SubscribeResponse 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 (*SubscribeResponse) ValidateAll ¶
func (m *SubscribeResponse) ValidateAll() error
ValidateAll checks the field values on SubscribeResponse 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 SubscribeResponseMultiError, or nil if none found.
type SubscribeResponseMultiError ¶
type SubscribeResponseMultiError []error
SubscribeResponseMultiError is an error wrapping multiple validation errors returned by SubscribeResponse.ValidateAll() if the designated constraints aren't met.
func (SubscribeResponseMultiError) AllErrors ¶
func (m SubscribeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeResponseMultiError) Error ¶
func (m SubscribeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeResponseValidationError ¶
type SubscribeResponseValidationError struct {
// contains filtered or unexported fields
}
SubscribeResponseValidationError is the validation error returned by SubscribeResponse.Validate if the designated constraints aren't met.
func (SubscribeResponseValidationError) Cause ¶
func (e SubscribeResponseValidationError) Cause() error
Cause function returns cause value.
func (SubscribeResponseValidationError) Error ¶
func (e SubscribeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeResponseValidationError) ErrorName ¶
func (e SubscribeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeResponseValidationError) Field ¶
func (e SubscribeResponseValidationError) Field() string
Field function returns field value.
func (SubscribeResponseValidationError) Key ¶
func (e SubscribeResponseValidationError) Key() bool
Key function returns key value.
func (SubscribeResponseValidationError) Reason ¶
func (e SubscribeResponseValidationError) Reason() string
Reason function returns reason value.
type TraServiceClient ¶
type TraServiceClient interface { Create(ctx context.Context, in *TraServiceRequest, opts ...grpc.CallOption) (*TraServiceResponse, error) Update(ctx context.Context, in *TraServiceRequest, opts ...grpc.CallOption) (*TraServiceResponse, error) Retrieve(ctx context.Context, in *TraServiceRequest, opts ...grpc.CallOption) (*TraServiceResponse, error) Delete(ctx context.Context, in *TraServiceRequest, opts ...grpc.CallOption) (*TraServiceResponse, error) Subscribe(ctx context.Context, in *TraServiceRequest, opts ...grpc.CallOption) (TraService_SubscribeClient, error) }
TraServiceClient is the client API for TraService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTraServiceClient ¶
func NewTraServiceClient(cc grpc.ClientConnInterface) TraServiceClient
type TraServiceConfig ¶
type TraServiceConfig struct { // Specifies the gRPC service that hosts the rate limit service. The client // will connect to this cluster when it needs to make rate limit service // requests. GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` // API version for rate limit transport protocol. This describes the rate limit gRPC endpoint and // version of messages used on the wire. TransportApiVersion v3.ApiVersion `` /* 158-byte string literal not displayed */ Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*TraServiceConfig) Descriptor
deprecated
func (*TraServiceConfig) Descriptor() ([]byte, []int)
Deprecated: Use TraServiceConfig.ProtoReflect.Descriptor instead.
func (*TraServiceConfig) GetGrpcService ¶
func (x *TraServiceConfig) GetGrpcService() *v3.GrpcService
func (*TraServiceConfig) GetTimeout ¶
func (x *TraServiceConfig) GetTimeout() *duration.Duration
func (*TraServiceConfig) GetTransportApiVersion ¶
func (x *TraServiceConfig) GetTransportApiVersion() v3.ApiVersion
func (*TraServiceConfig) ProtoMessage ¶
func (*TraServiceConfig) ProtoMessage()
func (*TraServiceConfig) ProtoReflect ¶
func (x *TraServiceConfig) ProtoReflect() protoreflect.Message
func (*TraServiceConfig) Reset ¶
func (x *TraServiceConfig) Reset()
func (*TraServiceConfig) String ¶
func (x *TraServiceConfig) String() string
func (*TraServiceConfig) Validate ¶
func (m *TraServiceConfig) Validate() error
Validate checks the field values on TraServiceConfig 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 (*TraServiceConfig) ValidateAll ¶
func (m *TraServiceConfig) ValidateAll() error
ValidateAll checks the field values on TraServiceConfig 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 TraServiceConfigMultiError, or nil if none found.
type TraServiceConfigMultiError ¶
type TraServiceConfigMultiError []error
TraServiceConfigMultiError is an error wrapping multiple validation errors returned by TraServiceConfig.ValidateAll() if the designated constraints aren't met.
func (TraServiceConfigMultiError) AllErrors ¶
func (m TraServiceConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraServiceConfigMultiError) Error ¶
func (m TraServiceConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraServiceConfigValidationError ¶
type TraServiceConfigValidationError struct {
// contains filtered or unexported fields
}
TraServiceConfigValidationError is the validation error returned by TraServiceConfig.Validate if the designated constraints aren't met.
func (TraServiceConfigValidationError) Cause ¶
func (e TraServiceConfigValidationError) Cause() error
Cause function returns cause value.
func (TraServiceConfigValidationError) Error ¶
func (e TraServiceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TraServiceConfigValidationError) ErrorName ¶
func (e TraServiceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TraServiceConfigValidationError) Field ¶
func (e TraServiceConfigValidationError) Field() string
Field function returns field value.
func (TraServiceConfigValidationError) Key ¶
func (e TraServiceConfigValidationError) Key() bool
Key function returns key value.
func (TraServiceConfigValidationError) Reason ¶
func (e TraServiceConfigValidationError) Reason() string
Reason function returns reason value.
type TraServiceRequest ¶
type TraServiceRequest struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Types that are assignable to Request: // *TraServiceRequest_CreateRequest // *TraServiceRequest_UpdateRequest // *TraServiceRequest_RetrieveRequest // *TraServiceRequest_DeleteRequest // *TraServiceRequest_SubscribeRequest Request isTraServiceRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
[#next-free-field: 7]
func (*TraServiceRequest) Descriptor
deprecated
func (*TraServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use TraServiceRequest.ProtoReflect.Descriptor instead.
func (*TraServiceRequest) GetCreateRequest ¶
func (x *TraServiceRequest) GetCreateRequest() *CreateRequest
func (*TraServiceRequest) GetDeleteRequest ¶
func (x *TraServiceRequest) GetDeleteRequest() *DeleteRequest
func (*TraServiceRequest) GetRequest ¶
func (m *TraServiceRequest) GetRequest() isTraServiceRequest_Request
func (*TraServiceRequest) GetRetrieveRequest ¶
func (x *TraServiceRequest) GetRetrieveRequest() *RetrieveRequest
func (*TraServiceRequest) GetSubscribeRequest ¶
func (x *TraServiceRequest) GetSubscribeRequest() *SubscribeRequest
func (*TraServiceRequest) GetType ¶
func (x *TraServiceRequest) GetType() string
func (*TraServiceRequest) GetUpdateRequest ¶
func (x *TraServiceRequest) GetUpdateRequest() *UpdateRequest
func (*TraServiceRequest) ProtoMessage ¶
func (*TraServiceRequest) ProtoMessage()
func (*TraServiceRequest) ProtoReflect ¶
func (x *TraServiceRequest) ProtoReflect() protoreflect.Message
func (*TraServiceRequest) Reset ¶
func (x *TraServiceRequest) Reset()
func (*TraServiceRequest) String ¶
func (x *TraServiceRequest) String() string
func (*TraServiceRequest) Validate ¶
func (m *TraServiceRequest) Validate() error
Validate checks the field values on TraServiceRequest 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 (*TraServiceRequest) ValidateAll ¶
func (m *TraServiceRequest) ValidateAll() error
ValidateAll checks the field values on TraServiceRequest 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 TraServiceRequestMultiError, or nil if none found.
type TraServiceRequestMultiError ¶
type TraServiceRequestMultiError []error
TraServiceRequestMultiError is an error wrapping multiple validation errors returned by TraServiceRequest.ValidateAll() if the designated constraints aren't met.
func (TraServiceRequestMultiError) AllErrors ¶
func (m TraServiceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraServiceRequestMultiError) Error ¶
func (m TraServiceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraServiceRequestValidationError ¶
type TraServiceRequestValidationError struct {
// contains filtered or unexported fields
}
TraServiceRequestValidationError is the validation error returned by TraServiceRequest.Validate if the designated constraints aren't met.
func (TraServiceRequestValidationError) Cause ¶
func (e TraServiceRequestValidationError) Cause() error
Cause function returns cause value.
func (TraServiceRequestValidationError) Error ¶
func (e TraServiceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TraServiceRequestValidationError) ErrorName ¶
func (e TraServiceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TraServiceRequestValidationError) Field ¶
func (e TraServiceRequestValidationError) Field() string
Field function returns field value.
func (TraServiceRequestValidationError) Key ¶
func (e TraServiceRequestValidationError) Key() bool
Key function returns key value.
func (TraServiceRequestValidationError) Reason ¶
func (e TraServiceRequestValidationError) Reason() string
Reason function returns reason value.
type TraServiceRequest_CreateRequest ¶
type TraServiceRequest_CreateRequest struct {
CreateRequest *CreateRequest `protobuf:"bytes,2,opt,name=create_request,json=createRequest,proto3,oneof"`
}
type TraServiceRequest_DeleteRequest ¶
type TraServiceRequest_DeleteRequest struct {
DeleteRequest *DeleteRequest `protobuf:"bytes,5,opt,name=delete_request,json=deleteRequest,proto3,oneof"`
}
type TraServiceRequest_RetrieveRequest ¶
type TraServiceRequest_RetrieveRequest struct {
RetrieveRequest *RetrieveRequest `protobuf:"bytes,4,opt,name=retrieve_request,json=retrieveRequest,proto3,oneof"`
}
type TraServiceRequest_SubscribeRequest ¶
type TraServiceRequest_SubscribeRequest struct {
SubscribeRequest *SubscribeRequest `protobuf:"bytes,6,opt,name=subscribe_request,json=subscribeRequest,proto3,oneof"`
}
type TraServiceRequest_UpdateRequest ¶
type TraServiceRequest_UpdateRequest struct {
UpdateRequest *UpdateRequest `protobuf:"bytes,3,opt,name=update_request,json=updateRequest,proto3,oneof"`
}
type TraServiceResponse ¶
type TraServiceResponse struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Ret int32 `protobuf:"varint,2,opt,name=ret,proto3" json:"ret,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // Types that are assignable to Response: // *TraServiceResponse_CreateResponse // *TraServiceResponse_UpdateResponse // *TraServiceResponse_RetrieveResponse // *TraServiceResponse_DeleteResponse // *TraServiceResponse_SubscribeResponse Response isTraServiceResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
[#next-free-field: 9]
func (*TraServiceResponse) Descriptor
deprecated
func (*TraServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use TraServiceResponse.ProtoReflect.Descriptor instead.
func (*TraServiceResponse) GetCreateResponse ¶
func (x *TraServiceResponse) GetCreateResponse() *CreateResponse
func (*TraServiceResponse) GetDeleteResponse ¶
func (x *TraServiceResponse) GetDeleteResponse() *DeleteResponse
func (*TraServiceResponse) GetReason ¶
func (x *TraServiceResponse) GetReason() string
func (*TraServiceResponse) GetResponse ¶
func (m *TraServiceResponse) GetResponse() isTraServiceResponse_Response
func (*TraServiceResponse) GetRet ¶
func (x *TraServiceResponse) GetRet() int32
func (*TraServiceResponse) GetRetrieveResponse ¶
func (x *TraServiceResponse) GetRetrieveResponse() *RetrieveResponse
func (*TraServiceResponse) GetSubscribeResponse ¶
func (x *TraServiceResponse) GetSubscribeResponse() *SubscribeResponse
func (*TraServiceResponse) GetType ¶
func (x *TraServiceResponse) GetType() string
func (*TraServiceResponse) GetUpdateResponse ¶
func (x *TraServiceResponse) GetUpdateResponse() *UpdateResponse
func (*TraServiceResponse) ProtoMessage ¶
func (*TraServiceResponse) ProtoMessage()
func (*TraServiceResponse) ProtoReflect ¶
func (x *TraServiceResponse) ProtoReflect() protoreflect.Message
func (*TraServiceResponse) Reset ¶
func (x *TraServiceResponse) Reset()
func (*TraServiceResponse) String ¶
func (x *TraServiceResponse) String() string
func (*TraServiceResponse) Validate ¶
func (m *TraServiceResponse) Validate() error
Validate checks the field values on TraServiceResponse 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 (*TraServiceResponse) ValidateAll ¶
func (m *TraServiceResponse) ValidateAll() error
ValidateAll checks the field values on TraServiceResponse 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 TraServiceResponseMultiError, or nil if none found.
type TraServiceResponseMultiError ¶
type TraServiceResponseMultiError []error
TraServiceResponseMultiError is an error wrapping multiple validation errors returned by TraServiceResponse.ValidateAll() if the designated constraints aren't met.
func (TraServiceResponseMultiError) AllErrors ¶
func (m TraServiceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraServiceResponseMultiError) Error ¶
func (m TraServiceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraServiceResponseValidationError ¶
type TraServiceResponseValidationError struct {
// contains filtered or unexported fields
}
TraServiceResponseValidationError is the validation error returned by TraServiceResponse.Validate if the designated constraints aren't met.
func (TraServiceResponseValidationError) Cause ¶
func (e TraServiceResponseValidationError) Cause() error
Cause function returns cause value.
func (TraServiceResponseValidationError) Error ¶
func (e TraServiceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TraServiceResponseValidationError) ErrorName ¶
func (e TraServiceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TraServiceResponseValidationError) Field ¶
func (e TraServiceResponseValidationError) Field() string
Field function returns field value.
func (TraServiceResponseValidationError) Key ¶
func (e TraServiceResponseValidationError) Key() bool
Key function returns key value.
func (TraServiceResponseValidationError) Reason ¶
func (e TraServiceResponseValidationError) Reason() string
Reason function returns reason value.
type TraServiceResponse_CreateResponse ¶
type TraServiceResponse_CreateResponse struct {
CreateResponse *CreateResponse `protobuf:"bytes,4,opt,name=create_response,json=createResponse,proto3,oneof"`
}
type TraServiceResponse_DeleteResponse ¶
type TraServiceResponse_DeleteResponse struct {
DeleteResponse *DeleteResponse `protobuf:"bytes,7,opt,name=delete_response,json=deleteResponse,proto3,oneof"`
}
type TraServiceResponse_RetrieveResponse ¶
type TraServiceResponse_RetrieveResponse struct {
RetrieveResponse *RetrieveResponse `protobuf:"bytes,6,opt,name=retrieve_response,json=retrieveResponse,proto3,oneof"`
}
type TraServiceResponse_SubscribeResponse ¶
type TraServiceResponse_SubscribeResponse struct {
SubscribeResponse *SubscribeResponse `protobuf:"bytes,8,opt,name=subscribe_response,json=subscribeResponse,proto3,oneof"`
}
type TraServiceResponse_UpdateResponse ¶
type TraServiceResponse_UpdateResponse struct {
UpdateResponse *UpdateResponse `protobuf:"bytes,5,opt,name=update_response,json=updateResponse,proto3,oneof"`
}
type TraServiceServer ¶
type TraServiceServer interface { Create(context.Context, *TraServiceRequest) (*TraServiceResponse, error) Update(context.Context, *TraServiceRequest) (*TraServiceResponse, error) Retrieve(context.Context, *TraServiceRequest) (*TraServiceResponse, error) Delete(context.Context, *TraServiceRequest) (*TraServiceResponse, error) Subscribe(*TraServiceRequest, TraService_SubscribeServer) error }
TraServiceServer is the server API for TraService service.
type TraService_SubscribeClient ¶
type TraService_SubscribeClient interface { Recv() (*TraServiceResponse, error) grpc.ClientStream }
type TraService_SubscribeServer ¶
type TraService_SubscribeServer interface { Send(*TraServiceResponse) error grpc.ServerStream }
type UnimplementedTraServiceServer ¶
type UnimplementedTraServiceServer struct { }
UnimplementedTraServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTraServiceServer) Create ¶
func (*UnimplementedTraServiceServer) Create(context.Context, *TraServiceRequest) (*TraServiceResponse, error)
func (*UnimplementedTraServiceServer) Delete ¶
func (*UnimplementedTraServiceServer) Delete(context.Context, *TraServiceRequest) (*TraServiceResponse, error)
func (*UnimplementedTraServiceServer) Retrieve ¶
func (*UnimplementedTraServiceServer) Retrieve(context.Context, *TraServiceRequest) (*TraServiceResponse, error)
func (*UnimplementedTraServiceServer) Subscribe ¶
func (*UnimplementedTraServiceServer) Subscribe(*TraServiceRequest, TraService_SubscribeServer) error
func (*UnimplementedTraServiceServer) Update ¶
func (*UnimplementedTraServiceServer) Update(context.Context, *TraServiceRequest) (*TraServiceResponse, error)
type UpdateRequest ¶
type UpdateRequest struct { Data map[string]string `` /* 149-byte string literal not displayed */ Context map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetContext ¶
func (x *UpdateRequest) GetContext() map[string]string
func (*UpdateRequest) GetData ¶
func (x *UpdateRequest) GetData() map[string]string
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
func (*UpdateRequest) Validate ¶
func (m *UpdateRequest) Validate() error
Validate checks the field values on UpdateRequest 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 (*UpdateRequest) ValidateAll ¶
func (m *UpdateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRequest 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 UpdateRequestMultiError, or nil if none found.
type UpdateRequestMultiError ¶
type UpdateRequestMultiError []error
UpdateRequestMultiError is an error wrapping multiple validation errors returned by UpdateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRequestMultiError) AllErrors ¶
func (m UpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRequestMultiError) Error ¶
func (m UpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRequestValidationError ¶
type UpdateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.
func (UpdateRequestValidationError) Cause ¶
func (e UpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRequestValidationError) Error ¶
func (e UpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRequestValidationError) ErrorName ¶
func (e UpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRequestValidationError) Field ¶
func (e UpdateRequestValidationError) Field() string
Field function returns field value.
func (UpdateRequestValidationError) Key ¶
func (e UpdateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRequestValidationError) Reason ¶
func (e UpdateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateResponse ¶
type UpdateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
func (*UpdateResponse) Validate ¶
func (m *UpdateResponse) Validate() error
Validate checks the field values on UpdateResponse 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 (*UpdateResponse) ValidateAll ¶
func (m *UpdateResponse) ValidateAll() error
ValidateAll checks the field values on UpdateResponse 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 UpdateResponseMultiError, or nil if none found.
type UpdateResponseMultiError ¶
type UpdateResponseMultiError []error
UpdateResponseMultiError is an error wrapping multiple validation errors returned by UpdateResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateResponseMultiError) AllErrors ¶
func (m UpdateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateResponseMultiError) Error ¶
func (m UpdateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateResponseValidationError ¶
type UpdateResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateResponseValidationError is the validation error returned by UpdateResponse.Validate if the designated constraints aren't met.
func (UpdateResponseValidationError) Cause ¶
func (e UpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateResponseValidationError) Error ¶
func (e UpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateResponseValidationError) ErrorName ¶
func (e UpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateResponseValidationError) Field ¶
func (e UpdateResponseValidationError) Field() string
Field function returns field value.
func (UpdateResponseValidationError) Key ¶
func (e UpdateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateResponseValidationError) Reason ¶
func (e UpdateResponseValidationError) Reason() string
Reason function returns reason value.