Documentation
¶
Index ¶
- Constants
- Variables
- type BatchEvaluationRequest
- func (x *BatchEvaluationRequest) GetReference() string
- 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) SetReference(v string)
- 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) GetFlagKey() string
- 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) SetFlagKey(v string)
- 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 EvaluationConstraint
- func (x *EvaluationConstraint) GetId() string
- func (x *EvaluationConstraint) GetOperator() string
- func (x *EvaluationConstraint) GetProperty() string
- func (x *EvaluationConstraint) GetType() EvaluationConstraintComparisonType
- func (x *EvaluationConstraint) GetValue() string
- func (*EvaluationConstraint) ProtoMessage()
- func (x *EvaluationConstraint) ProtoReflect() protoreflect.Message
- func (x *EvaluationConstraint) Reset()
- func (x *EvaluationConstraint) SetId(v string)
- func (x *EvaluationConstraint) SetOperator(v string)
- func (x *EvaluationConstraint) SetProperty(v string)
- func (x *EvaluationConstraint) SetType(v EvaluationConstraintComparisonType)
- func (x *EvaluationConstraint) SetValue(v string)
- func (x *EvaluationConstraint) String() string
- type EvaluationConstraintComparisonType
- func (EvaluationConstraintComparisonType) Descriptor() protoreflect.EnumDescriptor
- func (x EvaluationConstraintComparisonType) Enum() *EvaluationConstraintComparisonType
- func (x EvaluationConstraintComparisonType) Number() protoreflect.EnumNumber
- func (x EvaluationConstraintComparisonType) String() string
- func (EvaluationConstraintComparisonType) Type() protoreflect.EnumType
- type EvaluationConstraint_builder
- type EvaluationDistribution
- func (x *EvaluationDistribution) GetId() string
- func (x *EvaluationDistribution) GetRollout() float32
- func (x *EvaluationDistribution) GetRuleId() string
- func (x *EvaluationDistribution) GetVariantAttachment() string
- func (x *EvaluationDistribution) GetVariantId() string
- func (x *EvaluationDistribution) GetVariantKey() string
- func (*EvaluationDistribution) ProtoMessage()
- func (x *EvaluationDistribution) ProtoReflect() protoreflect.Message
- func (x *EvaluationDistribution) Reset()
- func (x *EvaluationDistribution) SetId(v string)
- func (x *EvaluationDistribution) SetRollout(v float32)
- func (x *EvaluationDistribution) SetRuleId(v string)
- func (x *EvaluationDistribution) SetVariantAttachment(v string)
- func (x *EvaluationDistribution) SetVariantId(v string)
- func (x *EvaluationDistribution) SetVariantKey(v string)
- func (x *EvaluationDistribution) String() string
- type EvaluationDistribution_builder
- type EvaluationFlag
- func (x *EvaluationFlag) ClearCreatedAt()
- func (x *EvaluationFlag) ClearUpdatedAt()
- func (x *EvaluationFlag) GetCreatedAt() *timestamppb.Timestamp
- func (x *EvaluationFlag) GetDescription() string
- func (x *EvaluationFlag) GetEnabled() bool
- func (x *EvaluationFlag) GetKey() string
- func (x *EvaluationFlag) GetName() string
- func (x *EvaluationFlag) GetRollouts() []*EvaluationRollout
- func (x *EvaluationFlag) GetRules() []*EvaluationRule
- func (x *EvaluationFlag) GetType() EvaluationFlagType
- func (x *EvaluationFlag) GetUpdatedAt() *timestamppb.Timestamp
- func (x *EvaluationFlag) HasCreatedAt() bool
- func (x *EvaluationFlag) HasUpdatedAt() bool
- func (*EvaluationFlag) ProtoMessage()
- func (x *EvaluationFlag) ProtoReflect() protoreflect.Message
- func (x *EvaluationFlag) Reset()
- func (x *EvaluationFlag) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *EvaluationFlag) SetDescription(v string)
- func (x *EvaluationFlag) SetEnabled(v bool)
- func (x *EvaluationFlag) SetKey(v string)
- func (x *EvaluationFlag) SetName(v string)
- func (x *EvaluationFlag) SetRollouts(v []*EvaluationRollout)
- func (x *EvaluationFlag) SetRules(v []*EvaluationRule)
- func (x *EvaluationFlag) SetType(v EvaluationFlagType)
- func (x *EvaluationFlag) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *EvaluationFlag) String() string
- type EvaluationFlagType
- type EvaluationFlag_builder
- type EvaluationNamespace
- type EvaluationNamespaceSnapshot
- func (x *EvaluationNamespaceSnapshot) ClearNamespace()
- func (x *EvaluationNamespaceSnapshot) GetFlags() []*EvaluationFlag
- func (x *EvaluationNamespaceSnapshot) GetNamespace() *EvaluationNamespace
- func (x *EvaluationNamespaceSnapshot) HasNamespace() bool
- func (*EvaluationNamespaceSnapshot) ProtoMessage()
- func (x *EvaluationNamespaceSnapshot) ProtoReflect() protoreflect.Message
- func (x *EvaluationNamespaceSnapshot) Reset()
- func (x *EvaluationNamespaceSnapshot) SetFlags(v []*EvaluationFlag)
- func (x *EvaluationNamespaceSnapshot) SetNamespace(v *EvaluationNamespace)
- func (x *EvaluationNamespaceSnapshot) String() string
- type EvaluationNamespaceSnapshotRequest
- func (x *EvaluationNamespaceSnapshotRequest) GetKey() string
- func (x *EvaluationNamespaceSnapshotRequest) GetReference() string
- func (*EvaluationNamespaceSnapshotRequest) ProtoMessage()
- func (x *EvaluationNamespaceSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *EvaluationNamespaceSnapshotRequest) Reset()
- func (x *EvaluationNamespaceSnapshotRequest) SetKey(v string)
- func (x *EvaluationNamespaceSnapshotRequest) SetReference(v string)
- func (x *EvaluationNamespaceSnapshotRequest) String() string
- type EvaluationNamespaceSnapshotRequest_builder
- type EvaluationNamespaceSnapshot_builder
- type EvaluationNamespace_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) GetReference() 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) SetReference(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 EvaluationRollout
- func (x *EvaluationRollout) ClearRule()
- func (x *EvaluationRollout) ClearSegment()
- func (x *EvaluationRollout) ClearThreshold()
- func (x *EvaluationRollout) GetRank() int32
- func (x *EvaluationRollout) GetRule() isEvaluationRollout_Rule
- func (x *EvaluationRollout) GetSegment() *EvaluationRolloutSegment
- func (x *EvaluationRollout) GetThreshold() *EvaluationRolloutThreshold
- func (x *EvaluationRollout) GetType() EvaluationRolloutType
- func (x *EvaluationRollout) HasRule() bool
- func (x *EvaluationRollout) HasSegment() bool
- func (x *EvaluationRollout) HasThreshold() bool
- func (*EvaluationRollout) ProtoMessage()
- func (x *EvaluationRollout) ProtoReflect() protoreflect.Message
- func (x *EvaluationRollout) Reset()
- func (x *EvaluationRollout) SetRank(v int32)
- func (x *EvaluationRollout) SetSegment(v *EvaluationRolloutSegment)
- func (x *EvaluationRollout) SetThreshold(v *EvaluationRolloutThreshold)
- func (x *EvaluationRollout) SetType(v EvaluationRolloutType)
- func (x *EvaluationRollout) String() string
- func (x *EvaluationRollout) WhichRule() case_EvaluationRollout_Rule
- type EvaluationRolloutSegment
- func (x *EvaluationRolloutSegment) GetSegmentOperator() EvaluationSegmentOperator
- func (x *EvaluationRolloutSegment) GetSegments() []*EvaluationSegment
- func (x *EvaluationRolloutSegment) GetValue() bool
- func (*EvaluationRolloutSegment) ProtoMessage()
- func (x *EvaluationRolloutSegment) ProtoReflect() protoreflect.Message
- func (x *EvaluationRolloutSegment) Reset()
- func (x *EvaluationRolloutSegment) SetSegmentOperator(v EvaluationSegmentOperator)
- func (x *EvaluationRolloutSegment) SetSegments(v []*EvaluationSegment)
- func (x *EvaluationRolloutSegment) SetValue(v bool)
- func (x *EvaluationRolloutSegment) String() string
- type EvaluationRolloutSegment_builder
- type EvaluationRolloutThreshold
- func (x *EvaluationRolloutThreshold) GetPercentage() float32
- func (x *EvaluationRolloutThreshold) GetValue() bool
- func (*EvaluationRolloutThreshold) ProtoMessage()
- func (x *EvaluationRolloutThreshold) ProtoReflect() protoreflect.Message
- func (x *EvaluationRolloutThreshold) Reset()
- func (x *EvaluationRolloutThreshold) SetPercentage(v float32)
- func (x *EvaluationRolloutThreshold) SetValue(v bool)
- func (x *EvaluationRolloutThreshold) String() string
- type EvaluationRolloutThreshold_builder
- type EvaluationRolloutType
- type EvaluationRollout_Segment
- type EvaluationRollout_Threshold
- type EvaluationRollout_builder
- type EvaluationRule
- func (x *EvaluationRule) GetDistributions() []*EvaluationDistribution
- func (x *EvaluationRule) GetId() string
- func (x *EvaluationRule) GetRank() int32
- func (x *EvaluationRule) GetSegmentOperator() EvaluationSegmentOperator
- func (x *EvaluationRule) GetSegments() []*EvaluationSegment
- func (*EvaluationRule) ProtoMessage()
- func (x *EvaluationRule) ProtoReflect() protoreflect.Message
- func (x *EvaluationRule) Reset()
- func (x *EvaluationRule) SetDistributions(v []*EvaluationDistribution)
- func (x *EvaluationRule) SetId(v string)
- func (x *EvaluationRule) SetRank(v int32)
- func (x *EvaluationRule) SetSegmentOperator(v EvaluationSegmentOperator)
- func (x *EvaluationRule) SetSegments(v []*EvaluationSegment)
- func (x *EvaluationRule) String() string
- type EvaluationRule_builder
- type EvaluationSegment
- func (x *EvaluationSegment) ClearCreatedAt()
- func (x *EvaluationSegment) ClearUpdatedAt()
- func (x *EvaluationSegment) GetConstraints() []*EvaluationConstraint
- func (x *EvaluationSegment) GetCreatedAt() *timestamppb.Timestamp
- func (x *EvaluationSegment) GetDescription() string
- func (x *EvaluationSegment) GetKey() string
- func (x *EvaluationSegment) GetMatchType() EvaluationSegmentMatchType
- func (x *EvaluationSegment) GetName() string
- func (x *EvaluationSegment) GetUpdatedAt() *timestamppb.Timestamp
- func (x *EvaluationSegment) HasCreatedAt() bool
- func (x *EvaluationSegment) HasUpdatedAt() bool
- func (*EvaluationSegment) ProtoMessage()
- func (x *EvaluationSegment) ProtoReflect() protoreflect.Message
- func (x *EvaluationSegment) Reset()
- func (x *EvaluationSegment) SetConstraints(v []*EvaluationConstraint)
- func (x *EvaluationSegment) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *EvaluationSegment) SetDescription(v string)
- func (x *EvaluationSegment) SetKey(v string)
- func (x *EvaluationSegment) SetMatchType(v EvaluationSegmentMatchType)
- func (x *EvaluationSegment) SetName(v string)
- func (x *EvaluationSegment) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *EvaluationSegment) String() string
- type EvaluationSegmentMatchType
- func (EvaluationSegmentMatchType) Descriptor() protoreflect.EnumDescriptor
- func (x EvaluationSegmentMatchType) Enum() *EvaluationSegmentMatchType
- func (x EvaluationSegmentMatchType) Number() protoreflect.EnumNumber
- func (x EvaluationSegmentMatchType) String() string
- func (EvaluationSegmentMatchType) Type() protoreflect.EnumType
- type EvaluationSegmentOperator
- func (EvaluationSegmentOperator) Descriptor() protoreflect.EnumDescriptor
- func (x EvaluationSegmentOperator) Enum() *EvaluationSegmentOperator
- func (x EvaluationSegmentOperator) Number() protoreflect.EnumNumber
- func (x EvaluationSegmentOperator) String() string
- func (EvaluationSegmentOperator) Type() protoreflect.EnumType
- type EvaluationSegment_builder
- type VariantEvaluationResponse
- func (x *VariantEvaluationResponse) ClearTimestamp()
- func (x *VariantEvaluationResponse) GetFlagKey() string
- 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) SetFlagKey(v string)
- 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
View Source
const EvaluationRollout_Rule_not_set_case case_EvaluationRollout_Rule = 0
View Source
const EvaluationRollout_Segment_case case_EvaluationRollout_Rule = 3
View Source
const EvaluationRollout_Threshold_case case_EvaluationRollout_Rule = 4
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 ( EvaluationRolloutType_name = map[int32]string{ 0: "UNKNOWN_ROLLOUT_TYPE", 1: "SEGMENT_ROLLOUT_TYPE", 2: "THRESHOLD_ROLLOUT_TYPE", } EvaluationRolloutType_value = map[string]int32{ "UNKNOWN_ROLLOUT_TYPE": 0, "SEGMENT_ROLLOUT_TYPE": 1, "THRESHOLD_ROLLOUT_TYPE": 2, } )
Enum value maps for EvaluationRolloutType.
View Source
var ( EvaluationSegmentOperator_name = map[int32]string{ 0: "OR_SEGMENT_OPERATOR", 1: "AND_SEGMENT_OPERATOR", } EvaluationSegmentOperator_value = map[string]int32{ "OR_SEGMENT_OPERATOR": 0, "AND_SEGMENT_OPERATOR": 1, } )
Enum value maps for EvaluationSegmentOperator.
View Source
var ( EvaluationSegmentMatchType_name = map[int32]string{ 0: "ALL_SEGMENT_MATCH_TYPE", 1: "ANY_SEGMENT_MATCH_TYPE", } EvaluationSegmentMatchType_value = map[string]int32{ "ALL_SEGMENT_MATCH_TYPE": 0, "ANY_SEGMENT_MATCH_TYPE": 1, } )
Enum value maps for EvaluationSegmentMatchType.
View Source
var ( EvaluationFlagType_name = map[int32]string{ 0: "VARIANT_FLAG_TYPE", 1: "BOOLEAN_FLAG_TYPE", } EvaluationFlagType_value = map[string]int32{ "VARIANT_FLAG_TYPE": 0, "BOOLEAN_FLAG_TYPE": 1, } )
Enum value maps for EvaluationFlagType.
View Source
var ( EvaluationConstraintComparisonType_name = map[int32]string{ 0: "UNKNOWN_CONSTRAINT_COMPARISON_TYPE", 1: "STRING_CONSTRAINT_COMPARISON_TYPE", 2: "NUMBER_CONSTRAINT_COMPARISON_TYPE", 3: "BOOLEAN_CONSTRAINT_COMPARISON_TYPE", 4: "DATETIME_CONSTRAINT_COMPARISON_TYPE", 5: "ENTITY_ID_CONSTRAINT_COMPARISON_TYPE", } EvaluationConstraintComparisonType_value = map[string]int32{ "UNKNOWN_CONSTRAINT_COMPARISON_TYPE": 0, "STRING_CONSTRAINT_COMPARISON_TYPE": 1, "NUMBER_CONSTRAINT_COMPARISON_TYPE": 2, "BOOLEAN_CONSTRAINT_COMPARISON_TYPE": 3, "DATETIME_CONSTRAINT_COMPARISON_TYPE": 4, "ENTITY_ID_CONSTRAINT_COMPARISON_TYPE": 5, } )
Enum value maps for EvaluationConstraintComparisonType.
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"` Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*BatchEvaluationRequest) GetReference ¶
func (x *BatchEvaluationRequest) GetReference() string
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) SetReference ¶
func (x *BatchEvaluationRequest) SetReference(v string)
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 Reference string // 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"` FlagKey string `protobuf:"bytes,6,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` // contains filtered or unexported fields }
func (*BooleanEvaluationResponse) ClearTimestamp ¶
func (x *BooleanEvaluationResponse) ClearTimestamp()
func (*BooleanEvaluationResponse) GetEnabled ¶
func (x *BooleanEvaluationResponse) GetEnabled() bool
func (*BooleanEvaluationResponse) GetFlagKey ¶
func (x *BooleanEvaluationResponse) GetFlagKey() string
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) SetFlagKey ¶
func (x *BooleanEvaluationResponse) SetFlagKey(v string)
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 FlagKey string // 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 EvaluationConstraint ¶
type EvaluationConstraint struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type EvaluationConstraintComparisonType `protobuf:"varint,2,opt,name=type,proto3,enum=flipt.evaluation.EvaluationConstraintComparisonType" json:"type,omitempty"` Property string `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"` Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"` Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EvaluationConstraint) GetId ¶
func (x *EvaluationConstraint) GetId() string
func (*EvaluationConstraint) GetOperator ¶
func (x *EvaluationConstraint) GetOperator() string
func (*EvaluationConstraint) GetProperty ¶
func (x *EvaluationConstraint) GetProperty() string
func (*EvaluationConstraint) GetType ¶
func (x *EvaluationConstraint) GetType() EvaluationConstraintComparisonType
func (*EvaluationConstraint) GetValue ¶
func (x *EvaluationConstraint) GetValue() string
func (*EvaluationConstraint) ProtoMessage ¶
func (*EvaluationConstraint) ProtoMessage()
func (*EvaluationConstraint) ProtoReflect ¶
func (x *EvaluationConstraint) ProtoReflect() protoreflect.Message
func (*EvaluationConstraint) Reset ¶
func (x *EvaluationConstraint) Reset()
func (*EvaluationConstraint) SetId ¶
func (x *EvaluationConstraint) SetId(v string)
func (*EvaluationConstraint) SetOperator ¶
func (x *EvaluationConstraint) SetOperator(v string)
func (*EvaluationConstraint) SetProperty ¶
func (x *EvaluationConstraint) SetProperty(v string)
func (*EvaluationConstraint) SetType ¶
func (x *EvaluationConstraint) SetType(v EvaluationConstraintComparisonType)
func (*EvaluationConstraint) SetValue ¶
func (x *EvaluationConstraint) SetValue(v string)
func (*EvaluationConstraint) String ¶
func (x *EvaluationConstraint) String() string
type EvaluationConstraintComparisonType ¶
type EvaluationConstraintComparisonType int32
const ( EvaluationConstraintComparisonType_UNKNOWN_CONSTRAINT_COMPARISON_TYPE EvaluationConstraintComparisonType = 0 EvaluationConstraintComparisonType_STRING_CONSTRAINT_COMPARISON_TYPE EvaluationConstraintComparisonType = 1 EvaluationConstraintComparisonType_NUMBER_CONSTRAINT_COMPARISON_TYPE EvaluationConstraintComparisonType = 2 EvaluationConstraintComparisonType_BOOLEAN_CONSTRAINT_COMPARISON_TYPE EvaluationConstraintComparisonType = 3 EvaluationConstraintComparisonType_DATETIME_CONSTRAINT_COMPARISON_TYPE EvaluationConstraintComparisonType = 4 EvaluationConstraintComparisonType_ENTITY_ID_CONSTRAINT_COMPARISON_TYPE EvaluationConstraintComparisonType = 5 )
func (EvaluationConstraintComparisonType) Descriptor ¶
func (EvaluationConstraintComparisonType) Descriptor() protoreflect.EnumDescriptor
func (EvaluationConstraintComparisonType) Enum ¶
func (x EvaluationConstraintComparisonType) Enum() *EvaluationConstraintComparisonType
func (EvaluationConstraintComparisonType) Number ¶
func (x EvaluationConstraintComparisonType) Number() protoreflect.EnumNumber
func (EvaluationConstraintComparisonType) String ¶
func (x EvaluationConstraintComparisonType) String() string
func (EvaluationConstraintComparisonType) Type ¶
func (EvaluationConstraintComparisonType) Type() protoreflect.EnumType
type EvaluationConstraint_builder ¶
type EvaluationConstraint_builder struct { Id string Type EvaluationConstraintComparisonType Property string Operator string Value string // contains filtered or unexported fields }
func (EvaluationConstraint_builder) Build ¶
func (b0 EvaluationConstraint_builder) Build() *EvaluationConstraint
type EvaluationDistribution ¶
type EvaluationDistribution struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` VariantId string `protobuf:"bytes,3,opt,name=variant_id,json=variantId,proto3" json:"variant_id,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"` Rollout float32 `protobuf:"fixed32,6,opt,name=rollout,proto3" json:"rollout,omitempty"` // contains filtered or unexported fields }
func (*EvaluationDistribution) GetId ¶
func (x *EvaluationDistribution) GetId() string
func (*EvaluationDistribution) GetRollout ¶
func (x *EvaluationDistribution) GetRollout() float32
func (*EvaluationDistribution) GetRuleId ¶
func (x *EvaluationDistribution) GetRuleId() string
func (*EvaluationDistribution) GetVariantAttachment ¶
func (x *EvaluationDistribution) GetVariantAttachment() string
func (*EvaluationDistribution) GetVariantId ¶
func (x *EvaluationDistribution) GetVariantId() string
func (*EvaluationDistribution) GetVariantKey ¶
func (x *EvaluationDistribution) GetVariantKey() string
func (*EvaluationDistribution) ProtoMessage ¶
func (*EvaluationDistribution) ProtoMessage()
func (*EvaluationDistribution) ProtoReflect ¶
func (x *EvaluationDistribution) ProtoReflect() protoreflect.Message
func (*EvaluationDistribution) Reset ¶
func (x *EvaluationDistribution) Reset()
func (*EvaluationDistribution) SetId ¶
func (x *EvaluationDistribution) SetId(v string)
func (*EvaluationDistribution) SetRollout ¶
func (x *EvaluationDistribution) SetRollout(v float32)
func (*EvaluationDistribution) SetRuleId ¶
func (x *EvaluationDistribution) SetRuleId(v string)
func (*EvaluationDistribution) SetVariantAttachment ¶
func (x *EvaluationDistribution) SetVariantAttachment(v string)
func (*EvaluationDistribution) SetVariantId ¶
func (x *EvaluationDistribution) SetVariantId(v string)
func (*EvaluationDistribution) SetVariantKey ¶
func (x *EvaluationDistribution) SetVariantKey(v string)
func (*EvaluationDistribution) String ¶
func (x *EvaluationDistribution) String() string
type EvaluationDistribution_builder ¶
type EvaluationDistribution_builder struct { Id string RuleId string VariantId string VariantKey string VariantAttachment string Rollout float32 // contains filtered or unexported fields }
func (EvaluationDistribution_builder) Build ¶
func (b0 EvaluationDistribution_builder) Build() *EvaluationDistribution
type EvaluationFlag ¶
type EvaluationFlag struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` Type EvaluationFlagType `protobuf:"varint,5,opt,name=type,proto3,enum=flipt.evaluation.EvaluationFlagType" json:"type,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Rules []*EvaluationRule `protobuf:"bytes,8,rep,name=rules,proto3" json:"rules,omitempty"` Rollouts []*EvaluationRollout `protobuf:"bytes,9,rep,name=rollouts,proto3" json:"rollouts,omitempty"` // contains filtered or unexported fields }
func (*EvaluationFlag) ClearCreatedAt ¶
func (x *EvaluationFlag) ClearCreatedAt()
func (*EvaluationFlag) ClearUpdatedAt ¶
func (x *EvaluationFlag) ClearUpdatedAt()
func (*EvaluationFlag) GetCreatedAt ¶
func (x *EvaluationFlag) GetCreatedAt() *timestamppb.Timestamp
func (*EvaluationFlag) GetDescription ¶
func (x *EvaluationFlag) GetDescription() string
func (*EvaluationFlag) GetEnabled ¶
func (x *EvaluationFlag) GetEnabled() bool
func (*EvaluationFlag) GetKey ¶
func (x *EvaluationFlag) GetKey() string
func (*EvaluationFlag) GetName ¶
func (x *EvaluationFlag) GetName() string
func (*EvaluationFlag) GetRollouts ¶
func (x *EvaluationFlag) GetRollouts() []*EvaluationRollout
func (*EvaluationFlag) GetRules ¶
func (x *EvaluationFlag) GetRules() []*EvaluationRule
func (*EvaluationFlag) GetType ¶
func (x *EvaluationFlag) GetType() EvaluationFlagType
func (*EvaluationFlag) GetUpdatedAt ¶
func (x *EvaluationFlag) GetUpdatedAt() *timestamppb.Timestamp
func (*EvaluationFlag) HasCreatedAt ¶
func (x *EvaluationFlag) HasCreatedAt() bool
func (*EvaluationFlag) HasUpdatedAt ¶
func (x *EvaluationFlag) HasUpdatedAt() bool
func (*EvaluationFlag) ProtoMessage ¶
func (*EvaluationFlag) ProtoMessage()
func (*EvaluationFlag) ProtoReflect ¶
func (x *EvaluationFlag) ProtoReflect() protoreflect.Message
func (*EvaluationFlag) Reset ¶
func (x *EvaluationFlag) Reset()
func (*EvaluationFlag) SetCreatedAt ¶
func (x *EvaluationFlag) SetCreatedAt(v *timestamppb.Timestamp)
func (*EvaluationFlag) SetDescription ¶
func (x *EvaluationFlag) SetDescription(v string)
func (*EvaluationFlag) SetEnabled ¶
func (x *EvaluationFlag) SetEnabled(v bool)
func (*EvaluationFlag) SetKey ¶
func (x *EvaluationFlag) SetKey(v string)
func (*EvaluationFlag) SetName ¶
func (x *EvaluationFlag) SetName(v string)
func (*EvaluationFlag) SetRollouts ¶
func (x *EvaluationFlag) SetRollouts(v []*EvaluationRollout)
func (*EvaluationFlag) SetRules ¶
func (x *EvaluationFlag) SetRules(v []*EvaluationRule)
func (*EvaluationFlag) SetType ¶
func (x *EvaluationFlag) SetType(v EvaluationFlagType)
func (*EvaluationFlag) SetUpdatedAt ¶
func (x *EvaluationFlag) SetUpdatedAt(v *timestamppb.Timestamp)
func (*EvaluationFlag) String ¶
func (x *EvaluationFlag) String() string
type EvaluationFlagType ¶
type EvaluationFlagType int32
const ( EvaluationFlagType_VARIANT_FLAG_TYPE EvaluationFlagType = 0 EvaluationFlagType_BOOLEAN_FLAG_TYPE EvaluationFlagType = 1 )
func (EvaluationFlagType) Descriptor ¶
func (EvaluationFlagType) Descriptor() protoreflect.EnumDescriptor
func (EvaluationFlagType) Enum ¶
func (x EvaluationFlagType) Enum() *EvaluationFlagType
func (EvaluationFlagType) Number ¶
func (x EvaluationFlagType) Number() protoreflect.EnumNumber
func (EvaluationFlagType) String ¶
func (x EvaluationFlagType) String() string
func (EvaluationFlagType) Type ¶
func (EvaluationFlagType) Type() protoreflect.EnumType
type EvaluationFlag_builder ¶
type EvaluationFlag_builder struct { Key string Name string Description string Enabled bool Type EvaluationFlagType CreatedAt *timestamppb.Timestamp UpdatedAt *timestamppb.Timestamp Rules []*EvaluationRule Rollouts []*EvaluationRollout // contains filtered or unexported fields }
func (EvaluationFlag_builder) Build ¶
func (b0 EvaluationFlag_builder) Build() *EvaluationFlag
type EvaluationNamespace ¶
type EvaluationNamespace struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*EvaluationNamespace) GetKey ¶
func (x *EvaluationNamespace) GetKey() string
func (*EvaluationNamespace) ProtoMessage ¶
func (*EvaluationNamespace) ProtoMessage()
func (*EvaluationNamespace) ProtoReflect ¶
func (x *EvaluationNamespace) ProtoReflect() protoreflect.Message
func (*EvaluationNamespace) Reset ¶
func (x *EvaluationNamespace) Reset()
func (*EvaluationNamespace) SetKey ¶
func (x *EvaluationNamespace) SetKey(v string)
func (*EvaluationNamespace) String ¶
func (x *EvaluationNamespace) String() string
type EvaluationNamespaceSnapshot ¶
type EvaluationNamespaceSnapshot struct { Namespace *EvaluationNamespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Flags []*EvaluationFlag `protobuf:"bytes,2,rep,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
func (*EvaluationNamespaceSnapshot) ClearNamespace ¶
func (x *EvaluationNamespaceSnapshot) ClearNamespace()
func (*EvaluationNamespaceSnapshot) GetFlags ¶
func (x *EvaluationNamespaceSnapshot) GetFlags() []*EvaluationFlag
func (*EvaluationNamespaceSnapshot) GetNamespace ¶
func (x *EvaluationNamespaceSnapshot) GetNamespace() *EvaluationNamespace
func (*EvaluationNamespaceSnapshot) HasNamespace ¶
func (x *EvaluationNamespaceSnapshot) HasNamespace() bool
func (*EvaluationNamespaceSnapshot) ProtoMessage ¶
func (*EvaluationNamespaceSnapshot) ProtoMessage()
func (*EvaluationNamespaceSnapshot) ProtoReflect ¶
func (x *EvaluationNamespaceSnapshot) ProtoReflect() protoreflect.Message
func (*EvaluationNamespaceSnapshot) Reset ¶
func (x *EvaluationNamespaceSnapshot) Reset()
func (*EvaluationNamespaceSnapshot) SetFlags ¶
func (x *EvaluationNamespaceSnapshot) SetFlags(v []*EvaluationFlag)
func (*EvaluationNamespaceSnapshot) SetNamespace ¶
func (x *EvaluationNamespaceSnapshot) SetNamespace(v *EvaluationNamespace)
func (*EvaluationNamespaceSnapshot) String ¶
func (x *EvaluationNamespaceSnapshot) String() string
type EvaluationNamespaceSnapshotRequest ¶
type EvaluationNamespaceSnapshotRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*EvaluationNamespaceSnapshotRequest) GetKey ¶
func (x *EvaluationNamespaceSnapshotRequest) GetKey() string
func (*EvaluationNamespaceSnapshotRequest) GetReference ¶
func (x *EvaluationNamespaceSnapshotRequest) GetReference() string
func (*EvaluationNamespaceSnapshotRequest) ProtoMessage ¶
func (*EvaluationNamespaceSnapshotRequest) ProtoMessage()
func (*EvaluationNamespaceSnapshotRequest) ProtoReflect ¶
func (x *EvaluationNamespaceSnapshotRequest) ProtoReflect() protoreflect.Message
func (*EvaluationNamespaceSnapshotRequest) Reset ¶
func (x *EvaluationNamespaceSnapshotRequest) Reset()
func (*EvaluationNamespaceSnapshotRequest) SetKey ¶
func (x *EvaluationNamespaceSnapshotRequest) SetKey(v string)
func (*EvaluationNamespaceSnapshotRequest) SetReference ¶
func (x *EvaluationNamespaceSnapshotRequest) SetReference(v string)
func (*EvaluationNamespaceSnapshotRequest) String ¶
func (x *EvaluationNamespaceSnapshotRequest) String() string
type EvaluationNamespaceSnapshotRequest_builder ¶
type EvaluationNamespaceSnapshotRequest_builder struct { Key string Reference string // contains filtered or unexported fields }
func (EvaluationNamespaceSnapshotRequest_builder) Build ¶
func (b0 EvaluationNamespaceSnapshotRequest_builder) Build() *EvaluationNamespaceSnapshotRequest
type EvaluationNamespaceSnapshot_builder ¶
type EvaluationNamespaceSnapshot_builder struct { Namespace *EvaluationNamespace Flags []*EvaluationFlag // contains filtered or unexported fields }
func (EvaluationNamespaceSnapshot_builder) Build ¶
func (b0 EvaluationNamespaceSnapshot_builder) Build() *EvaluationNamespaceSnapshot
type EvaluationNamespace_builder ¶
type EvaluationNamespace_builder struct { Key string // contains filtered or unexported fields }
func (EvaluationNamespace_builder) Build ¶
func (b0 EvaluationNamespace_builder) Build() *EvaluationNamespace
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 */ Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` // 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) GetReference ¶
func (x *EvaluationRequest) GetReference() 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) SetReference ¶
func (x *EvaluationRequest) SetReference(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 Reference 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 EvaluationRollout ¶
type EvaluationRollout struct { Type EvaluationRolloutType `protobuf:"varint,1,opt,name=type,proto3,enum=flipt.evaluation.EvaluationRolloutType" json:"type,omitempty"` Rank int32 `protobuf:"varint,2,opt,name=rank,proto3" json:"rank,omitempty"` // Types that are valid to be assigned to Rule: // // *EvaluationRollout_Segment // *EvaluationRollout_Threshold Rule isEvaluationRollout_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
func (*EvaluationRollout) ClearRule ¶
func (x *EvaluationRollout) ClearRule()
func (*EvaluationRollout) ClearSegment ¶
func (x *EvaluationRollout) ClearSegment()
func (*EvaluationRollout) ClearThreshold ¶
func (x *EvaluationRollout) ClearThreshold()
func (*EvaluationRollout) GetRank ¶
func (x *EvaluationRollout) GetRank() int32
func (*EvaluationRollout) GetRule ¶
func (x *EvaluationRollout) GetRule() isEvaluationRollout_Rule
func (*EvaluationRollout) GetSegment ¶
func (x *EvaluationRollout) GetSegment() *EvaluationRolloutSegment
func (*EvaluationRollout) GetThreshold ¶
func (x *EvaluationRollout) GetThreshold() *EvaluationRolloutThreshold
func (*EvaluationRollout) GetType ¶
func (x *EvaluationRollout) GetType() EvaluationRolloutType
func (*EvaluationRollout) HasRule ¶
func (x *EvaluationRollout) HasRule() bool
func (*EvaluationRollout) HasSegment ¶
func (x *EvaluationRollout) HasSegment() bool
func (*EvaluationRollout) HasThreshold ¶
func (x *EvaluationRollout) HasThreshold() bool
func (*EvaluationRollout) ProtoMessage ¶
func (*EvaluationRollout) ProtoMessage()
func (*EvaluationRollout) ProtoReflect ¶
func (x *EvaluationRollout) ProtoReflect() protoreflect.Message
func (*EvaluationRollout) Reset ¶
func (x *EvaluationRollout) Reset()
func (*EvaluationRollout) SetRank ¶
func (x *EvaluationRollout) SetRank(v int32)
func (*EvaluationRollout) SetSegment ¶
func (x *EvaluationRollout) SetSegment(v *EvaluationRolloutSegment)
func (*EvaluationRollout) SetThreshold ¶
func (x *EvaluationRollout) SetThreshold(v *EvaluationRolloutThreshold)
func (*EvaluationRollout) SetType ¶
func (x *EvaluationRollout) SetType(v EvaluationRolloutType)
func (*EvaluationRollout) String ¶
func (x *EvaluationRollout) String() string
func (*EvaluationRollout) WhichRule ¶
func (x *EvaluationRollout) WhichRule() case_EvaluationRollout_Rule
type EvaluationRolloutSegment ¶
type EvaluationRolloutSegment struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` SegmentOperator EvaluationSegmentOperator `` /* 155-byte string literal not displayed */ Segments []*EvaluationSegment `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"` // contains filtered or unexported fields }
func (*EvaluationRolloutSegment) GetSegmentOperator ¶
func (x *EvaluationRolloutSegment) GetSegmentOperator() EvaluationSegmentOperator
func (*EvaluationRolloutSegment) GetSegments ¶
func (x *EvaluationRolloutSegment) GetSegments() []*EvaluationSegment
func (*EvaluationRolloutSegment) GetValue ¶
func (x *EvaluationRolloutSegment) GetValue() bool
func (*EvaluationRolloutSegment) ProtoMessage ¶
func (*EvaluationRolloutSegment) ProtoMessage()
func (*EvaluationRolloutSegment) ProtoReflect ¶
func (x *EvaluationRolloutSegment) ProtoReflect() protoreflect.Message
func (*EvaluationRolloutSegment) Reset ¶
func (x *EvaluationRolloutSegment) Reset()
func (*EvaluationRolloutSegment) SetSegmentOperator ¶
func (x *EvaluationRolloutSegment) SetSegmentOperator(v EvaluationSegmentOperator)
func (*EvaluationRolloutSegment) SetSegments ¶
func (x *EvaluationRolloutSegment) SetSegments(v []*EvaluationSegment)
func (*EvaluationRolloutSegment) SetValue ¶
func (x *EvaluationRolloutSegment) SetValue(v bool)
func (*EvaluationRolloutSegment) String ¶
func (x *EvaluationRolloutSegment) String() string
type EvaluationRolloutSegment_builder ¶
type EvaluationRolloutSegment_builder struct { Value bool SegmentOperator EvaluationSegmentOperator Segments []*EvaluationSegment // contains filtered or unexported fields }
func (EvaluationRolloutSegment_builder) Build ¶
func (b0 EvaluationRolloutSegment_builder) Build() *EvaluationRolloutSegment
type EvaluationRolloutThreshold ¶
type EvaluationRolloutThreshold struct { Percentage float32 `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"` Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EvaluationRolloutThreshold) GetPercentage ¶
func (x *EvaluationRolloutThreshold) GetPercentage() float32
func (*EvaluationRolloutThreshold) GetValue ¶
func (x *EvaluationRolloutThreshold) GetValue() bool
func (*EvaluationRolloutThreshold) ProtoMessage ¶
func (*EvaluationRolloutThreshold) ProtoMessage()
func (*EvaluationRolloutThreshold) ProtoReflect ¶
func (x *EvaluationRolloutThreshold) ProtoReflect() protoreflect.Message
func (*EvaluationRolloutThreshold) Reset ¶
func (x *EvaluationRolloutThreshold) Reset()
func (*EvaluationRolloutThreshold) SetPercentage ¶
func (x *EvaluationRolloutThreshold) SetPercentage(v float32)
func (*EvaluationRolloutThreshold) SetValue ¶
func (x *EvaluationRolloutThreshold) SetValue(v bool)
func (*EvaluationRolloutThreshold) String ¶
func (x *EvaluationRolloutThreshold) String() string
type EvaluationRolloutThreshold_builder ¶
type EvaluationRolloutThreshold_builder struct { Percentage float32 Value bool // contains filtered or unexported fields }
func (EvaluationRolloutThreshold_builder) Build ¶
func (b0 EvaluationRolloutThreshold_builder) Build() *EvaluationRolloutThreshold
type EvaluationRolloutType ¶
type EvaluationRolloutType int32
const ( EvaluationRolloutType_UNKNOWN_ROLLOUT_TYPE EvaluationRolloutType = 0 EvaluationRolloutType_SEGMENT_ROLLOUT_TYPE EvaluationRolloutType = 1 EvaluationRolloutType_THRESHOLD_ROLLOUT_TYPE EvaluationRolloutType = 2 )
func (EvaluationRolloutType) Descriptor ¶
func (EvaluationRolloutType) Descriptor() protoreflect.EnumDescriptor
func (EvaluationRolloutType) Enum ¶
func (x EvaluationRolloutType) Enum() *EvaluationRolloutType
func (EvaluationRolloutType) Number ¶
func (x EvaluationRolloutType) Number() protoreflect.EnumNumber
func (EvaluationRolloutType) String ¶
func (x EvaluationRolloutType) String() string
func (EvaluationRolloutType) Type ¶
func (EvaluationRolloutType) Type() protoreflect.EnumType
type EvaluationRollout_Segment ¶
type EvaluationRollout_Segment struct {
Segment *EvaluationRolloutSegment `protobuf:"bytes,3,opt,name=segment,proto3,oneof"`
}
type EvaluationRollout_Threshold ¶
type EvaluationRollout_Threshold struct {
Threshold *EvaluationRolloutThreshold `protobuf:"bytes,4,opt,name=threshold,proto3,oneof"`
}
type EvaluationRollout_builder ¶
type EvaluationRollout_builder struct { Type EvaluationRolloutType Rank int32 // Fields of oneof Rule: Segment *EvaluationRolloutSegment Threshold *EvaluationRolloutThreshold // contains filtered or unexported fields }
func (EvaluationRollout_builder) Build ¶
func (b0 EvaluationRollout_builder) Build() *EvaluationRollout
type EvaluationRule ¶
type EvaluationRule struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Segments []*EvaluationSegment `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"` Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` SegmentOperator EvaluationSegmentOperator `` /* 155-byte string literal not displayed */ Distributions []*EvaluationDistribution `protobuf:"bytes,5,rep,name=distributions,proto3" json:"distributions,omitempty"` // contains filtered or unexported fields }
func (*EvaluationRule) GetDistributions ¶
func (x *EvaluationRule) GetDistributions() []*EvaluationDistribution
func (*EvaluationRule) GetId ¶
func (x *EvaluationRule) GetId() string
func (*EvaluationRule) GetRank ¶
func (x *EvaluationRule) GetRank() int32
func (*EvaluationRule) GetSegmentOperator ¶
func (x *EvaluationRule) GetSegmentOperator() EvaluationSegmentOperator
func (*EvaluationRule) GetSegments ¶
func (x *EvaluationRule) GetSegments() []*EvaluationSegment
func (*EvaluationRule) ProtoMessage ¶
func (*EvaluationRule) ProtoMessage()
func (*EvaluationRule) ProtoReflect ¶
func (x *EvaluationRule) ProtoReflect() protoreflect.Message
func (*EvaluationRule) Reset ¶
func (x *EvaluationRule) Reset()
func (*EvaluationRule) SetDistributions ¶
func (x *EvaluationRule) SetDistributions(v []*EvaluationDistribution)
func (*EvaluationRule) SetId ¶
func (x *EvaluationRule) SetId(v string)
func (*EvaluationRule) SetRank ¶
func (x *EvaluationRule) SetRank(v int32)
func (*EvaluationRule) SetSegmentOperator ¶
func (x *EvaluationRule) SetSegmentOperator(v EvaluationSegmentOperator)
func (*EvaluationRule) SetSegments ¶
func (x *EvaluationRule) SetSegments(v []*EvaluationSegment)
func (*EvaluationRule) String ¶
func (x *EvaluationRule) String() string
type EvaluationRule_builder ¶
type EvaluationRule_builder struct { Id string Segments []*EvaluationSegment Rank int32 SegmentOperator EvaluationSegmentOperator Distributions []*EvaluationDistribution // contains filtered or unexported fields }
func (EvaluationRule_builder) Build ¶
func (b0 EvaluationRule_builder) Build() *EvaluationRule
type EvaluationSegment ¶
type EvaluationSegment struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` MatchType EvaluationSegmentMatchType `` /* 138-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Constraints []*EvaluationConstraint `protobuf:"bytes,7,rep,name=constraints,proto3" json:"constraints,omitempty"` // contains filtered or unexported fields }
func (*EvaluationSegment) ClearCreatedAt ¶
func (x *EvaluationSegment) ClearCreatedAt()
func (*EvaluationSegment) ClearUpdatedAt ¶
func (x *EvaluationSegment) ClearUpdatedAt()
func (*EvaluationSegment) GetConstraints ¶
func (x *EvaluationSegment) GetConstraints() []*EvaluationConstraint
func (*EvaluationSegment) GetCreatedAt ¶
func (x *EvaluationSegment) GetCreatedAt() *timestamppb.Timestamp
func (*EvaluationSegment) GetDescription ¶
func (x *EvaluationSegment) GetDescription() string
func (*EvaluationSegment) GetKey ¶
func (x *EvaluationSegment) GetKey() string
func (*EvaluationSegment) GetMatchType ¶
func (x *EvaluationSegment) GetMatchType() EvaluationSegmentMatchType
func (*EvaluationSegment) GetName ¶
func (x *EvaluationSegment) GetName() string
func (*EvaluationSegment) GetUpdatedAt ¶
func (x *EvaluationSegment) GetUpdatedAt() *timestamppb.Timestamp
func (*EvaluationSegment) HasCreatedAt ¶
func (x *EvaluationSegment) HasCreatedAt() bool
func (*EvaluationSegment) HasUpdatedAt ¶
func (x *EvaluationSegment) HasUpdatedAt() bool
func (*EvaluationSegment) ProtoMessage ¶
func (*EvaluationSegment) ProtoMessage()
func (*EvaluationSegment) ProtoReflect ¶
func (x *EvaluationSegment) ProtoReflect() protoreflect.Message
func (*EvaluationSegment) Reset ¶
func (x *EvaluationSegment) Reset()
func (*EvaluationSegment) SetConstraints ¶
func (x *EvaluationSegment) SetConstraints(v []*EvaluationConstraint)
func (*EvaluationSegment) SetCreatedAt ¶
func (x *EvaluationSegment) SetCreatedAt(v *timestamppb.Timestamp)
func (*EvaluationSegment) SetDescription ¶
func (x *EvaluationSegment) SetDescription(v string)
func (*EvaluationSegment) SetKey ¶
func (x *EvaluationSegment) SetKey(v string)
func (*EvaluationSegment) SetMatchType ¶
func (x *EvaluationSegment) SetMatchType(v EvaluationSegmentMatchType)
func (*EvaluationSegment) SetName ¶
func (x *EvaluationSegment) SetName(v string)
func (*EvaluationSegment) SetUpdatedAt ¶
func (x *EvaluationSegment) SetUpdatedAt(v *timestamppb.Timestamp)
func (*EvaluationSegment) String ¶
func (x *EvaluationSegment) String() string
type EvaluationSegmentMatchType ¶
type EvaluationSegmentMatchType int32
const ( EvaluationSegmentMatchType_ALL_SEGMENT_MATCH_TYPE EvaluationSegmentMatchType = 0 EvaluationSegmentMatchType_ANY_SEGMENT_MATCH_TYPE EvaluationSegmentMatchType = 1 )
func (EvaluationSegmentMatchType) Descriptor ¶
func (EvaluationSegmentMatchType) Descriptor() protoreflect.EnumDescriptor
func (EvaluationSegmentMatchType) Enum ¶
func (x EvaluationSegmentMatchType) Enum() *EvaluationSegmentMatchType
func (EvaluationSegmentMatchType) Number ¶
func (x EvaluationSegmentMatchType) Number() protoreflect.EnumNumber
func (EvaluationSegmentMatchType) String ¶
func (x EvaluationSegmentMatchType) String() string
func (EvaluationSegmentMatchType) Type ¶
func (EvaluationSegmentMatchType) Type() protoreflect.EnumType
type EvaluationSegmentOperator ¶
type EvaluationSegmentOperator int32
const ( EvaluationSegmentOperator_OR_SEGMENT_OPERATOR EvaluationSegmentOperator = 0 EvaluationSegmentOperator_AND_SEGMENT_OPERATOR EvaluationSegmentOperator = 1 )
func (EvaluationSegmentOperator) Descriptor ¶
func (EvaluationSegmentOperator) Descriptor() protoreflect.EnumDescriptor
func (EvaluationSegmentOperator) Enum ¶
func (x EvaluationSegmentOperator) Enum() *EvaluationSegmentOperator
func (EvaluationSegmentOperator) Number ¶
func (x EvaluationSegmentOperator) Number() protoreflect.EnumNumber
func (EvaluationSegmentOperator) String ¶
func (x EvaluationSegmentOperator) String() string
func (EvaluationSegmentOperator) Type ¶
func (EvaluationSegmentOperator) Type() protoreflect.EnumType
type EvaluationSegment_builder ¶
type EvaluationSegment_builder struct { Key string Name string Description string MatchType EvaluationSegmentMatchType CreatedAt *timestamppb.Timestamp UpdatedAt *timestamppb.Timestamp Constraints []*EvaluationConstraint // contains filtered or unexported fields }
func (EvaluationSegment_builder) Build ¶
func (b0 EvaluationSegment_builder) Build() *EvaluationSegment
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"` FlagKey string `protobuf:"bytes,9,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` // contains filtered or unexported fields }
func (*VariantEvaluationResponse) ClearTimestamp ¶
func (x *VariantEvaluationResponse) ClearTimestamp()
func (*VariantEvaluationResponse) GetFlagKey ¶
func (x *VariantEvaluationResponse) GetFlagKey() string
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) SetFlagKey ¶
func (x *VariantEvaluationResponse) SetFlagKey(v string)
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 FlagKey string // 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.