Documentation
¶
Overview ¶
Package corev1alpha1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterEngineServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterEngineServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EngineServiceClient) error
- func RegisterEngineServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterEngineServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EngineServiceServer) error
- func RegisterEngineServiceServer(s grpc.ServiceRegistrar, srv EngineServiceServer)
- type AggrFn
- type AppendRequest
- func (*AppendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppendRequest) GetFqn() string
- func (x *AppendRequest) GetKeys() map[string]string
- func (x *AppendRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *AppendRequest) GetUuid() string
- func (x *AppendRequest) GetValue() *Scalar
- func (*AppendRequest) ProtoMessage()
- func (x *AppendRequest) ProtoReflect() protoreflect.Message
- func (x *AppendRequest) Reset()
- func (x *AppendRequest) String() string
- func (m *AppendRequest) Validate() error
- func (m *AppendRequest) ValidateAll() error
- type AppendRequestMultiError
- type AppendRequestValidationError
- func (e AppendRequestValidationError) Cause() error
- func (e AppendRequestValidationError) Error() string
- func (e AppendRequestValidationError) ErrorName() string
- func (e AppendRequestValidationError) Field() string
- func (e AppendRequestValidationError) Key() bool
- func (e AppendRequestValidationError) Reason() string
- type AppendResponse
- func (*AppendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AppendResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *AppendResponse) GetUuid() string
- func (*AppendResponse) ProtoMessage()
- func (x *AppendResponse) ProtoReflect() protoreflect.Message
- func (x *AppendResponse) Reset()
- func (x *AppendResponse) String() string
- func (m *AppendResponse) Validate() error
- func (m *AppendResponse) ValidateAll() error
- type AppendResponseMultiError
- type AppendResponseValidationError
- func (e AppendResponseValidationError) Cause() error
- func (e AppendResponseValidationError) Error() string
- func (e AppendResponseValidationError) ErrorName() string
- func (e AppendResponseValidationError) Field() string
- func (e AppendResponseValidationError) Key() bool
- func (e AppendResponseValidationError) Reason() string
- type EngineServiceClient
- type EngineServiceServer
- type FeatureDescriptor
- func (*FeatureDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureDescriptor) GetAggr() []AggrFn
- func (x *FeatureDescriptor) GetBuilder() string
- func (x *FeatureDescriptor) GetDataSource() string
- func (x *FeatureDescriptor) GetFqn() string
- func (x *FeatureDescriptor) GetFreshness() *durationpb.Duration
- func (x *FeatureDescriptor) GetKeepPrevious() *KeepPrevious
- func (x *FeatureDescriptor) GetKeys() []string
- func (x *FeatureDescriptor) GetPrimitive() Primitive
- func (x *FeatureDescriptor) GetRuntimeEnv() string
- func (x *FeatureDescriptor) GetStaleness() *durationpb.Duration
- func (x *FeatureDescriptor) GetTimeout() *durationpb.Duration
- func (*FeatureDescriptor) ProtoMessage()
- func (x *FeatureDescriptor) ProtoReflect() protoreflect.Message
- func (x *FeatureDescriptor) Reset()
- func (x *FeatureDescriptor) String() string
- func (m *FeatureDescriptor) Validate() error
- func (m *FeatureDescriptor) ValidateAll() error
- type FeatureDescriptorMultiError
- type FeatureDescriptorRequest
- func (*FeatureDescriptorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureDescriptorRequest) GetSelector() string
- func (x *FeatureDescriptorRequest) GetUuid() string
- func (*FeatureDescriptorRequest) ProtoMessage()
- func (x *FeatureDescriptorRequest) ProtoReflect() protoreflect.Message
- func (x *FeatureDescriptorRequest) Reset()
- func (x *FeatureDescriptorRequest) String() string
- func (m *FeatureDescriptorRequest) Validate() error
- func (m *FeatureDescriptorRequest) ValidateAll() error
- type FeatureDescriptorRequestMultiError
- type FeatureDescriptorRequestValidationError
- func (e FeatureDescriptorRequestValidationError) Cause() error
- func (e FeatureDescriptorRequestValidationError) Error() string
- func (e FeatureDescriptorRequestValidationError) ErrorName() string
- func (e FeatureDescriptorRequestValidationError) Field() string
- func (e FeatureDescriptorRequestValidationError) Key() bool
- func (e FeatureDescriptorRequestValidationError) Reason() string
- type FeatureDescriptorResponse
- func (*FeatureDescriptorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureDescriptorResponse) GetFeatureDescriptor() *FeatureDescriptor
- func (x *FeatureDescriptorResponse) GetUuid() string
- func (*FeatureDescriptorResponse) ProtoMessage()
- func (x *FeatureDescriptorResponse) ProtoReflect() protoreflect.Message
- func (x *FeatureDescriptorResponse) Reset()
- func (x *FeatureDescriptorResponse) String() string
- func (m *FeatureDescriptorResponse) Validate() error
- func (m *FeatureDescriptorResponse) ValidateAll() error
- type FeatureDescriptorResponseMultiError
- type FeatureDescriptorResponseValidationError
- func (e FeatureDescriptorResponseValidationError) Cause() error
- func (e FeatureDescriptorResponseValidationError) Error() string
- func (e FeatureDescriptorResponseValidationError) ErrorName() string
- func (e FeatureDescriptorResponseValidationError) Field() string
- func (e FeatureDescriptorResponseValidationError) Key() bool
- func (e FeatureDescriptorResponseValidationError) Reason() string
- type FeatureDescriptorValidationError
- func (e FeatureDescriptorValidationError) Cause() error
- func (e FeatureDescriptorValidationError) Error() string
- func (e FeatureDescriptorValidationError) ErrorName() string
- func (e FeatureDescriptorValidationError) Field() string
- func (e FeatureDescriptorValidationError) Key() bool
- func (e FeatureDescriptorValidationError) Reason() string
- type FeatureValue
- func (*FeatureValue) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureValue) GetFqn() string
- func (x *FeatureValue) GetFresh() bool
- func (x *FeatureValue) GetKeys() map[string]string
- func (x *FeatureValue) GetTimestamp() *timestamppb.Timestamp
- func (x *FeatureValue) GetValue() *Value
- func (*FeatureValue) ProtoMessage()
- func (x *FeatureValue) ProtoReflect() protoreflect.Message
- func (x *FeatureValue) Reset()
- func (x *FeatureValue) String() string
- func (m *FeatureValue) Validate() error
- func (m *FeatureValue) ValidateAll() error
- type FeatureValueMultiError
- type FeatureValueValidationError
- func (e FeatureValueValidationError) Cause() error
- func (e FeatureValueValidationError) Error() string
- func (e FeatureValueValidationError) ErrorName() string
- func (e FeatureValueValidationError) Field() string
- func (e FeatureValueValidationError) Key() bool
- func (e FeatureValueValidationError) Reason() string
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequest) GetKeys() map[string]string
- func (x *GetRequest) GetSelector() string
- func (x *GetRequest) GetUuid() string
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (x *GetRequest) String() string
- func (m *GetRequest) Validate() error
- func (m *GetRequest) ValidateAll() error
- type GetRequestMultiError
- type GetRequestValidationError
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetFeatureDescriptor() *FeatureDescriptor
- func (x *GetResponse) GetUuid() string
- func (x *GetResponse) GetValue() *FeatureValue
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- func (m *GetResponse) Validate() error
- func (m *GetResponse) ValidateAll() error
- type GetResponseMultiError
- type GetResponseValidationError
- func (e GetResponseValidationError) Cause() error
- func (e GetResponseValidationError) Error() string
- func (e GetResponseValidationError) ErrorName() string
- func (e GetResponseValidationError) Field() string
- func (e GetResponseValidationError) Key() bool
- func (e GetResponseValidationError) Reason() string
- type IncrRequest
- func (*IncrRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IncrRequest) GetFqn() string
- func (x *IncrRequest) GetKeys() map[string]string
- func (x *IncrRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *IncrRequest) GetUuid() string
- func (x *IncrRequest) GetValue() *Scalar
- func (*IncrRequest) ProtoMessage()
- func (x *IncrRequest) ProtoReflect() protoreflect.Message
- func (x *IncrRequest) Reset()
- func (x *IncrRequest) String() string
- func (m *IncrRequest) Validate() error
- func (m *IncrRequest) ValidateAll() error
- type IncrRequestMultiError
- type IncrRequestValidationError
- func (e IncrRequestValidationError) Cause() error
- func (e IncrRequestValidationError) Error() string
- func (e IncrRequestValidationError) ErrorName() string
- func (e IncrRequestValidationError) Field() string
- func (e IncrRequestValidationError) Key() bool
- func (e IncrRequestValidationError) Reason() string
- type IncrResponse
- func (*IncrResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IncrResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *IncrResponse) GetUuid() string
- func (*IncrResponse) ProtoMessage()
- func (x *IncrResponse) ProtoReflect() protoreflect.Message
- func (x *IncrResponse) Reset()
- func (x *IncrResponse) String() string
- func (m *IncrResponse) Validate() error
- func (m *IncrResponse) ValidateAll() error
- type IncrResponseMultiError
- type IncrResponseValidationError
- func (e IncrResponseValidationError) Cause() error
- func (e IncrResponseValidationError) Error() string
- func (e IncrResponseValidationError) ErrorName() string
- func (e IncrResponseValidationError) Field() string
- func (e IncrResponseValidationError) Key() bool
- func (e IncrResponseValidationError) Reason() string
- type KeepPrevious
- func (*KeepPrevious) Descriptor() ([]byte, []int)deprecated
- func (x *KeepPrevious) GetOver() *durationpb.Duration
- func (x *KeepPrevious) GetVersions() uint32
- func (*KeepPrevious) ProtoMessage()
- func (x *KeepPrevious) ProtoReflect() protoreflect.Message
- func (x *KeepPrevious) Reset()
- func (x *KeepPrevious) String() string
- func (m *KeepPrevious) Validate() error
- func (m *KeepPrevious) ValidateAll() error
- type KeepPreviousMultiError
- type KeepPreviousValidationError
- func (e KeepPreviousValidationError) Cause() error
- func (e KeepPreviousValidationError) Error() string
- func (e KeepPreviousValidationError) ErrorName() string
- func (e KeepPreviousValidationError) Field() string
- func (e KeepPreviousValidationError) Key() bool
- func (e KeepPreviousValidationError) Reason() string
- type List
- type ListMultiError
- type ListValidationError
- type ObjectReference
- func (*ObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectReference) GetName() string
- func (x *ObjectReference) GetNamespace() string
- func (*ObjectReference) ProtoMessage()
- func (x *ObjectReference) ProtoReflect() protoreflect.Message
- func (x *ObjectReference) Reset()
- func (x *ObjectReference) String() string
- func (m *ObjectReference) Validate() error
- func (m *ObjectReference) ValidateAll() error
- type ObjectReferenceMultiError
- type ObjectReferenceValidationError
- func (e ObjectReferenceValidationError) Cause() error
- func (e ObjectReferenceValidationError) Error() string
- func (e ObjectReferenceValidationError) ErrorName() string
- func (e ObjectReferenceValidationError) Field() string
- func (e ObjectReferenceValidationError) Key() bool
- func (e ObjectReferenceValidationError) Reason() string
- type Primitive
- type Scalar
- func (*Scalar) Descriptor() ([]byte, []int)deprecated
- func (x *Scalar) GetBoolValue() bool
- func (x *Scalar) GetFloatValue() float64
- func (x *Scalar) GetIntValue() int32
- func (x *Scalar) GetStringValue() string
- func (x *Scalar) GetTimestampValue() *timestamppb.Timestamp
- func (m *Scalar) GetValue() isScalar_Value
- func (*Scalar) ProtoMessage()
- func (x *Scalar) ProtoReflect() protoreflect.Message
- func (x *Scalar) Reset()
- func (x *Scalar) String() string
- func (m *Scalar) Validate() error
- func (m *Scalar) ValidateAll() error
- type ScalarMultiError
- type ScalarValidationError
- type Scalar_BoolValue
- type Scalar_FloatValue
- type Scalar_IntValue
- type Scalar_StringValue
- type Scalar_TimestampValue
- type SetRequest
- func (*SetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetRequest) GetKeys() map[string]string
- func (x *SetRequest) GetSelector() string
- func (x *SetRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *SetRequest) GetUuid() string
- func (x *SetRequest) GetValue() *Value
- func (*SetRequest) ProtoMessage()
- func (x *SetRequest) ProtoReflect() protoreflect.Message
- func (x *SetRequest) Reset()
- func (x *SetRequest) String() string
- func (m *SetRequest) Validate() error
- func (m *SetRequest) ValidateAll() error
- type SetRequestMultiError
- type SetRequestValidationError
- type SetResponse
- func (*SetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *SetResponse) GetUuid() string
- func (*SetResponse) ProtoMessage()
- func (x *SetResponse) ProtoReflect() protoreflect.Message
- func (x *SetResponse) Reset()
- func (x *SetResponse) String() string
- func (m *SetResponse) Validate() error
- func (m *SetResponse) ValidateAll() error
- type SetResponseMultiError
- type SetResponseValidationError
- func (e SetResponseValidationError) Cause() error
- func (e SetResponseValidationError) Error() string
- func (e SetResponseValidationError) ErrorName() string
- func (e SetResponseValidationError) Field() string
- func (e SetResponseValidationError) Key() bool
- func (e SetResponseValidationError) Reason() string
- type UnimplementedEngineServiceServer
- func (UnimplementedEngineServiceServer) Append(context.Context, *AppendRequest) (*AppendResponse, error)
- func (UnimplementedEngineServiceServer) FeatureDescriptor(context.Context, *FeatureDescriptorRequest) (*FeatureDescriptorResponse, error)
- func (UnimplementedEngineServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedEngineServiceServer) Incr(context.Context, *IncrRequest) (*IncrResponse, error)
- func (UnimplementedEngineServiceServer) Set(context.Context, *SetRequest) (*SetResponse, error)
- func (UnimplementedEngineServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeEngineServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetKeys() map[string]string
- func (x *UpdateRequest) GetSelector() string
- func (x *UpdateRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UpdateRequest) GetUuid() string
- func (x *UpdateRequest) GetValue() *Value
- 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 (x *UpdateResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *UpdateResponse) GetUuid() string
- 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
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetListValue() *List
- func (x *Value) GetScalarValue() *Scalar
- func (m *Value) GetValue() isValue_Value
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- func (m *Value) Validate() error
- func (m *Value) ValidateAll() error
- type ValueMultiError
- type ValueValidationError
- type Value_ListValue
- type Value_ScalarValue
Constants ¶
const ( EngineService_FeatureDescriptor_FullMethodName = "/core.v1alpha1.EngineService/FeatureDescriptor" EngineService_Get_FullMethodName = "/core.v1alpha1.EngineService/Get" EngineService_Set_FullMethodName = "/core.v1alpha1.EngineService/Set" EngineService_Append_FullMethodName = "/core.v1alpha1.EngineService/Append" EngineService_Incr_FullMethodName = "/core.v1alpha1.EngineService/Incr" EngineService_Update_FullMethodName = "/core.v1alpha1.EngineService/Update" )
Variables ¶
var ( Primitive_name = map[int32]string{ 0: "PRIMITIVE_UNSPECIFIED", 1: "PRIMITIVE_STRING", 2: "PRIMITIVE_INTEGER", 3: "PRIMITIVE_FLOAT", 4: "PRIMITIVE_BOOL", 5: "PRIMITIVE_TIMESTAMP", 10: "PRIMITIVE_STRING_LIST", 11: "PRIMITIVE_INTEGER_LIST", 12: "PRIMITIVE_FLOAT_LIST", 13: "PRIMITIVE_BOOL_LIST", 14: "PRIMITIVE_TIMESTAMP_LIST", } Primitive_value = map[string]int32{ "PRIMITIVE_UNSPECIFIED": 0, "PRIMITIVE_STRING": 1, "PRIMITIVE_INTEGER": 2, "PRIMITIVE_FLOAT": 3, "PRIMITIVE_BOOL": 4, "PRIMITIVE_TIMESTAMP": 5, "PRIMITIVE_STRING_LIST": 10, "PRIMITIVE_INTEGER_LIST": 11, "PRIMITIVE_FLOAT_LIST": 12, "PRIMITIVE_BOOL_LIST": 13, "PRIMITIVE_TIMESTAMP_LIST": 14, } )
Enum value maps for Primitive.
var ( AggrFn_name = map[int32]string{ 0: "AGGR_FN_UNSPECIFIED", 1: "AGGR_FN_SUM", 2: "AGGR_FN_AVG", 3: "AGGR_FN_MAX", 4: "AGGR_FN_MIN", 5: "AGGR_FN_COUNT", } AggrFn_value = map[string]int32{ "AGGR_FN_UNSPECIFIED": 0, "AGGR_FN_SUM": 1, "AGGR_FN_AVG": 2, "AGGR_FN_MAX": 3, "AGGR_FN_MIN": 4, "AGGR_FN_COUNT": 5, } )
Enum value maps for AggrFn.
var EngineService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "core.v1alpha1.EngineService", HandlerType: (*EngineServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FeatureDescriptor", Handler: _EngineService_FeatureDescriptor_Handler, }, { MethodName: "Get", Handler: _EngineService_Get_Handler, }, { MethodName: "Set", Handler: _EngineService_Set_Handler, }, { MethodName: "Append", Handler: _EngineService_Append_Handler, }, { MethodName: "Incr", Handler: _EngineService_Incr_Handler, }, { MethodName: "Update", Handler: _EngineService_Update_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "core/v1alpha1/api.proto", }
EngineService_ServiceDesc is the grpc.ServiceDesc for EngineService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_core_v1alpha1_api_proto protoreflect.FileDescriptor
var File_core_v1alpha1_types_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEngineServiceHandler ¶
func RegisterEngineServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterEngineServiceHandler registers the http handlers for service EngineService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterEngineServiceHandlerClient ¶
func RegisterEngineServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EngineServiceClient) error
RegisterEngineServiceHandlerClient registers the http handlers for service EngineService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EngineServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EngineServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EngineServiceClient" to call the correct interceptors.
func RegisterEngineServiceHandlerFromEndpoint ¶
func RegisterEngineServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterEngineServiceHandlerFromEndpoint is same as RegisterEngineServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterEngineServiceHandlerServer ¶
func RegisterEngineServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EngineServiceServer) error
RegisterEngineServiceHandlerServer registers the http handlers for service EngineService to "mux". UnaryRPC :call EngineServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterEngineServiceHandlerFromEndpoint instead.
func RegisterEngineServiceServer ¶
func RegisterEngineServiceServer(s grpc.ServiceRegistrar, srv EngineServiceServer)
Types ¶
type AggrFn ¶
type AggrFn int32
func (AggrFn) Descriptor ¶
func (AggrFn) Descriptor() protoreflect.EnumDescriptor
func (AggrFn) EnumDescriptor
deprecated
func (AggrFn) Number ¶
func (x AggrFn) Number() protoreflect.EnumNumber
func (AggrFn) Type ¶
func (AggrFn) Type() protoreflect.EnumType
type AppendRequest ¶
type AppendRequest struct { // UUID of the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Selector of the feature Fqn string `protobuf:"bytes,2,opt,name=fqn,proto3" json:"fqn,omitempty"` // Keys of the feature Keys map[string]string `` /* 149-byte string literal not displayed */ // Value to append Value *Scalar `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // Timestamp of the update Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
AppendRequest is the request to append a value to a feature value.
func (*AppendRequest) Descriptor
deprecated
func (*AppendRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppendRequest.ProtoReflect.Descriptor instead.
func (*AppendRequest) GetFqn ¶
func (x *AppendRequest) GetFqn() string
func (*AppendRequest) GetKeys ¶
func (x *AppendRequest) GetKeys() map[string]string
func (*AppendRequest) GetTimestamp ¶
func (x *AppendRequest) GetTimestamp() *timestamppb.Timestamp
func (*AppendRequest) GetUuid ¶
func (x *AppendRequest) GetUuid() string
func (*AppendRequest) GetValue ¶
func (x *AppendRequest) GetValue() *Scalar
func (*AppendRequest) ProtoMessage ¶
func (*AppendRequest) ProtoMessage()
func (*AppendRequest) ProtoReflect ¶
func (x *AppendRequest) ProtoReflect() protoreflect.Message
func (*AppendRequest) Reset ¶
func (x *AppendRequest) Reset()
func (*AppendRequest) String ¶
func (x *AppendRequest) String() string
func (*AppendRequest) Validate ¶
func (m *AppendRequest) Validate() error
Validate checks the field values on AppendRequest 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 (*AppendRequest) ValidateAll ¶
func (m *AppendRequest) ValidateAll() error
ValidateAll checks the field values on AppendRequest 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 AppendRequestMultiError, or nil if none found.
type AppendRequestMultiError ¶
type AppendRequestMultiError []error
AppendRequestMultiError is an error wrapping multiple validation errors returned by AppendRequest.ValidateAll() if the designated constraints aren't met.
func (AppendRequestMultiError) AllErrors ¶
func (m AppendRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppendRequestMultiError) Error ¶
func (m AppendRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppendRequestValidationError ¶
type AppendRequestValidationError struct {
// contains filtered or unexported fields
}
AppendRequestValidationError is the validation error returned by AppendRequest.Validate if the designated constraints aren't met.
func (AppendRequestValidationError) Cause ¶
func (e AppendRequestValidationError) Cause() error
Cause function returns cause value.
func (AppendRequestValidationError) Error ¶
func (e AppendRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AppendRequestValidationError) ErrorName ¶
func (e AppendRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AppendRequestValidationError) Field ¶
func (e AppendRequestValidationError) Field() string
Field function returns field value.
func (AppendRequestValidationError) Key ¶
func (e AppendRequestValidationError) Key() bool
Key function returns key value.
func (AppendRequestValidationError) Reason ¶
func (e AppendRequestValidationError) Reason() string
Reason function returns reason value.
type AppendResponse ¶
type AppendResponse struct { // UUID corresponding to the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Timestamp of the update Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
AppendResponse is the response to append a value to a feature value.
func (*AppendResponse) Descriptor
deprecated
func (*AppendResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppendResponse.ProtoReflect.Descriptor instead.
func (*AppendResponse) GetTimestamp ¶
func (x *AppendResponse) GetTimestamp() *timestamppb.Timestamp
func (*AppendResponse) GetUuid ¶
func (x *AppendResponse) GetUuid() string
func (*AppendResponse) ProtoMessage ¶
func (*AppendResponse) ProtoMessage()
func (*AppendResponse) ProtoReflect ¶
func (x *AppendResponse) ProtoReflect() protoreflect.Message
func (*AppendResponse) Reset ¶
func (x *AppendResponse) Reset()
func (*AppendResponse) String ¶
func (x *AppendResponse) String() string
func (*AppendResponse) Validate ¶
func (m *AppendResponse) Validate() error
Validate checks the field values on AppendResponse 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 (*AppendResponse) ValidateAll ¶
func (m *AppendResponse) ValidateAll() error
ValidateAll checks the field values on AppendResponse 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 AppendResponseMultiError, or nil if none found.
type AppendResponseMultiError ¶
type AppendResponseMultiError []error
AppendResponseMultiError is an error wrapping multiple validation errors returned by AppendResponse.ValidateAll() if the designated constraints aren't met.
func (AppendResponseMultiError) AllErrors ¶
func (m AppendResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppendResponseMultiError) Error ¶
func (m AppendResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppendResponseValidationError ¶
type AppendResponseValidationError struct {
// contains filtered or unexported fields
}
AppendResponseValidationError is the validation error returned by AppendResponse.Validate if the designated constraints aren't met.
func (AppendResponseValidationError) Cause ¶
func (e AppendResponseValidationError) Cause() error
Cause function returns cause value.
func (AppendResponseValidationError) Error ¶
func (e AppendResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AppendResponseValidationError) ErrorName ¶
func (e AppendResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AppendResponseValidationError) Field ¶
func (e AppendResponseValidationError) Field() string
Field function returns field value.
func (AppendResponseValidationError) Key ¶
func (e AppendResponseValidationError) Key() bool
Key function returns key value.
func (AppendResponseValidationError) Reason ¶
func (e AppendResponseValidationError) Reason() string
Reason function returns reason value.
type EngineServiceClient ¶
type EngineServiceClient interface { // FeatureDescriptor returns the feature descriptor for the given selector. FeatureDescriptor(ctx context.Context, in *FeatureDescriptorRequest, opts ...grpc.CallOption) (*FeatureDescriptorResponse, error) // Get returns the feature value or model prediction for the given selector. Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) // Set sets the feature value for the given selector. Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error) // Append appends the given value to the feature value for the given selector. Append(ctx context.Context, in *AppendRequest, opts ...grpc.CallOption) (*AppendResponse, error) // Incr increments the feature value for the given selector. Incr(ctx context.Context, in *IncrRequest, opts ...grpc.CallOption) (*IncrResponse, error) // Update updates the feature value for the given selector. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) }
EngineServiceClient is the client API for EngineService 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 NewEngineServiceClient ¶
func NewEngineServiceClient(cc grpc.ClientConnInterface) EngineServiceClient
type EngineServiceServer ¶
type EngineServiceServer interface { // FeatureDescriptor returns the feature descriptor for the given selector. FeatureDescriptor(context.Context, *FeatureDescriptorRequest) (*FeatureDescriptorResponse, error) // Get returns the feature value or model prediction for the given selector. Get(context.Context, *GetRequest) (*GetResponse, error) // Set sets the feature value for the given selector. Set(context.Context, *SetRequest) (*SetResponse, error) // Append appends the given value to the feature value for the given selector. Append(context.Context, *AppendRequest) (*AppendResponse, error) // Incr increments the feature value for the given selector. Incr(context.Context, *IncrRequest) (*IncrResponse, error) // Update updates the feature value for the given selector. Update(context.Context, *UpdateRequest) (*UpdateResponse, error) }
EngineServiceServer is the server API for EngineService service. All implementations should embed UnimplementedEngineServiceServer for forward compatibility
type FeatureDescriptor ¶
type FeatureDescriptor struct { Fqn string `protobuf:"bytes,1,opt,name=fqn,proto3" json:"fqn,omitempty"` Primitive Primitive `protobuf:"varint,2,opt,name=primitive,proto3,enum=core.v1alpha1.Primitive" json:"primitive,omitempty"` Aggr []AggrFn `protobuf:"varint,3,rep,packed,name=aggr,proto3,enum=core.v1alpha1.AggrFn" json:"aggr,omitempty"` Freshness *durationpb.Duration `protobuf:"bytes,4,opt,name=freshness,proto3" json:"freshness,omitempty"` Staleness *durationpb.Duration `protobuf:"bytes,5,opt,name=staleness,proto3" json:"staleness,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` KeepPrevious *KeepPrevious `protobuf:"bytes,7,opt,name=keep_previous,json=keepPrevious,proto3,oneof" json:"keep_previous,omitempty"` Keys []string `protobuf:"bytes,8,rep,name=keys,proto3" json:"keys,omitempty"` Builder string `protobuf:"bytes,15,opt,name=builder,proto3" json:"builder,omitempty"` DataSource string `protobuf:"bytes,16,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` RuntimeEnv string `protobuf:"bytes,17,opt,name=runtime_env,json=runtimeEnv,proto3" json:"runtime_env,omitempty"` // contains filtered or unexported fields }
func (*FeatureDescriptor) Descriptor
deprecated
func (*FeatureDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use FeatureDescriptor.ProtoReflect.Descriptor instead.
func (*FeatureDescriptor) GetAggr ¶
func (x *FeatureDescriptor) GetAggr() []AggrFn
func (*FeatureDescriptor) GetBuilder ¶
func (x *FeatureDescriptor) GetBuilder() string
func (*FeatureDescriptor) GetDataSource ¶
func (x *FeatureDescriptor) GetDataSource() string
func (*FeatureDescriptor) GetFqn ¶
func (x *FeatureDescriptor) GetFqn() string
func (*FeatureDescriptor) GetFreshness ¶
func (x *FeatureDescriptor) GetFreshness() *durationpb.Duration
func (*FeatureDescriptor) GetKeepPrevious ¶
func (x *FeatureDescriptor) GetKeepPrevious() *KeepPrevious
func (*FeatureDescriptor) GetKeys ¶
func (x *FeatureDescriptor) GetKeys() []string
func (*FeatureDescriptor) GetPrimitive ¶
func (x *FeatureDescriptor) GetPrimitive() Primitive
func (*FeatureDescriptor) GetRuntimeEnv ¶
func (x *FeatureDescriptor) GetRuntimeEnv() string
func (*FeatureDescriptor) GetStaleness ¶
func (x *FeatureDescriptor) GetStaleness() *durationpb.Duration
func (*FeatureDescriptor) GetTimeout ¶
func (x *FeatureDescriptor) GetTimeout() *durationpb.Duration
func (*FeatureDescriptor) ProtoMessage ¶
func (*FeatureDescriptor) ProtoMessage()
func (*FeatureDescriptor) ProtoReflect ¶
func (x *FeatureDescriptor) ProtoReflect() protoreflect.Message
func (*FeatureDescriptor) Reset ¶
func (x *FeatureDescriptor) Reset()
func (*FeatureDescriptor) String ¶
func (x *FeatureDescriptor) String() string
func (*FeatureDescriptor) Validate ¶
func (m *FeatureDescriptor) Validate() error
Validate checks the field values on FeatureDescriptor 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 (*FeatureDescriptor) ValidateAll ¶
func (m *FeatureDescriptor) ValidateAll() error
ValidateAll checks the field values on FeatureDescriptor 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 FeatureDescriptorMultiError, or nil if none found.
type FeatureDescriptorMultiError ¶
type FeatureDescriptorMultiError []error
FeatureDescriptorMultiError is an error wrapping multiple validation errors returned by FeatureDescriptor.ValidateAll() if the designated constraints aren't met.
func (FeatureDescriptorMultiError) AllErrors ¶
func (m FeatureDescriptorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeatureDescriptorMultiError) Error ¶
func (m FeatureDescriptorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeatureDescriptorRequest ¶
type FeatureDescriptorRequest struct { // UUID of the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Selector of the feature Selector string `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` // contains filtered or unexported fields }
FeatureDescriptorRequest is the request to get a feature descriptor.
func (*FeatureDescriptorRequest) Descriptor
deprecated
func (*FeatureDescriptorRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeatureDescriptorRequest.ProtoReflect.Descriptor instead.
func (*FeatureDescriptorRequest) GetSelector ¶
func (x *FeatureDescriptorRequest) GetSelector() string
func (*FeatureDescriptorRequest) GetUuid ¶
func (x *FeatureDescriptorRequest) GetUuid() string
func (*FeatureDescriptorRequest) ProtoMessage ¶
func (*FeatureDescriptorRequest) ProtoMessage()
func (*FeatureDescriptorRequest) ProtoReflect ¶
func (x *FeatureDescriptorRequest) ProtoReflect() protoreflect.Message
func (*FeatureDescriptorRequest) Reset ¶
func (x *FeatureDescriptorRequest) Reset()
func (*FeatureDescriptorRequest) String ¶
func (x *FeatureDescriptorRequest) String() string
func (*FeatureDescriptorRequest) Validate ¶
func (m *FeatureDescriptorRequest) Validate() error
Validate checks the field values on FeatureDescriptorRequest 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 (*FeatureDescriptorRequest) ValidateAll ¶
func (m *FeatureDescriptorRequest) ValidateAll() error
ValidateAll checks the field values on FeatureDescriptorRequest 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 FeatureDescriptorRequestMultiError, or nil if none found.
type FeatureDescriptorRequestMultiError ¶
type FeatureDescriptorRequestMultiError []error
FeatureDescriptorRequestMultiError is an error wrapping multiple validation errors returned by FeatureDescriptorRequest.ValidateAll() if the designated constraints aren't met.
func (FeatureDescriptorRequestMultiError) AllErrors ¶
func (m FeatureDescriptorRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeatureDescriptorRequestMultiError) Error ¶
func (m FeatureDescriptorRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeatureDescriptorRequestValidationError ¶
type FeatureDescriptorRequestValidationError struct {
// contains filtered or unexported fields
}
FeatureDescriptorRequestValidationError is the validation error returned by FeatureDescriptorRequest.Validate if the designated constraints aren't met.
func (FeatureDescriptorRequestValidationError) Cause ¶
func (e FeatureDescriptorRequestValidationError) Cause() error
Cause function returns cause value.
func (FeatureDescriptorRequestValidationError) Error ¶
func (e FeatureDescriptorRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeatureDescriptorRequestValidationError) ErrorName ¶
func (e FeatureDescriptorRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeatureDescriptorRequestValidationError) Field ¶
func (e FeatureDescriptorRequestValidationError) Field() string
Field function returns field value.
func (FeatureDescriptorRequestValidationError) Key ¶
func (e FeatureDescriptorRequestValidationError) Key() bool
Key function returns key value.
func (FeatureDescriptorRequestValidationError) Reason ¶
func (e FeatureDescriptorRequestValidationError) Reason() string
Reason function returns reason value.
type FeatureDescriptorResponse ¶
type FeatureDescriptorResponse struct { // UUID corresponding to the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Feature descriptor FeatureDescriptor *FeatureDescriptor `protobuf:"bytes,2,opt,name=feature_descriptor,json=featureDescriptor,proto3" json:"feature_descriptor,omitempty"` // contains filtered or unexported fields }
FeatureDescriptorResponse is the response to get a feature descriptor.
func (*FeatureDescriptorResponse) Descriptor
deprecated
func (*FeatureDescriptorResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeatureDescriptorResponse.ProtoReflect.Descriptor instead.
func (*FeatureDescriptorResponse) GetFeatureDescriptor ¶
func (x *FeatureDescriptorResponse) GetFeatureDescriptor() *FeatureDescriptor
func (*FeatureDescriptorResponse) GetUuid ¶
func (x *FeatureDescriptorResponse) GetUuid() string
func (*FeatureDescriptorResponse) ProtoMessage ¶
func (*FeatureDescriptorResponse) ProtoMessage()
func (*FeatureDescriptorResponse) ProtoReflect ¶
func (x *FeatureDescriptorResponse) ProtoReflect() protoreflect.Message
func (*FeatureDescriptorResponse) Reset ¶
func (x *FeatureDescriptorResponse) Reset()
func (*FeatureDescriptorResponse) String ¶
func (x *FeatureDescriptorResponse) String() string
func (*FeatureDescriptorResponse) Validate ¶
func (m *FeatureDescriptorResponse) Validate() error
Validate checks the field values on FeatureDescriptorResponse 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 (*FeatureDescriptorResponse) ValidateAll ¶
func (m *FeatureDescriptorResponse) ValidateAll() error
ValidateAll checks the field values on FeatureDescriptorResponse 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 FeatureDescriptorResponseMultiError, or nil if none found.
type FeatureDescriptorResponseMultiError ¶
type FeatureDescriptorResponseMultiError []error
FeatureDescriptorResponseMultiError is an error wrapping multiple validation errors returned by FeatureDescriptorResponse.ValidateAll() if the designated constraints aren't met.
func (FeatureDescriptorResponseMultiError) AllErrors ¶
func (m FeatureDescriptorResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeatureDescriptorResponseMultiError) Error ¶
func (m FeatureDescriptorResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeatureDescriptorResponseValidationError ¶
type FeatureDescriptorResponseValidationError struct {
// contains filtered or unexported fields
}
FeatureDescriptorResponseValidationError is the validation error returned by FeatureDescriptorResponse.Validate if the designated constraints aren't met.
func (FeatureDescriptorResponseValidationError) Cause ¶
func (e FeatureDescriptorResponseValidationError) Cause() error
Cause function returns cause value.
func (FeatureDescriptorResponseValidationError) Error ¶
func (e FeatureDescriptorResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeatureDescriptorResponseValidationError) ErrorName ¶
func (e FeatureDescriptorResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeatureDescriptorResponseValidationError) Field ¶
func (e FeatureDescriptorResponseValidationError) Field() string
Field function returns field value.
func (FeatureDescriptorResponseValidationError) Key ¶
func (e FeatureDescriptorResponseValidationError) Key() bool
Key function returns key value.
func (FeatureDescriptorResponseValidationError) Reason ¶
func (e FeatureDescriptorResponseValidationError) Reason() string
Reason function returns reason value.
type FeatureDescriptorValidationError ¶
type FeatureDescriptorValidationError struct {
// contains filtered or unexported fields
}
FeatureDescriptorValidationError is the validation error returned by FeatureDescriptor.Validate if the designated constraints aren't met.
func (FeatureDescriptorValidationError) Cause ¶
func (e FeatureDescriptorValidationError) Cause() error
Cause function returns cause value.
func (FeatureDescriptorValidationError) Error ¶
func (e FeatureDescriptorValidationError) Error() string
Error satisfies the builtin error interface
func (FeatureDescriptorValidationError) ErrorName ¶
func (e FeatureDescriptorValidationError) ErrorName() string
ErrorName returns error name.
func (FeatureDescriptorValidationError) Field ¶
func (e FeatureDescriptorValidationError) Field() string
Field function returns field value.
func (FeatureDescriptorValidationError) Key ¶
func (e FeatureDescriptorValidationError) Key() bool
Key function returns key value.
func (FeatureDescriptorValidationError) Reason ¶
func (e FeatureDescriptorValidationError) Reason() string
Reason function returns reason value.
type FeatureValue ¶
type FeatureValue struct { Fqn string `protobuf:"bytes,1,opt,name=fqn,proto3" json:"fqn,omitempty"` Keys map[string]string `` /* 149-byte string literal not displayed */ Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Fresh bool `protobuf:"varint,5,opt,name=fresh,proto3" json:"fresh,omitempty"` // contains filtered or unexported fields }
func (*FeatureValue) Descriptor
deprecated
func (*FeatureValue) Descriptor() ([]byte, []int)
Deprecated: Use FeatureValue.ProtoReflect.Descriptor instead.
func (*FeatureValue) GetFqn ¶
func (x *FeatureValue) GetFqn() string
func (*FeatureValue) GetFresh ¶
func (x *FeatureValue) GetFresh() bool
func (*FeatureValue) GetKeys ¶
func (x *FeatureValue) GetKeys() map[string]string
func (*FeatureValue) GetTimestamp ¶
func (x *FeatureValue) GetTimestamp() *timestamppb.Timestamp
func (*FeatureValue) GetValue ¶
func (x *FeatureValue) GetValue() *Value
func (*FeatureValue) ProtoMessage ¶
func (*FeatureValue) ProtoMessage()
func (*FeatureValue) ProtoReflect ¶
func (x *FeatureValue) ProtoReflect() protoreflect.Message
func (*FeatureValue) Reset ¶
func (x *FeatureValue) Reset()
func (*FeatureValue) String ¶
func (x *FeatureValue) String() string
func (*FeatureValue) Validate ¶
func (m *FeatureValue) Validate() error
Validate checks the field values on FeatureValue 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 (*FeatureValue) ValidateAll ¶
func (m *FeatureValue) ValidateAll() error
ValidateAll checks the field values on FeatureValue 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 FeatureValueMultiError, or nil if none found.
type FeatureValueMultiError ¶
type FeatureValueMultiError []error
FeatureValueMultiError is an error wrapping multiple validation errors returned by FeatureValue.ValidateAll() if the designated constraints aren't met.
func (FeatureValueMultiError) AllErrors ¶
func (m FeatureValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeatureValueMultiError) Error ¶
func (m FeatureValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeatureValueValidationError ¶
type FeatureValueValidationError struct {
// contains filtered or unexported fields
}
FeatureValueValidationError is the validation error returned by FeatureValue.Validate if the designated constraints aren't met.
func (FeatureValueValidationError) Cause ¶
func (e FeatureValueValidationError) Cause() error
Cause function returns cause value.
func (FeatureValueValidationError) Error ¶
func (e FeatureValueValidationError) Error() string
Error satisfies the builtin error interface
func (FeatureValueValidationError) ErrorName ¶
func (e FeatureValueValidationError) ErrorName() string
ErrorName returns error name.
func (FeatureValueValidationError) Field ¶
func (e FeatureValueValidationError) Field() string
Field function returns field value.
func (FeatureValueValidationError) Key ¶
func (e FeatureValueValidationError) Key() bool
Key function returns key value.
func (FeatureValueValidationError) Reason ¶
func (e FeatureValueValidationError) Reason() string
Reason function returns reason value.
type GetRequest ¶
type GetRequest struct { // UUID of the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Selector of the feature Selector string `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` // Keys of the feature Keys map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
GetRequest is the request to get a feature value.
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetKeys ¶
func (x *GetRequest) GetKeys() map[string]string
func (*GetRequest) GetSelector ¶
func (x *GetRequest) GetSelector() string
func (*GetRequest) GetUuid ¶
func (x *GetRequest) GetUuid() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
func (*GetRequest) Validate ¶
func (m *GetRequest) Validate() error
Validate checks the field values on GetRequest 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 (*GetRequest) ValidateAll ¶
func (m *GetRequest) ValidateAll() error
ValidateAll checks the field values on GetRequest 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 GetRequestMultiError, or nil if none found.
type GetRequestMultiError ¶
type GetRequestMultiError []error
GetRequestMultiError is an error wrapping multiple validation errors returned by GetRequest.ValidateAll() if the designated constraints aren't met.
func (GetRequestMultiError) AllErrors ¶
func (m GetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRequestMultiError) Error ¶
func (m GetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRequestValidationError ¶
type GetRequestValidationError struct {
// contains filtered or unexported fields
}
GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.
func (GetRequestValidationError) Cause ¶
func (e GetRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRequestValidationError) Error ¶
func (e GetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRequestValidationError) ErrorName ¶
func (e GetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRequestValidationError) Field ¶
func (e GetRequestValidationError) Field() string
Field function returns field value.
func (GetRequestValidationError) Key ¶
func (e GetRequestValidationError) Key() bool
Key function returns key value.
func (GetRequestValidationError) Reason ¶
func (e GetRequestValidationError) Reason() string
Reason function returns reason value.
type GetResponse ¶
type GetResponse struct { // UUID corresponding to the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Feature value Value *FeatureValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Feature descriptor FeatureDescriptor *FeatureDescriptor `protobuf:"bytes,3,opt,name=feature_descriptor,json=featureDescriptor,proto3" json:"feature_descriptor,omitempty"` // contains filtered or unexported fields }
GetResponse is the response to get a feature value.
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetFeatureDescriptor ¶
func (x *GetResponse) GetFeatureDescriptor() *FeatureDescriptor
func (*GetResponse) GetUuid ¶
func (x *GetResponse) GetUuid() string
func (*GetResponse) GetValue ¶
func (x *GetResponse) GetValue() *FeatureValue
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
func (*GetResponse) Validate ¶
func (m *GetResponse) Validate() error
Validate checks the field values on GetResponse 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 (*GetResponse) ValidateAll ¶
func (m *GetResponse) ValidateAll() error
ValidateAll checks the field values on GetResponse 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 GetResponseMultiError, or nil if none found.
type GetResponseMultiError ¶
type GetResponseMultiError []error
GetResponseMultiError is an error wrapping multiple validation errors returned by GetResponse.ValidateAll() if the designated constraints aren't met.
func (GetResponseMultiError) AllErrors ¶
func (m GetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetResponseMultiError) Error ¶
func (m GetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetResponseValidationError ¶
type GetResponseValidationError struct {
// contains filtered or unexported fields
}
GetResponseValidationError is the validation error returned by GetResponse.Validate if the designated constraints aren't met.
func (GetResponseValidationError) Cause ¶
func (e GetResponseValidationError) Cause() error
Cause function returns cause value.
func (GetResponseValidationError) Error ¶
func (e GetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetResponseValidationError) ErrorName ¶
func (e GetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetResponseValidationError) Field ¶
func (e GetResponseValidationError) Field() string
Field function returns field value.
func (GetResponseValidationError) Key ¶
func (e GetResponseValidationError) Key() bool
Key function returns key value.
func (GetResponseValidationError) Reason ¶
func (e GetResponseValidationError) Reason() string
Reason function returns reason value.
type IncrRequest ¶
type IncrRequest struct { // UUID of the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Selector of the feature Fqn string `protobuf:"bytes,2,opt,name=fqn,proto3" json:"fqn,omitempty"` // Keys of the feature Keys map[string]string `` /* 149-byte string literal not displayed */ // Value to increment by Value *Scalar `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // Timestamp of the update Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
IncrRequest is the request to atomic-increment a feature value.
func (*IncrRequest) Descriptor
deprecated
func (*IncrRequest) Descriptor() ([]byte, []int)
Deprecated: Use IncrRequest.ProtoReflect.Descriptor instead.
func (*IncrRequest) GetFqn ¶
func (x *IncrRequest) GetFqn() string
func (*IncrRequest) GetKeys ¶
func (x *IncrRequest) GetKeys() map[string]string
func (*IncrRequest) GetTimestamp ¶
func (x *IncrRequest) GetTimestamp() *timestamppb.Timestamp
func (*IncrRequest) GetUuid ¶
func (x *IncrRequest) GetUuid() string
func (*IncrRequest) GetValue ¶
func (x *IncrRequest) GetValue() *Scalar
func (*IncrRequest) ProtoMessage ¶
func (*IncrRequest) ProtoMessage()
func (*IncrRequest) ProtoReflect ¶
func (x *IncrRequest) ProtoReflect() protoreflect.Message
func (*IncrRequest) Reset ¶
func (x *IncrRequest) Reset()
func (*IncrRequest) String ¶
func (x *IncrRequest) String() string
func (*IncrRequest) Validate ¶
func (m *IncrRequest) Validate() error
Validate checks the field values on IncrRequest 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 (*IncrRequest) ValidateAll ¶
func (m *IncrRequest) ValidateAll() error
ValidateAll checks the field values on IncrRequest 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 IncrRequestMultiError, or nil if none found.
type IncrRequestMultiError ¶
type IncrRequestMultiError []error
IncrRequestMultiError is an error wrapping multiple validation errors returned by IncrRequest.ValidateAll() if the designated constraints aren't met.
func (IncrRequestMultiError) AllErrors ¶
func (m IncrRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IncrRequestMultiError) Error ¶
func (m IncrRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IncrRequestValidationError ¶
type IncrRequestValidationError struct {
// contains filtered or unexported fields
}
IncrRequestValidationError is the validation error returned by IncrRequest.Validate if the designated constraints aren't met.
func (IncrRequestValidationError) Cause ¶
func (e IncrRequestValidationError) Cause() error
Cause function returns cause value.
func (IncrRequestValidationError) Error ¶
func (e IncrRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IncrRequestValidationError) ErrorName ¶
func (e IncrRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IncrRequestValidationError) Field ¶
func (e IncrRequestValidationError) Field() string
Field function returns field value.
func (IncrRequestValidationError) Key ¶
func (e IncrRequestValidationError) Key() bool
Key function returns key value.
func (IncrRequestValidationError) Reason ¶
func (e IncrRequestValidationError) Reason() string
Reason function returns reason value.
type IncrResponse ¶
type IncrResponse struct { // UUID corresponding to the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Timestamp of the update Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
IncrResponse is the response to atomic-increment a feature value.
func (*IncrResponse) Descriptor
deprecated
func (*IncrResponse) Descriptor() ([]byte, []int)
Deprecated: Use IncrResponse.ProtoReflect.Descriptor instead.
func (*IncrResponse) GetTimestamp ¶
func (x *IncrResponse) GetTimestamp() *timestamppb.Timestamp
func (*IncrResponse) GetUuid ¶
func (x *IncrResponse) GetUuid() string
func (*IncrResponse) ProtoMessage ¶
func (*IncrResponse) ProtoMessage()
func (*IncrResponse) ProtoReflect ¶
func (x *IncrResponse) ProtoReflect() protoreflect.Message
func (*IncrResponse) Reset ¶
func (x *IncrResponse) Reset()
func (*IncrResponse) String ¶
func (x *IncrResponse) String() string
func (*IncrResponse) Validate ¶
func (m *IncrResponse) Validate() error
Validate checks the field values on IncrResponse 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 (*IncrResponse) ValidateAll ¶
func (m *IncrResponse) ValidateAll() error
ValidateAll checks the field values on IncrResponse 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 IncrResponseMultiError, or nil if none found.
type IncrResponseMultiError ¶
type IncrResponseMultiError []error
IncrResponseMultiError is an error wrapping multiple validation errors returned by IncrResponse.ValidateAll() if the designated constraints aren't met.
func (IncrResponseMultiError) AllErrors ¶
func (m IncrResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IncrResponseMultiError) Error ¶
func (m IncrResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IncrResponseValidationError ¶
type IncrResponseValidationError struct {
// contains filtered or unexported fields
}
IncrResponseValidationError is the validation error returned by IncrResponse.Validate if the designated constraints aren't met.
func (IncrResponseValidationError) Cause ¶
func (e IncrResponseValidationError) Cause() error
Cause function returns cause value.
func (IncrResponseValidationError) Error ¶
func (e IncrResponseValidationError) Error() string
Error satisfies the builtin error interface
func (IncrResponseValidationError) ErrorName ¶
func (e IncrResponseValidationError) ErrorName() string
ErrorName returns error name.
func (IncrResponseValidationError) Field ¶
func (e IncrResponseValidationError) Field() string
Field function returns field value.
func (IncrResponseValidationError) Key ¶
func (e IncrResponseValidationError) Key() bool
Key function returns key value.
func (IncrResponseValidationError) Reason ¶
func (e IncrResponseValidationError) Reason() string
Reason function returns reason value.
type KeepPrevious ¶
type KeepPrevious struct { Versions uint32 `protobuf:"varint,1,opt,name=versions,proto3" json:"versions,omitempty"` Over *durationpb.Duration `protobuf:"bytes,2,opt,name=over,proto3" json:"over,omitempty"` // contains filtered or unexported fields }
func (*KeepPrevious) Descriptor
deprecated
func (*KeepPrevious) Descriptor() ([]byte, []int)
Deprecated: Use KeepPrevious.ProtoReflect.Descriptor instead.
func (*KeepPrevious) GetOver ¶
func (x *KeepPrevious) GetOver() *durationpb.Duration
func (*KeepPrevious) GetVersions ¶
func (x *KeepPrevious) GetVersions() uint32
func (*KeepPrevious) ProtoMessage ¶
func (*KeepPrevious) ProtoMessage()
func (*KeepPrevious) ProtoReflect ¶
func (x *KeepPrevious) ProtoReflect() protoreflect.Message
func (*KeepPrevious) Reset ¶
func (x *KeepPrevious) Reset()
func (*KeepPrevious) String ¶
func (x *KeepPrevious) String() string
func (*KeepPrevious) Validate ¶
func (m *KeepPrevious) Validate() error
Validate checks the field values on KeepPrevious 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 (*KeepPrevious) ValidateAll ¶
func (m *KeepPrevious) ValidateAll() error
ValidateAll checks the field values on KeepPrevious 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 KeepPreviousMultiError, or nil if none found.
type KeepPreviousMultiError ¶
type KeepPreviousMultiError []error
KeepPreviousMultiError is an error wrapping multiple validation errors returned by KeepPrevious.ValidateAll() if the designated constraints aren't met.
func (KeepPreviousMultiError) AllErrors ¶
func (m KeepPreviousMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KeepPreviousMultiError) Error ¶
func (m KeepPreviousMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KeepPreviousValidationError ¶
type KeepPreviousValidationError struct {
// contains filtered or unexported fields
}
KeepPreviousValidationError is the validation error returned by KeepPrevious.Validate if the designated constraints aren't met.
func (KeepPreviousValidationError) Cause ¶
func (e KeepPreviousValidationError) Cause() error
Cause function returns cause value.
func (KeepPreviousValidationError) Error ¶
func (e KeepPreviousValidationError) Error() string
Error satisfies the builtin error interface
func (KeepPreviousValidationError) ErrorName ¶
func (e KeepPreviousValidationError) ErrorName() string
ErrorName returns error name.
func (KeepPreviousValidationError) Field ¶
func (e KeepPreviousValidationError) Field() string
Field function returns field value.
func (KeepPreviousValidationError) Key ¶
func (e KeepPreviousValidationError) Key() bool
Key function returns key value.
func (KeepPreviousValidationError) Reason ¶
func (e KeepPreviousValidationError) Reason() string
Reason function returns reason value.
type List ¶
type List struct { Values []*Scalar `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*List) Descriptor
deprecated
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
func (*List) Validate ¶
Validate checks the field values on List 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 (*List) ValidateAll ¶
ValidateAll checks the field values on List 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 ListMultiError, or nil if none found.
type ListMultiError ¶
type ListMultiError []error
ListMultiError is an error wrapping multiple validation errors returned by List.ValidateAll() if the designated constraints aren't met.
func (ListMultiError) AllErrors ¶
func (m ListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListMultiError) Error ¶
func (m ListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListValidationError ¶
type ListValidationError struct {
// contains filtered or unexported fields
}
ListValidationError is the validation error returned by List.Validate if the designated constraints aren't met.
func (ListValidationError) Cause ¶
func (e ListValidationError) Cause() error
Cause function returns cause value.
func (ListValidationError) Error ¶
func (e ListValidationError) Error() string
Error satisfies the builtin error interface
func (ListValidationError) ErrorName ¶
func (e ListValidationError) ErrorName() string
ErrorName returns error name.
func (ListValidationError) Field ¶
func (e ListValidationError) Field() string
Field function returns field value.
func (ListValidationError) Key ¶
func (e ListValidationError) Key() bool
Key function returns key value.
func (ListValidationError) Reason ¶
func (e ListValidationError) Reason() string
Reason function returns reason value.
type ObjectReference ¶
type ObjectReference struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ObjectReference) Descriptor
deprecated
func (*ObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.
func (*ObjectReference) GetName ¶
func (x *ObjectReference) GetName() string
func (*ObjectReference) GetNamespace ¶
func (x *ObjectReference) GetNamespace() string
func (*ObjectReference) ProtoMessage ¶
func (*ObjectReference) ProtoMessage()
func (*ObjectReference) ProtoReflect ¶
func (x *ObjectReference) ProtoReflect() protoreflect.Message
func (*ObjectReference) Reset ¶
func (x *ObjectReference) Reset()
func (*ObjectReference) String ¶
func (x *ObjectReference) String() string
func (*ObjectReference) Validate ¶
func (m *ObjectReference) Validate() error
Validate checks the field values on ObjectReference 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 (*ObjectReference) ValidateAll ¶
func (m *ObjectReference) ValidateAll() error
ValidateAll checks the field values on ObjectReference 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 ObjectReferenceMultiError, or nil if none found.
type ObjectReferenceMultiError ¶
type ObjectReferenceMultiError []error
ObjectReferenceMultiError is an error wrapping multiple validation errors returned by ObjectReference.ValidateAll() if the designated constraints aren't met.
func (ObjectReferenceMultiError) AllErrors ¶
func (m ObjectReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectReferenceMultiError) Error ¶
func (m ObjectReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectReferenceValidationError ¶
type ObjectReferenceValidationError struct {
// contains filtered or unexported fields
}
ObjectReferenceValidationError is the validation error returned by ObjectReference.Validate if the designated constraints aren't met.
func (ObjectReferenceValidationError) Cause ¶
func (e ObjectReferenceValidationError) Cause() error
Cause function returns cause value.
func (ObjectReferenceValidationError) Error ¶
func (e ObjectReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectReferenceValidationError) ErrorName ¶
func (e ObjectReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectReferenceValidationError) Field ¶
func (e ObjectReferenceValidationError) Field() string
Field function returns field value.
func (ObjectReferenceValidationError) Key ¶
func (e ObjectReferenceValidationError) Key() bool
Key function returns key value.
func (ObjectReferenceValidationError) Reason ¶
func (e ObjectReferenceValidationError) Reason() string
Reason function returns reason value.
type Primitive ¶
type Primitive int32
const ( Primitive_PRIMITIVE_UNSPECIFIED Primitive = 0 Primitive_PRIMITIVE_STRING Primitive = 1 Primitive_PRIMITIVE_INTEGER Primitive = 2 Primitive_PRIMITIVE_FLOAT Primitive = 3 Primitive_PRIMITIVE_BOOL Primitive = 4 Primitive_PRIMITIVE_TIMESTAMP Primitive = 5 // 6-9 Reserved for future use. Primitive_PRIMITIVE_STRING_LIST Primitive = 10 Primitive_PRIMITIVE_INTEGER_LIST Primitive = 11 Primitive_PRIMITIVE_FLOAT_LIST Primitive = 12 Primitive_PRIMITIVE_BOOL_LIST Primitive = 13 Primitive_PRIMITIVE_TIMESTAMP_LIST Primitive = 14 )
func (Primitive) Descriptor ¶
func (Primitive) Descriptor() protoreflect.EnumDescriptor
func (Primitive) EnumDescriptor
deprecated
func (Primitive) Number ¶
func (x Primitive) Number() protoreflect.EnumNumber
func (Primitive) Type ¶
func (Primitive) Type() protoreflect.EnumType
type Scalar ¶
type Scalar struct { // Types that are assignable to Value: // // *Scalar_StringValue // *Scalar_IntValue // *Scalar_FloatValue // *Scalar_BoolValue // *Scalar_TimestampValue Value isScalar_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Scalar) Descriptor
deprecated
func (*Scalar) GetBoolValue ¶
func (*Scalar) GetFloatValue ¶
func (*Scalar) GetIntValue ¶
func (*Scalar) GetStringValue ¶
func (*Scalar) GetTimestampValue ¶
func (x *Scalar) GetTimestampValue() *timestamppb.Timestamp
func (*Scalar) ProtoMessage ¶
func (*Scalar) ProtoMessage()
func (*Scalar) ProtoReflect ¶
func (x *Scalar) ProtoReflect() protoreflect.Message
func (*Scalar) Validate ¶
Validate checks the field values on Scalar 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 (*Scalar) ValidateAll ¶
ValidateAll checks the field values on Scalar 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 ScalarMultiError, or nil if none found.
type ScalarMultiError ¶
type ScalarMultiError []error
ScalarMultiError is an error wrapping multiple validation errors returned by Scalar.ValidateAll() if the designated constraints aren't met.
func (ScalarMultiError) AllErrors ¶
func (m ScalarMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScalarMultiError) Error ¶
func (m ScalarMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScalarValidationError ¶
type ScalarValidationError struct {
// contains filtered or unexported fields
}
ScalarValidationError is the validation error returned by Scalar.Validate if the designated constraints aren't met.
func (ScalarValidationError) Cause ¶
func (e ScalarValidationError) Cause() error
Cause function returns cause value.
func (ScalarValidationError) Error ¶
func (e ScalarValidationError) Error() string
Error satisfies the builtin error interface
func (ScalarValidationError) ErrorName ¶
func (e ScalarValidationError) ErrorName() string
ErrorName returns error name.
func (ScalarValidationError) Field ¶
func (e ScalarValidationError) Field() string
Field function returns field value.
func (ScalarValidationError) Key ¶
func (e ScalarValidationError) Key() bool
Key function returns key value.
func (ScalarValidationError) Reason ¶
func (e ScalarValidationError) Reason() string
Reason function returns reason value.
type Scalar_BoolValue ¶
type Scalar_BoolValue struct {
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Scalar_FloatValue ¶
type Scalar_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,3,opt,name=float_value,json=floatValue,proto3,oneof"`
}
type Scalar_IntValue ¶
type Scalar_IntValue struct {
IntValue int32 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Scalar_StringValue ¶
type Scalar_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Scalar_TimestampValue ¶
type Scalar_TimestampValue struct {
TimestampValue *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
}
type SetRequest ¶
type SetRequest struct { // UUID of the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Selector of the feature Selector string `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` // Keys of the feature Keys map[string]string `` /* 149-byte string literal not displayed */ // Value to set Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // Timestamp of the update Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
SetRequest is the request to set a feature value.
func (*SetRequest) Descriptor
deprecated
func (*SetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.
func (*SetRequest) GetKeys ¶
func (x *SetRequest) GetKeys() map[string]string
func (*SetRequest) GetSelector ¶
func (x *SetRequest) GetSelector() string
func (*SetRequest) GetTimestamp ¶
func (x *SetRequest) GetTimestamp() *timestamppb.Timestamp
func (*SetRequest) GetUuid ¶
func (x *SetRequest) GetUuid() string
func (*SetRequest) GetValue ¶
func (x *SetRequest) GetValue() *Value
func (*SetRequest) ProtoMessage ¶
func (*SetRequest) ProtoMessage()
func (*SetRequest) ProtoReflect ¶
func (x *SetRequest) ProtoReflect() protoreflect.Message
func (*SetRequest) Reset ¶
func (x *SetRequest) Reset()
func (*SetRequest) String ¶
func (x *SetRequest) String() string
func (*SetRequest) Validate ¶
func (m *SetRequest) Validate() error
Validate checks the field values on SetRequest 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 (*SetRequest) ValidateAll ¶
func (m *SetRequest) ValidateAll() error
ValidateAll checks the field values on SetRequest 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 SetRequestMultiError, or nil if none found.
type SetRequestMultiError ¶
type SetRequestMultiError []error
SetRequestMultiError is an error wrapping multiple validation errors returned by SetRequest.ValidateAll() if the designated constraints aren't met.
func (SetRequestMultiError) AllErrors ¶
func (m SetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetRequestMultiError) Error ¶
func (m SetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetRequestValidationError ¶
type SetRequestValidationError struct {
// contains filtered or unexported fields
}
SetRequestValidationError is the validation error returned by SetRequest.Validate if the designated constraints aren't met.
func (SetRequestValidationError) Cause ¶
func (e SetRequestValidationError) Cause() error
Cause function returns cause value.
func (SetRequestValidationError) Error ¶
func (e SetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetRequestValidationError) ErrorName ¶
func (e SetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetRequestValidationError) Field ¶
func (e SetRequestValidationError) Field() string
Field function returns field value.
func (SetRequestValidationError) Key ¶
func (e SetRequestValidationError) Key() bool
Key function returns key value.
func (SetRequestValidationError) Reason ¶
func (e SetRequestValidationError) Reason() string
Reason function returns reason value.
type SetResponse ¶
type SetResponse struct { // UUID corresponding to the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Timestamp of the update Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
SetResponse is the response to set a feature value.
func (*SetResponse) Descriptor
deprecated
func (*SetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.
func (*SetResponse) GetTimestamp ¶
func (x *SetResponse) GetTimestamp() *timestamppb.Timestamp
func (*SetResponse) GetUuid ¶
func (x *SetResponse) GetUuid() string
func (*SetResponse) ProtoMessage ¶
func (*SetResponse) ProtoMessage()
func (*SetResponse) ProtoReflect ¶
func (x *SetResponse) ProtoReflect() protoreflect.Message
func (*SetResponse) Reset ¶
func (x *SetResponse) Reset()
func (*SetResponse) String ¶
func (x *SetResponse) String() string
func (*SetResponse) Validate ¶
func (m *SetResponse) Validate() error
Validate checks the field values on SetResponse 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 (*SetResponse) ValidateAll ¶
func (m *SetResponse) ValidateAll() error
ValidateAll checks the field values on SetResponse 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 SetResponseMultiError, or nil if none found.
type SetResponseMultiError ¶
type SetResponseMultiError []error
SetResponseMultiError is an error wrapping multiple validation errors returned by SetResponse.ValidateAll() if the designated constraints aren't met.
func (SetResponseMultiError) AllErrors ¶
func (m SetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetResponseMultiError) Error ¶
func (m SetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetResponseValidationError ¶
type SetResponseValidationError struct {
// contains filtered or unexported fields
}
SetResponseValidationError is the validation error returned by SetResponse.Validate if the designated constraints aren't met.
func (SetResponseValidationError) Cause ¶
func (e SetResponseValidationError) Cause() error
Cause function returns cause value.
func (SetResponseValidationError) Error ¶
func (e SetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SetResponseValidationError) ErrorName ¶
func (e SetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SetResponseValidationError) Field ¶
func (e SetResponseValidationError) Field() string
Field function returns field value.
func (SetResponseValidationError) Key ¶
func (e SetResponseValidationError) Key() bool
Key function returns key value.
func (SetResponseValidationError) Reason ¶
func (e SetResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedEngineServiceServer ¶
type UnimplementedEngineServiceServer struct { }
UnimplementedEngineServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEngineServiceServer) Append ¶
func (UnimplementedEngineServiceServer) Append(context.Context, *AppendRequest) (*AppendResponse, error)
func (UnimplementedEngineServiceServer) FeatureDescriptor ¶
func (UnimplementedEngineServiceServer) FeatureDescriptor(context.Context, *FeatureDescriptorRequest) (*FeatureDescriptorResponse, error)
func (UnimplementedEngineServiceServer) Get ¶
func (UnimplementedEngineServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedEngineServiceServer) Incr ¶
func (UnimplementedEngineServiceServer) Incr(context.Context, *IncrRequest) (*IncrResponse, error)
func (UnimplementedEngineServiceServer) Set ¶
func (UnimplementedEngineServiceServer) Set(context.Context, *SetRequest) (*SetResponse, error)
func (UnimplementedEngineServiceServer) Update ¶
func (UnimplementedEngineServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeEngineServiceServer ¶
type UnsafeEngineServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEngineServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EngineServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { // UUID of the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Selector of the feature Selector string `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` // Keys of the feature Keys map[string]string `` /* 149-byte string literal not displayed */ // Value to update Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // Timestamp of the update Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
UpdateRequest is the request to update a feature value.
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetKeys ¶
func (x *UpdateRequest) GetKeys() map[string]string
func (*UpdateRequest) GetSelector ¶
func (x *UpdateRequest) GetSelector() string
func (*UpdateRequest) GetTimestamp ¶
func (x *UpdateRequest) GetTimestamp() *timestamppb.Timestamp
func (*UpdateRequest) GetUuid ¶
func (x *UpdateRequest) GetUuid() string
func (*UpdateRequest) GetValue ¶
func (x *UpdateRequest) GetValue() *Value
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 { // UUID corresponding to the request Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Timestamp of the update Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
UpdateResponse is the response to update a feature value.
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetTimestamp ¶
func (x *UpdateResponse) GetTimestamp() *timestamppb.Timestamp
func (*UpdateResponse) GetUuid ¶
func (x *UpdateResponse) GetUuid() string
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.
type Value ¶
type Value struct { // Types that are assignable to Value: // // *Value_ScalarValue // *Value_ListValue Value isValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Value) Descriptor
deprecated
func (*Value) GetListValue ¶
func (*Value) GetScalarValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
func (*Value) Validate ¶
Validate checks the field values on 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 (*Value) ValidateAll ¶
ValidateAll checks the field values on 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 ValueMultiError, or nil if none found.
type ValueMultiError ¶
type ValueMultiError []error
ValueMultiError is an error wrapping multiple validation errors returned by Value.ValidateAll() if the designated constraints aren't met.
func (ValueMultiError) AllErrors ¶
func (m ValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValueMultiError) Error ¶
func (m ValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValueValidationError ¶
type ValueValidationError struct {
// contains filtered or unexported fields
}
ValueValidationError is the validation error returned by Value.Validate if the designated constraints aren't met.
func (ValueValidationError) Cause ¶
func (e ValueValidationError) Cause() error
Cause function returns cause value.
func (ValueValidationError) Error ¶
func (e ValueValidationError) Error() string
Error satisfies the builtin error interface
func (ValueValidationError) ErrorName ¶
func (e ValueValidationError) ErrorName() string
ErrorName returns error name.
func (ValueValidationError) Field ¶
func (e ValueValidationError) Field() string
Field function returns field value.
func (ValueValidationError) Key ¶
func (e ValueValidationError) Key() bool
Key function returns key value.
func (ValueValidationError) Reason ¶
func (e ValueValidationError) Reason() string
Reason function returns reason value.
type Value_ListValue ¶
type Value_ListValue struct {
ListValue *List `protobuf:"bytes,2,opt,name=list_value,json=listValue,proto3,oneof"`
}
type Value_ScalarValue ¶
type Value_ScalarValue struct {
ScalarValue *Scalar `protobuf:"bytes,1,opt,name=scalar_value,json=scalarValue,proto3,oneof"`
}