Documentation
¶
Index ¶
- Constants
- Variables
- type BatchEvaluationRequest
- func (x *BatchEvaluationRequest) GetRequestId() string
- func (x *BatchEvaluationRequest) GetRequests() []*EvaluationRequest
- func (*BatchEvaluationRequest) ProtoMessage()
- func (x *BatchEvaluationRequest) ProtoReflect() protoreflect.Message
- func (x *BatchEvaluationRequest) Reset()
- func (x *BatchEvaluationRequest) SetRequestId(v string)
- func (x *BatchEvaluationRequest) SetRequests(v []*EvaluationRequest)
- func (x *BatchEvaluationRequest) String() string
- type BatchEvaluationRequest_builder
- type BatchEvaluationResponse
- func (x *BatchEvaluationResponse) GetRequestDurationMillis() float64
- func (x *BatchEvaluationResponse) GetRequestId() string
- func (x *BatchEvaluationResponse) GetResponses() []*EvaluationResponse
- func (*BatchEvaluationResponse) ProtoMessage()
- func (x *BatchEvaluationResponse) ProtoReflect() protoreflect.Message
- func (x *BatchEvaluationResponse) Reset()
- func (x *BatchEvaluationResponse) SetRequestDurationMillis(v float64)
- func (x *BatchEvaluationResponse) SetRequestId(v string)
- func (x *BatchEvaluationResponse) SetResponses(v []*EvaluationResponse)
- func (x *BatchEvaluationResponse) String() string
- type BatchEvaluationResponse_builder
- type BooleanEvaluationResponse
- func (x *BooleanEvaluationResponse) ClearTimestamp()
- func (x *BooleanEvaluationResponse) GetEnabled() bool
- func (x *BooleanEvaluationResponse) GetReason() EvaluationReason
- func (x *BooleanEvaluationResponse) GetRequestDurationMillis() float64
- func (x *BooleanEvaluationResponse) GetRequestId() string
- func (x *BooleanEvaluationResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *BooleanEvaluationResponse) HasTimestamp() bool
- func (*BooleanEvaluationResponse) ProtoMessage()
- func (x *BooleanEvaluationResponse) ProtoReflect() protoreflect.Message
- func (x *BooleanEvaluationResponse) Reset()
- func (x *BooleanEvaluationResponse) SetEnabled(v bool)
- func (x *BooleanEvaluationResponse) SetReason(v EvaluationReason)
- func (x *BooleanEvaluationResponse) SetRequestDurationMillis(v float64)
- func (x *BooleanEvaluationResponse) SetRequestId(v string)
- func (x *BooleanEvaluationResponse) SetTimestamp(v *timestamppb.Timestamp)
- func (x *BooleanEvaluationResponse) String() string
- type BooleanEvaluationResponse_builder
- type ErrorEvaluationReason
- type ErrorEvaluationResponse
- func (x *ErrorEvaluationResponse) GetFlagKey() string
- func (x *ErrorEvaluationResponse) GetNamespaceKey() string
- func (x *ErrorEvaluationResponse) GetReason() ErrorEvaluationReason
- func (*ErrorEvaluationResponse) ProtoMessage()
- func (x *ErrorEvaluationResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorEvaluationResponse) Reset()
- func (x *ErrorEvaluationResponse) SetFlagKey(v string)
- func (x *ErrorEvaluationResponse) SetNamespaceKey(v string)
- func (x *ErrorEvaluationResponse) SetReason(v ErrorEvaluationReason)
- func (x *ErrorEvaluationResponse) String() string
- type ErrorEvaluationResponse_builder
- type EvaluationReason
- type EvaluationRequest
- func (x *EvaluationRequest) GetContext() map[string]string
- func (x *EvaluationRequest) GetEntityId() string
- func (x *EvaluationRequest) GetFlagKey() string
- func (x *EvaluationRequest) GetNamespaceKey() string
- func (x *EvaluationRequest) GetRequestId() string
- func (*EvaluationRequest) ProtoMessage()
- func (x *EvaluationRequest) ProtoReflect() protoreflect.Message
- func (x *EvaluationRequest) Reset()
- func (x *EvaluationRequest) SetContext(v map[string]string)
- func (x *EvaluationRequest) SetEntityId(v string)
- func (x *EvaluationRequest) SetFlagKey(v string)
- func (x *EvaluationRequest) SetNamespaceKey(v string)
- func (x *EvaluationRequest) SetRequestId(v string)
- func (x *EvaluationRequest) String() string
- type EvaluationRequest_builder
- type EvaluationResponse
- func (x *EvaluationResponse) ClearBooleanResponse()
- func (x *EvaluationResponse) ClearErrorResponse()
- func (x *EvaluationResponse) ClearResponse()
- func (x *EvaluationResponse) ClearVariantResponse()
- func (x *EvaluationResponse) GetBooleanResponse() *BooleanEvaluationResponse
- func (x *EvaluationResponse) GetErrorResponse() *ErrorEvaluationResponse
- func (x *EvaluationResponse) GetResponse() isEvaluationResponse_Response
- func (x *EvaluationResponse) GetType() EvaluationResponseType
- func (x *EvaluationResponse) GetVariantResponse() *VariantEvaluationResponse
- func (x *EvaluationResponse) HasBooleanResponse() bool
- func (x *EvaluationResponse) HasErrorResponse() bool
- func (x *EvaluationResponse) HasResponse() bool
- func (x *EvaluationResponse) HasVariantResponse() bool
- func (*EvaluationResponse) ProtoMessage()
- func (x *EvaluationResponse) ProtoReflect() protoreflect.Message
- func (x *EvaluationResponse) Reset()
- func (x *EvaluationResponse) SetBooleanResponse(v *BooleanEvaluationResponse)
- func (x *EvaluationResponse) SetErrorResponse(v *ErrorEvaluationResponse)
- func (x *EvaluationResponse) SetType(v EvaluationResponseType)
- func (x *EvaluationResponse) SetVariantResponse(v *VariantEvaluationResponse)
- func (x *EvaluationResponse) String() string
- func (x *EvaluationResponse) WhichResponse() case_EvaluationResponse_Response
- type EvaluationResponseType
- func (EvaluationResponseType) Descriptor() protoreflect.EnumDescriptor
- func (x EvaluationResponseType) Enum() *EvaluationResponseType
- func (x EvaluationResponseType) Number() protoreflect.EnumNumber
- func (x EvaluationResponseType) String() string
- func (EvaluationResponseType) Type() protoreflect.EnumType
- type EvaluationResponse_BooleanResponse
- type EvaluationResponse_ErrorResponse
- type EvaluationResponse_VariantResponse
- type EvaluationResponse_builder
- type VariantEvaluationResponse
- func (x *VariantEvaluationResponse) ClearTimestamp()
- func (x *VariantEvaluationResponse) GetMatch() bool
- func (x *VariantEvaluationResponse) GetReason() EvaluationReason
- func (x *VariantEvaluationResponse) GetRequestDurationMillis() float64
- func (x *VariantEvaluationResponse) GetRequestId() string
- func (x *VariantEvaluationResponse) GetSegmentKeys() []string
- func (x *VariantEvaluationResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *VariantEvaluationResponse) GetVariantAttachment() string
- func (x *VariantEvaluationResponse) GetVariantKey() string
- func (x *VariantEvaluationResponse) HasTimestamp() bool
- func (*VariantEvaluationResponse) ProtoMessage()
- func (x *VariantEvaluationResponse) ProtoReflect() protoreflect.Message
- func (x *VariantEvaluationResponse) Reset()
- func (x *VariantEvaluationResponse) SetMatch(v bool)
- func (x *VariantEvaluationResponse) SetReason(v EvaluationReason)
- func (x *VariantEvaluationResponse) SetRequestDurationMillis(v float64)
- func (x *VariantEvaluationResponse) SetRequestId(v string)
- func (x *VariantEvaluationResponse) SetSegmentKeys(v []string)
- func (x *VariantEvaluationResponse) SetTimestamp(v *timestamppb.Timestamp)
- func (x *VariantEvaluationResponse) SetVariantAttachment(v string)
- func (x *VariantEvaluationResponse) SetVariantKey(v string)
- func (x *VariantEvaluationResponse) String() string
- type VariantEvaluationResponse_builder
Constants ¶
View Source
const EvaluationResponse_BooleanResponse_case case_EvaluationResponse_Response = 2
View Source
const EvaluationResponse_ErrorResponse_case case_EvaluationResponse_Response = 4
View Source
const EvaluationResponse_Response_not_set_case case_EvaluationResponse_Response = 0
View Source
const EvaluationResponse_VariantResponse_case case_EvaluationResponse_Response = 3
Variables ¶
View Source
var ( EvaluationReason_name = map[int32]string{ 0: "UNKNOWN_EVALUATION_REASON", 1: "FLAG_DISABLED_EVALUATION_REASON", 2: "MATCH_EVALUATION_REASON", 3: "DEFAULT_EVALUATION_REASON", } EvaluationReason_value = map[string]int32{ "UNKNOWN_EVALUATION_REASON": 0, "FLAG_DISABLED_EVALUATION_REASON": 1, "MATCH_EVALUATION_REASON": 2, "DEFAULT_EVALUATION_REASON": 3, } )
Enum value maps for EvaluationReason.
View Source
var ( ErrorEvaluationReason_name = map[int32]string{ 0: "UNKNOWN_ERROR_EVALUATION_REASON", 1: "NOT_FOUND_ERROR_EVALUATION_REASON", } ErrorEvaluationReason_value = map[string]int32{ "UNKNOWN_ERROR_EVALUATION_REASON": 0, "NOT_FOUND_ERROR_EVALUATION_REASON": 1, } )
Enum value maps for ErrorEvaluationReason.
View Source
var ( EvaluationResponseType_name = map[int32]string{ 0: "VARIANT_EVALUATION_RESPONSE_TYPE", 1: "BOOLEAN_EVALUATION_RESPONSE_TYPE", 2: "ERROR_EVALUATION_RESPONSE_TYPE", } EvaluationResponseType_value = map[string]int32{ "VARIANT_EVALUATION_RESPONSE_TYPE": 0, "BOOLEAN_EVALUATION_RESPONSE_TYPE": 1, "ERROR_EVALUATION_RESPONSE_TYPE": 2, } )
Enum value maps for EvaluationResponseType.
View Source
var File_evaluation_evaluation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BatchEvaluationRequest ¶
type BatchEvaluationRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Requests []*EvaluationRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*BatchEvaluationRequest) GetRequestId ¶
func (x *BatchEvaluationRequest) GetRequestId() string
func (*BatchEvaluationRequest) GetRequests ¶
func (x *BatchEvaluationRequest) GetRequests() []*EvaluationRequest
func (*BatchEvaluationRequest) ProtoMessage ¶
func (*BatchEvaluationRequest) ProtoMessage()
func (*BatchEvaluationRequest) ProtoReflect ¶
func (x *BatchEvaluationRequest) ProtoReflect() protoreflect.Message
func (*BatchEvaluationRequest) Reset ¶
func (x *BatchEvaluationRequest) Reset()
func (*BatchEvaluationRequest) SetRequestId ¶
func (x *BatchEvaluationRequest) SetRequestId(v string)
func (*BatchEvaluationRequest) SetRequests ¶
func (x *BatchEvaluationRequest) SetRequests(v []*EvaluationRequest)
func (*BatchEvaluationRequest) String ¶
func (x *BatchEvaluationRequest) String() string
type BatchEvaluationRequest_builder ¶
type BatchEvaluationRequest_builder struct { RequestId string Requests []*EvaluationRequest // contains filtered or unexported fields }
func (BatchEvaluationRequest_builder) Build ¶
func (b0 BatchEvaluationRequest_builder) Build() *BatchEvaluationRequest
type BatchEvaluationResponse ¶
type BatchEvaluationResponse struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Responses []*EvaluationResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"` RequestDurationMillis float64 `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchEvaluationResponse) GetRequestDurationMillis ¶
func (x *BatchEvaluationResponse) GetRequestDurationMillis() float64
func (*BatchEvaluationResponse) GetRequestId ¶
func (x *BatchEvaluationResponse) GetRequestId() string
func (*BatchEvaluationResponse) GetResponses ¶
func (x *BatchEvaluationResponse) GetResponses() []*EvaluationResponse
func (*BatchEvaluationResponse) ProtoMessage ¶
func (*BatchEvaluationResponse) ProtoMessage()
func (*BatchEvaluationResponse) ProtoReflect ¶
func (x *BatchEvaluationResponse) ProtoReflect() protoreflect.Message
func (*BatchEvaluationResponse) Reset ¶
func (x *BatchEvaluationResponse) Reset()
func (*BatchEvaluationResponse) SetRequestDurationMillis ¶
func (x *BatchEvaluationResponse) SetRequestDurationMillis(v float64)
func (*BatchEvaluationResponse) SetRequestId ¶
func (x *BatchEvaluationResponse) SetRequestId(v string)
func (*BatchEvaluationResponse) SetResponses ¶
func (x *BatchEvaluationResponse) SetResponses(v []*EvaluationResponse)
func (*BatchEvaluationResponse) String ¶
func (x *BatchEvaluationResponse) String() string
type BatchEvaluationResponse_builder ¶
type BatchEvaluationResponse_builder struct { RequestId string Responses []*EvaluationResponse RequestDurationMillis float64 // contains filtered or unexported fields }
func (BatchEvaluationResponse_builder) Build ¶
func (b0 BatchEvaluationResponse_builder) Build() *BatchEvaluationResponse
type BooleanEvaluationResponse ¶
type BooleanEvaluationResponse struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Reason EvaluationReason `protobuf:"varint,2,opt,name=reason,proto3,enum=flipt.evaluation.EvaluationReason" json:"reason,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` RequestDurationMillis float64 `` /* 128-byte string literal not displayed */ Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*BooleanEvaluationResponse) ClearTimestamp ¶
func (x *BooleanEvaluationResponse) ClearTimestamp()
func (*BooleanEvaluationResponse) GetEnabled ¶
func (x *BooleanEvaluationResponse) GetEnabled() bool
func (*BooleanEvaluationResponse) GetReason ¶
func (x *BooleanEvaluationResponse) GetReason() EvaluationReason
func (*BooleanEvaluationResponse) GetRequestDurationMillis ¶
func (x *BooleanEvaluationResponse) GetRequestDurationMillis() float64
func (*BooleanEvaluationResponse) GetRequestId ¶
func (x *BooleanEvaluationResponse) GetRequestId() string
func (*BooleanEvaluationResponse) GetTimestamp ¶
func (x *BooleanEvaluationResponse) GetTimestamp() *timestamppb.Timestamp
func (*BooleanEvaluationResponse) HasTimestamp ¶
func (x *BooleanEvaluationResponse) HasTimestamp() bool
func (*BooleanEvaluationResponse) ProtoMessage ¶
func (*BooleanEvaluationResponse) ProtoMessage()
func (*BooleanEvaluationResponse) ProtoReflect ¶
func (x *BooleanEvaluationResponse) ProtoReflect() protoreflect.Message
func (*BooleanEvaluationResponse) Reset ¶
func (x *BooleanEvaluationResponse) Reset()
func (*BooleanEvaluationResponse) SetEnabled ¶
func (x *BooleanEvaluationResponse) SetEnabled(v bool)
func (*BooleanEvaluationResponse) SetReason ¶
func (x *BooleanEvaluationResponse) SetReason(v EvaluationReason)
func (*BooleanEvaluationResponse) SetRequestDurationMillis ¶
func (x *BooleanEvaluationResponse) SetRequestDurationMillis(v float64)
func (*BooleanEvaluationResponse) SetRequestId ¶
func (x *BooleanEvaluationResponse) SetRequestId(v string)
func (*BooleanEvaluationResponse) SetTimestamp ¶
func (x *BooleanEvaluationResponse) SetTimestamp(v *timestamppb.Timestamp)
func (*BooleanEvaluationResponse) String ¶
func (x *BooleanEvaluationResponse) String() string
type BooleanEvaluationResponse_builder ¶
type BooleanEvaluationResponse_builder struct { Enabled bool Reason EvaluationReason RequestId string RequestDurationMillis float64 Timestamp *timestamppb.Timestamp // contains filtered or unexported fields }
func (BooleanEvaluationResponse_builder) Build ¶
func (b0 BooleanEvaluationResponse_builder) Build() *BooleanEvaluationResponse
type ErrorEvaluationReason ¶
type ErrorEvaluationReason int32
const ( ErrorEvaluationReason_UNKNOWN_ERROR_EVALUATION_REASON ErrorEvaluationReason = 0 ErrorEvaluationReason_NOT_FOUND_ERROR_EVALUATION_REASON ErrorEvaluationReason = 1 )
func (ErrorEvaluationReason) Descriptor ¶
func (ErrorEvaluationReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorEvaluationReason) Enum ¶
func (x ErrorEvaluationReason) Enum() *ErrorEvaluationReason
func (ErrorEvaluationReason) Number ¶
func (x ErrorEvaluationReason) Number() protoreflect.EnumNumber
func (ErrorEvaluationReason) String ¶
func (x ErrorEvaluationReason) String() string
func (ErrorEvaluationReason) Type ¶
func (ErrorEvaluationReason) Type() protoreflect.EnumType
type ErrorEvaluationResponse ¶
type ErrorEvaluationResponse struct { FlagKey string `protobuf:"bytes,1,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` NamespaceKey string `protobuf:"bytes,2,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Reason ErrorEvaluationReason `protobuf:"varint,3,opt,name=reason,proto3,enum=flipt.evaluation.ErrorEvaluationReason" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ErrorEvaluationResponse) GetFlagKey ¶
func (x *ErrorEvaluationResponse) GetFlagKey() string
func (*ErrorEvaluationResponse) GetNamespaceKey ¶
func (x *ErrorEvaluationResponse) GetNamespaceKey() string
func (*ErrorEvaluationResponse) GetReason ¶
func (x *ErrorEvaluationResponse) GetReason() ErrorEvaluationReason
func (*ErrorEvaluationResponse) ProtoMessage ¶
func (*ErrorEvaluationResponse) ProtoMessage()
func (*ErrorEvaluationResponse) ProtoReflect ¶
func (x *ErrorEvaluationResponse) ProtoReflect() protoreflect.Message
func (*ErrorEvaluationResponse) Reset ¶
func (x *ErrorEvaluationResponse) Reset()
func (*ErrorEvaluationResponse) SetFlagKey ¶
func (x *ErrorEvaluationResponse) SetFlagKey(v string)
func (*ErrorEvaluationResponse) SetNamespaceKey ¶
func (x *ErrorEvaluationResponse) SetNamespaceKey(v string)
func (*ErrorEvaluationResponse) SetReason ¶
func (x *ErrorEvaluationResponse) SetReason(v ErrorEvaluationReason)
func (*ErrorEvaluationResponse) String ¶
func (x *ErrorEvaluationResponse) String() string
type ErrorEvaluationResponse_builder ¶
type ErrorEvaluationResponse_builder struct { FlagKey string NamespaceKey string Reason ErrorEvaluationReason // contains filtered or unexported fields }
func (ErrorEvaluationResponse_builder) Build ¶
func (b0 ErrorEvaluationResponse_builder) Build() *ErrorEvaluationResponse
type EvaluationReason ¶
type EvaluationReason int32
const ( EvaluationReason_UNKNOWN_EVALUATION_REASON EvaluationReason = 0 EvaluationReason_FLAG_DISABLED_EVALUATION_REASON EvaluationReason = 1 EvaluationReason_MATCH_EVALUATION_REASON EvaluationReason = 2 EvaluationReason_DEFAULT_EVALUATION_REASON EvaluationReason = 3 )
func (EvaluationReason) Descriptor ¶
func (EvaluationReason) Descriptor() protoreflect.EnumDescriptor
func (EvaluationReason) Enum ¶
func (x EvaluationReason) Enum() *EvaluationReason
func (EvaluationReason) Number ¶
func (x EvaluationReason) Number() protoreflect.EnumNumber
func (EvaluationReason) String ¶
func (x EvaluationReason) String() string
func (EvaluationReason) Type ¶
func (EvaluationReason) Type() protoreflect.EnumType
type EvaluationRequest ¶
type EvaluationRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` NamespaceKey string `protobuf:"bytes,2,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` FlagKey string `protobuf:"bytes,3,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` EntityId string `protobuf:"bytes,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` Context map[string]string `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EvaluationRequest) GetContext ¶
func (x *EvaluationRequest) GetContext() map[string]string
func (*EvaluationRequest) GetEntityId ¶
func (x *EvaluationRequest) GetEntityId() string
func (*EvaluationRequest) GetFlagKey ¶
func (x *EvaluationRequest) GetFlagKey() string
func (*EvaluationRequest) GetNamespaceKey ¶
func (x *EvaluationRequest) GetNamespaceKey() string
func (*EvaluationRequest) GetRequestId ¶
func (x *EvaluationRequest) GetRequestId() string
func (*EvaluationRequest) ProtoMessage ¶
func (*EvaluationRequest) ProtoMessage()
func (*EvaluationRequest) ProtoReflect ¶
func (x *EvaluationRequest) ProtoReflect() protoreflect.Message
func (*EvaluationRequest) Reset ¶
func (x *EvaluationRequest) Reset()
func (*EvaluationRequest) SetContext ¶
func (x *EvaluationRequest) SetContext(v map[string]string)
func (*EvaluationRequest) SetEntityId ¶
func (x *EvaluationRequest) SetEntityId(v string)
func (*EvaluationRequest) SetFlagKey ¶
func (x *EvaluationRequest) SetFlagKey(v string)
func (*EvaluationRequest) SetNamespaceKey ¶
func (x *EvaluationRequest) SetNamespaceKey(v string)
func (*EvaluationRequest) SetRequestId ¶
func (x *EvaluationRequest) SetRequestId(v string)
func (*EvaluationRequest) String ¶
func (x *EvaluationRequest) String() string
type EvaluationRequest_builder ¶
type EvaluationRequest_builder struct { RequestId string NamespaceKey string FlagKey string EntityId string Context map[string]string // contains filtered or unexported fields }
func (EvaluationRequest_builder) Build ¶
func (b0 EvaluationRequest_builder) Build() *EvaluationRequest
type EvaluationResponse ¶
type EvaluationResponse struct { Type EvaluationResponseType `protobuf:"varint,1,opt,name=type,proto3,enum=flipt.evaluation.EvaluationResponseType" json:"type,omitempty"` // Types that are valid to be assigned to Response: // // *EvaluationResponse_BooleanResponse // *EvaluationResponse_VariantResponse // *EvaluationResponse_ErrorResponse Response isEvaluationResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*EvaluationResponse) ClearBooleanResponse ¶
func (x *EvaluationResponse) ClearBooleanResponse()
func (*EvaluationResponse) ClearErrorResponse ¶
func (x *EvaluationResponse) ClearErrorResponse()
func (*EvaluationResponse) ClearResponse ¶
func (x *EvaluationResponse) ClearResponse()
func (*EvaluationResponse) ClearVariantResponse ¶
func (x *EvaluationResponse) ClearVariantResponse()
func (*EvaluationResponse) GetBooleanResponse ¶
func (x *EvaluationResponse) GetBooleanResponse() *BooleanEvaluationResponse
func (*EvaluationResponse) GetErrorResponse ¶
func (x *EvaluationResponse) GetErrorResponse() *ErrorEvaluationResponse
func (*EvaluationResponse) GetResponse ¶
func (x *EvaluationResponse) GetResponse() isEvaluationResponse_Response
func (*EvaluationResponse) GetType ¶
func (x *EvaluationResponse) GetType() EvaluationResponseType
func (*EvaluationResponse) GetVariantResponse ¶
func (x *EvaluationResponse) GetVariantResponse() *VariantEvaluationResponse
func (*EvaluationResponse) HasBooleanResponse ¶
func (x *EvaluationResponse) HasBooleanResponse() bool
func (*EvaluationResponse) HasErrorResponse ¶
func (x *EvaluationResponse) HasErrorResponse() bool
func (*EvaluationResponse) HasResponse ¶
func (x *EvaluationResponse) HasResponse() bool
func (*EvaluationResponse) HasVariantResponse ¶
func (x *EvaluationResponse) HasVariantResponse() bool
func (*EvaluationResponse) ProtoMessage ¶
func (*EvaluationResponse) ProtoMessage()
func (*EvaluationResponse) ProtoReflect ¶
func (x *EvaluationResponse) ProtoReflect() protoreflect.Message
func (*EvaluationResponse) Reset ¶
func (x *EvaluationResponse) Reset()
func (*EvaluationResponse) SetBooleanResponse ¶
func (x *EvaluationResponse) SetBooleanResponse(v *BooleanEvaluationResponse)
func (*EvaluationResponse) SetErrorResponse ¶
func (x *EvaluationResponse) SetErrorResponse(v *ErrorEvaluationResponse)
func (*EvaluationResponse) SetType ¶
func (x *EvaluationResponse) SetType(v EvaluationResponseType)
func (*EvaluationResponse) SetVariantResponse ¶
func (x *EvaluationResponse) SetVariantResponse(v *VariantEvaluationResponse)
func (*EvaluationResponse) String ¶
func (x *EvaluationResponse) String() string
func (*EvaluationResponse) WhichResponse ¶
func (x *EvaluationResponse) WhichResponse() case_EvaluationResponse_Response
type EvaluationResponseType ¶
type EvaluationResponseType int32
const ( EvaluationResponseType_VARIANT_EVALUATION_RESPONSE_TYPE EvaluationResponseType = 0 EvaluationResponseType_BOOLEAN_EVALUATION_RESPONSE_TYPE EvaluationResponseType = 1 EvaluationResponseType_ERROR_EVALUATION_RESPONSE_TYPE EvaluationResponseType = 2 )
func (EvaluationResponseType) Descriptor ¶
func (EvaluationResponseType) Descriptor() protoreflect.EnumDescriptor
func (EvaluationResponseType) Enum ¶
func (x EvaluationResponseType) Enum() *EvaluationResponseType
func (EvaluationResponseType) Number ¶
func (x EvaluationResponseType) Number() protoreflect.EnumNumber
func (EvaluationResponseType) String ¶
func (x EvaluationResponseType) String() string
func (EvaluationResponseType) Type ¶
func (EvaluationResponseType) Type() protoreflect.EnumType
type EvaluationResponse_BooleanResponse ¶
type EvaluationResponse_BooleanResponse struct {
BooleanResponse *BooleanEvaluationResponse `protobuf:"bytes,2,opt,name=boolean_response,json=booleanResponse,proto3,oneof"`
}
type EvaluationResponse_ErrorResponse ¶
type EvaluationResponse_ErrorResponse struct {
ErrorResponse *ErrorEvaluationResponse `protobuf:"bytes,4,opt,name=error_response,json=errorResponse,proto3,oneof"`
}
type EvaluationResponse_VariantResponse ¶
type EvaluationResponse_VariantResponse struct {
VariantResponse *VariantEvaluationResponse `protobuf:"bytes,3,opt,name=variant_response,json=variantResponse,proto3,oneof"`
}
type EvaluationResponse_builder ¶
type EvaluationResponse_builder struct { Type EvaluationResponseType // Fields of oneof Response: BooleanResponse *BooleanEvaluationResponse VariantResponse *VariantEvaluationResponse ErrorResponse *ErrorEvaluationResponse // contains filtered or unexported fields }
func (EvaluationResponse_builder) Build ¶
func (b0 EvaluationResponse_builder) Build() *EvaluationResponse
type VariantEvaluationResponse ¶
type VariantEvaluationResponse struct { Match bool `protobuf:"varint,1,opt,name=match,proto3" json:"match,omitempty"` SegmentKeys []string `protobuf:"bytes,2,rep,name=segment_keys,json=segmentKeys,proto3" json:"segment_keys,omitempty"` Reason EvaluationReason `protobuf:"varint,3,opt,name=reason,proto3,enum=flipt.evaluation.EvaluationReason" json:"reason,omitempty"` VariantKey string `protobuf:"bytes,4,opt,name=variant_key,json=variantKey,proto3" json:"variant_key,omitempty"` VariantAttachment string `protobuf:"bytes,5,opt,name=variant_attachment,json=variantAttachment,proto3" json:"variant_attachment,omitempty"` RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` RequestDurationMillis float64 `` /* 128-byte string literal not displayed */ Timestamp *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*VariantEvaluationResponse) ClearTimestamp ¶
func (x *VariantEvaluationResponse) ClearTimestamp()
func (*VariantEvaluationResponse) GetMatch ¶
func (x *VariantEvaluationResponse) GetMatch() bool
func (*VariantEvaluationResponse) GetReason ¶
func (x *VariantEvaluationResponse) GetReason() EvaluationReason
func (*VariantEvaluationResponse) GetRequestDurationMillis ¶
func (x *VariantEvaluationResponse) GetRequestDurationMillis() float64
func (*VariantEvaluationResponse) GetRequestId ¶
func (x *VariantEvaluationResponse) GetRequestId() string
func (*VariantEvaluationResponse) GetSegmentKeys ¶
func (x *VariantEvaluationResponse) GetSegmentKeys() []string
func (*VariantEvaluationResponse) GetTimestamp ¶
func (x *VariantEvaluationResponse) GetTimestamp() *timestamppb.Timestamp
func (*VariantEvaluationResponse) GetVariantAttachment ¶
func (x *VariantEvaluationResponse) GetVariantAttachment() string
func (*VariantEvaluationResponse) GetVariantKey ¶
func (x *VariantEvaluationResponse) GetVariantKey() string
func (*VariantEvaluationResponse) HasTimestamp ¶
func (x *VariantEvaluationResponse) HasTimestamp() bool
func (*VariantEvaluationResponse) ProtoMessage ¶
func (*VariantEvaluationResponse) ProtoMessage()
func (*VariantEvaluationResponse) ProtoReflect ¶
func (x *VariantEvaluationResponse) ProtoReflect() protoreflect.Message
func (*VariantEvaluationResponse) Reset ¶
func (x *VariantEvaluationResponse) Reset()
func (*VariantEvaluationResponse) SetMatch ¶
func (x *VariantEvaluationResponse) SetMatch(v bool)
func (*VariantEvaluationResponse) SetReason ¶
func (x *VariantEvaluationResponse) SetReason(v EvaluationReason)
func (*VariantEvaluationResponse) SetRequestDurationMillis ¶
func (x *VariantEvaluationResponse) SetRequestDurationMillis(v float64)
func (*VariantEvaluationResponse) SetRequestId ¶
func (x *VariantEvaluationResponse) SetRequestId(v string)
func (*VariantEvaluationResponse) SetSegmentKeys ¶
func (x *VariantEvaluationResponse) SetSegmentKeys(v []string)
func (*VariantEvaluationResponse) SetTimestamp ¶
func (x *VariantEvaluationResponse) SetTimestamp(v *timestamppb.Timestamp)
func (*VariantEvaluationResponse) SetVariantAttachment ¶
func (x *VariantEvaluationResponse) SetVariantAttachment(v string)
func (*VariantEvaluationResponse) SetVariantKey ¶
func (x *VariantEvaluationResponse) SetVariantKey(v string)
func (*VariantEvaluationResponse) String ¶
func (x *VariantEvaluationResponse) String() string
type VariantEvaluationResponse_builder ¶
type VariantEvaluationResponse_builder struct { Match bool SegmentKeys []string Reason EvaluationReason VariantKey string VariantAttachment string RequestId string RequestDurationMillis float64 Timestamp *timestamppb.Timestamp // contains filtered or unexported fields }
func (VariantEvaluationResponse_builder) Build ¶
func (b0 VariantEvaluationResponse_builder) Build() *VariantEvaluationResponse
Click to show internal directories.
Click to hide internal directories.