Documentation ¶
Overview ¶
Package flipt is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func Now() *timestamppb.Timestamp
- func RegisterFliptHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFliptHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FliptClient) error
- func RegisterFliptHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFliptHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FliptServer) error
- func RegisterFliptServer(s grpc.ServiceRegistrar, srv FliptServer)
- type BatchEvaluationRequest
- func (*BatchEvaluationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchEvaluationRequest) GetExcludeNotFound() bool
- func (x *BatchEvaluationRequest) GetNamespaceKey() string
- func (x *BatchEvaluationRequest) GetNamespaceKeys() (keys []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) SetRequestIDIfNotBlank(id string) string
- func (x *BatchEvaluationRequest) String() string
- type BatchEvaluationResponse
- func (*BatchEvaluationResponse) Descriptor() ([]byte, []int)deprecated
- 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) SetRequestIDIfNotBlank(id string) string
- func (x *BatchEvaluationResponse) SetTimestamps(start, end time.Time)
- func (x *BatchEvaluationResponse) String() string
- type BatchNamespaced
- type ComparisonType
- func (ComparisonType) Descriptor() protoreflect.EnumDescriptor
- func (x ComparisonType) Enum() *ComparisonType
- func (ComparisonType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComparisonType) Number() protoreflect.EnumNumber
- func (x ComparisonType) String() string
- func (ComparisonType) Type() protoreflect.EnumType
- type Constraint
- func (*Constraint) Descriptor() ([]byte, []int)deprecated
- func (x *Constraint) GetCreatedAt() *timestamppb.Timestamp
- func (x *Constraint) GetDescription() string
- func (x *Constraint) GetId() string
- func (x *Constraint) GetNamespaceKey() string
- func (x *Constraint) GetOperator() string
- func (x *Constraint) GetProperty() string
- func (x *Constraint) GetSegmentKey() string
- func (x *Constraint) GetType() ComparisonType
- func (x *Constraint) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Constraint) GetValue() string
- func (*Constraint) ProtoMessage()
- func (x *Constraint) ProtoReflect() protoreflect.Message
- func (x *Constraint) Reset()
- func (x *Constraint) String() string
- type CreateConstraintRequest
- func (*CreateConstraintRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConstraintRequest) GetDescription() string
- func (x *CreateConstraintRequest) GetNamespaceKey() string
- func (x *CreateConstraintRequest) GetOperator() string
- func (x *CreateConstraintRequest) GetProperty() string
- func (x *CreateConstraintRequest) GetSegmentKey() string
- func (x *CreateConstraintRequest) GetType() ComparisonType
- func (x *CreateConstraintRequest) GetValue() string
- func (*CreateConstraintRequest) ProtoMessage()
- func (x *CreateConstraintRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConstraintRequest) Reset()
- func (x *CreateConstraintRequest) String() string
- func (req *CreateConstraintRequest) Validate() error
- type CreateDistributionRequest
- func (*CreateDistributionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDistributionRequest) GetFlagKey() string
- func (x *CreateDistributionRequest) GetNamespaceKey() string
- func (x *CreateDistributionRequest) GetRollout() float32
- func (x *CreateDistributionRequest) GetRuleId() string
- func (x *CreateDistributionRequest) GetVariantId() string
- func (*CreateDistributionRequest) ProtoMessage()
- func (x *CreateDistributionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDistributionRequest) Reset()
- func (x *CreateDistributionRequest) String() string
- func (req *CreateDistributionRequest) Validate() error
- type CreateFlagRequest
- func (*CreateFlagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFlagRequest) GetDescription() string
- func (x *CreateFlagRequest) GetEnabled() bool
- func (x *CreateFlagRequest) GetKey() string
- func (x *CreateFlagRequest) GetName() string
- func (x *CreateFlagRequest) GetNamespaceKey() string
- func (x *CreateFlagRequest) GetType() FlagType
- func (*CreateFlagRequest) ProtoMessage()
- func (x *CreateFlagRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFlagRequest) Reset()
- func (x *CreateFlagRequest) String() string
- func (req *CreateFlagRequest) Validate() error
- type CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRequest) GetDescription() string
- func (x *CreateNamespaceRequest) GetKey() string
- func (x *CreateNamespaceRequest) GetName() string
- func (req *CreateNamespaceRequest) GetNamespaceKey() string
- func (*CreateNamespaceRequest) ProtoMessage()
- func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRequest) Reset()
- func (x *CreateNamespaceRequest) String() string
- func (req *CreateNamespaceRequest) Validate() error
- type CreateRolloutRequest
- func (*CreateRolloutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRolloutRequest) GetDescription() string
- func (x *CreateRolloutRequest) GetFlagKey() string
- func (x *CreateRolloutRequest) GetNamespaceKey() string
- func (x *CreateRolloutRequest) GetRank() int32
- func (m *CreateRolloutRequest) GetRule() isCreateRolloutRequest_Rule
- func (x *CreateRolloutRequest) GetSegment() *RolloutSegment
- func (x *CreateRolloutRequest) GetThreshold() *RolloutThreshold
- func (*CreateRolloutRequest) ProtoMessage()
- func (x *CreateRolloutRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRolloutRequest) Reset()
- func (x *CreateRolloutRequest) String() string
- func (req *CreateRolloutRequest) Validate() error
- type CreateRolloutRequest_Segment
- type CreateRolloutRequest_Threshold
- type CreateRuleRequest
- func (*CreateRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRuleRequest) GetFlagKey() string
- func (x *CreateRuleRequest) GetNamespaceKey() string
- func (x *CreateRuleRequest) GetRank() int32
- func (x *CreateRuleRequest) GetSegmentKey() stringdeprecated
- func (x *CreateRuleRequest) GetSegmentKeys() []string
- func (x *CreateRuleRequest) GetSegmentOperator() SegmentOperator
- func (*CreateRuleRequest) ProtoMessage()
- func (x *CreateRuleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRuleRequest) Reset()
- func (x *CreateRuleRequest) String() string
- func (req *CreateRuleRequest) Validate() error
- type CreateSegmentRequest
- func (*CreateSegmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSegmentRequest) GetDescription() string
- func (x *CreateSegmentRequest) GetKey() string
- func (x *CreateSegmentRequest) GetMatchType() MatchType
- func (x *CreateSegmentRequest) GetName() string
- func (x *CreateSegmentRequest) GetNamespaceKey() string
- func (*CreateSegmentRequest) ProtoMessage()
- func (x *CreateSegmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSegmentRequest) Reset()
- func (x *CreateSegmentRequest) String() string
- func (req *CreateSegmentRequest) Validate() error
- type CreateVariantRequest
- func (*CreateVariantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVariantRequest) GetAttachment() string
- func (x *CreateVariantRequest) GetDescription() string
- func (x *CreateVariantRequest) GetFlagKey() string
- func (x *CreateVariantRequest) GetKey() string
- func (x *CreateVariantRequest) GetName() string
- func (x *CreateVariantRequest) GetNamespaceKey() string
- func (*CreateVariantRequest) ProtoMessage()
- func (x *CreateVariantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVariantRequest) Reset()
- func (x *CreateVariantRequest) String() string
- func (req *CreateVariantRequest) Validate() error
- type DeleteConstraintRequest
- func (*DeleteConstraintRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConstraintRequest) GetId() string
- func (x *DeleteConstraintRequest) GetNamespaceKey() string
- func (x *DeleteConstraintRequest) GetSegmentKey() string
- func (*DeleteConstraintRequest) ProtoMessage()
- func (x *DeleteConstraintRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConstraintRequest) Reset()
- func (x *DeleteConstraintRequest) String() string
- func (req *DeleteConstraintRequest) Validate() error
- type DeleteDistributionRequest
- func (*DeleteDistributionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDistributionRequest) GetFlagKey() string
- func (x *DeleteDistributionRequest) GetId() string
- func (x *DeleteDistributionRequest) GetNamespaceKey() string
- func (x *DeleteDistributionRequest) GetRuleId() string
- func (x *DeleteDistributionRequest) GetVariantId() string
- func (*DeleteDistributionRequest) ProtoMessage()
- func (x *DeleteDistributionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDistributionRequest) Reset()
- func (x *DeleteDistributionRequest) String() string
- func (req *DeleteDistributionRequest) Validate() error
- type DeleteFlagRequest
- func (*DeleteFlagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFlagRequest) GetKey() string
- func (x *DeleteFlagRequest) GetNamespaceKey() string
- func (*DeleteFlagRequest) ProtoMessage()
- func (x *DeleteFlagRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFlagRequest) Reset()
- func (x *DeleteFlagRequest) String() string
- func (req *DeleteFlagRequest) Validate() error
- type DeleteNamespaceRequest
- func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRequest) GetKey() string
- func (req *DeleteNamespaceRequest) GetNamespaceKey() string
- func (*DeleteNamespaceRequest) ProtoMessage()
- func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRequest) Reset()
- func (x *DeleteNamespaceRequest) String() string
- type DeleteRolloutRequest
- func (*DeleteRolloutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRolloutRequest) GetFlagKey() string
- func (x *DeleteRolloutRequest) GetId() string
- func (x *DeleteRolloutRequest) GetNamespaceKey() string
- func (*DeleteRolloutRequest) ProtoMessage()
- func (x *DeleteRolloutRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRolloutRequest) Reset()
- func (x *DeleteRolloutRequest) String() string
- func (req *DeleteRolloutRequest) Validate() error
- type DeleteRuleRequest
- func (*DeleteRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRuleRequest) GetFlagKey() string
- func (x *DeleteRuleRequest) GetId() string
- func (x *DeleteRuleRequest) GetNamespaceKey() string
- func (*DeleteRuleRequest) ProtoMessage()
- func (x *DeleteRuleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRuleRequest) Reset()
- func (x *DeleteRuleRequest) String() string
- func (req *DeleteRuleRequest) Validate() error
- type DeleteSegmentRequest
- func (*DeleteSegmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSegmentRequest) GetKey() string
- func (x *DeleteSegmentRequest) GetNamespaceKey() string
- func (*DeleteSegmentRequest) ProtoMessage()
- func (x *DeleteSegmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSegmentRequest) Reset()
- func (x *DeleteSegmentRequest) String() string
- func (req *DeleteSegmentRequest) Validate() error
- type DeleteVariantRequest
- func (*DeleteVariantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVariantRequest) GetFlagKey() string
- func (x *DeleteVariantRequest) GetId() string
- func (x *DeleteVariantRequest) GetNamespaceKey() string
- func (*DeleteVariantRequest) ProtoMessage()
- func (x *DeleteVariantRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVariantRequest) Reset()
- func (x *DeleteVariantRequest) String() string
- func (req *DeleteVariantRequest) Validate() error
- type Distribution
- func (*Distribution) Descriptor() ([]byte, []int)deprecated
- func (x *Distribution) GetCreatedAt() *timestamppb.Timestamp
- func (x *Distribution) GetId() string
- func (x *Distribution) GetRollout() float32
- func (x *Distribution) GetRuleId() string
- func (x *Distribution) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Distribution) GetVariantId() string
- func (*Distribution) ProtoMessage()
- func (x *Distribution) ProtoReflect() protoreflect.Message
- func (x *Distribution) Reset()
- func (x *Distribution) String() string
- type EvaluationReason
- func (EvaluationReason) Descriptor() protoreflect.EnumDescriptor
- func (x EvaluationReason) Enum() *EvaluationReason
- func (EvaluationReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x EvaluationReason) Number() protoreflect.EnumNumber
- func (x EvaluationReason) String() string
- func (EvaluationReason) Type() protoreflect.EnumType
- type EvaluationRequest
- func (*EvaluationRequest) Descriptor() ([]byte, []int)deprecated
- 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) SetRequestIDIfNotBlank(id string) string
- func (x *EvaluationRequest) String() string
- func (req *EvaluationRequest) Validate() error
- type EvaluationResponse
- func (*EvaluationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluationResponse) GetAttachment() string
- func (x *EvaluationResponse) GetEntityId() string
- func (x *EvaluationResponse) GetFlagKey() string
- func (x *EvaluationResponse) GetMatch() bool
- func (x *EvaluationResponse) GetNamespaceKey() string
- func (x *EvaluationResponse) GetReason() EvaluationReason
- func (x *EvaluationResponse) GetRequestContext() map[string]string
- func (x *EvaluationResponse) GetRequestDurationMillis() float64
- func (x *EvaluationResponse) GetRequestId() string
- func (x *EvaluationResponse) GetSegmentKey() stringdeprecated
- func (x *EvaluationResponse) GetSegmentKeys() []string
- func (x *EvaluationResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *EvaluationResponse) GetValue() string
- func (*EvaluationResponse) ProtoMessage()
- func (x *EvaluationResponse) ProtoReflect() protoreflect.Message
- func (x *EvaluationResponse) Reset()
- func (x *EvaluationResponse) SetRequestIDIfNotBlank(id string) string
- func (x *EvaluationResponse) SetTimestamps(start, end time.Time)
- func (x *EvaluationResponse) String() string
- type Flag
- func (*Flag) Descriptor() ([]byte, []int)deprecated
- func (x *Flag) GetCreatedAt() *timestamppb.Timestamp
- func (x *Flag) GetDescription() string
- func (x *Flag) GetEnabled() bool
- func (x *Flag) GetKey() string
- func (x *Flag) GetName() string
- func (x *Flag) GetNamespaceKey() string
- func (x *Flag) GetType() FlagType
- func (x *Flag) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Flag) GetVariants() []*Variant
- func (*Flag) ProtoMessage()
- func (x *Flag) ProtoReflect() protoreflect.Message
- func (x *Flag) Reset()
- func (x *Flag) String() string
- type FlagList
- func (*FlagList) Descriptor() ([]byte, []int)deprecated
- func (x *FlagList) GetFlags() []*Flag
- func (x *FlagList) GetNextPageToken() string
- func (x *FlagList) GetTotalCount() int32
- func (*FlagList) ProtoMessage()
- func (x *FlagList) ProtoReflect() protoreflect.Message
- func (x *FlagList) Reset()
- func (x *FlagList) String() string
- type FlagType
- type FliptClient
- type FliptServer
- type GetFlagRequest
- func (*GetFlagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFlagRequest) GetKey() string
- func (x *GetFlagRequest) GetNamespaceKey() string
- func (x *GetFlagRequest) GetReference() string
- func (*GetFlagRequest) ProtoMessage()
- func (x *GetFlagRequest) ProtoReflect() protoreflect.Message
- func (x *GetFlagRequest) Reset()
- func (x *GetFlagRequest) String() string
- func (req *GetFlagRequest) Validate() error
- type GetNamespaceRequest
- func (*GetNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespaceRequest) GetKey() string
- func (req *GetNamespaceRequest) GetNamespaceKey() string
- func (x *GetNamespaceRequest) GetReference() string
- func (*GetNamespaceRequest) ProtoMessage()
- func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespaceRequest) Reset()
- func (x *GetNamespaceRequest) String() string
- type GetRolloutRequest
- func (*GetRolloutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolloutRequest) GetFlagKey() string
- func (x *GetRolloutRequest) GetId() string
- func (x *GetRolloutRequest) GetNamespaceKey() string
- func (x *GetRolloutRequest) GetReference() string
- func (*GetRolloutRequest) ProtoMessage()
- func (x *GetRolloutRequest) ProtoReflect() protoreflect.Message
- func (x *GetRolloutRequest) Reset()
- func (x *GetRolloutRequest) String() string
- type GetRuleRequest
- func (*GetRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleRequest) GetFlagKey() string
- func (x *GetRuleRequest) GetId() string
- func (x *GetRuleRequest) GetNamespaceKey() string
- func (x *GetRuleRequest) GetReference() string
- func (*GetRuleRequest) ProtoMessage()
- func (x *GetRuleRequest) ProtoReflect() protoreflect.Message
- func (x *GetRuleRequest) Reset()
- func (x *GetRuleRequest) String() string
- func (req *GetRuleRequest) Validate() error
- type GetSegmentRequest
- func (*GetSegmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmentRequest) GetKey() string
- func (x *GetSegmentRequest) GetNamespaceKey() string
- func (x *GetSegmentRequest) GetReference() string
- func (*GetSegmentRequest) ProtoMessage()
- func (x *GetSegmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetSegmentRequest) Reset()
- func (x *GetSegmentRequest) String() string
- func (req *GetSegmentRequest) Validate() error
- type ListFlagRequest
- func (*ListFlagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFlagRequest) GetLimit() int32
- func (x *ListFlagRequest) GetNamespaceKey() string
- func (x *ListFlagRequest) GetOffset() int32deprecated
- func (x *ListFlagRequest) GetPageToken() string
- func (x *ListFlagRequest) GetReference() string
- func (*ListFlagRequest) ProtoMessage()
- func (x *ListFlagRequest) ProtoReflect() protoreflect.Message
- func (x *ListFlagRequest) Reset()
- func (x *ListFlagRequest) String() string
- func (req *ListFlagRequest) Validate() error
- type ListNamespaceRequest
- func (*ListNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespaceRequest) GetLimit() int32
- func (x *ListNamespaceRequest) GetOffset() int32deprecated
- func (x *ListNamespaceRequest) GetPageToken() string
- func (x *ListNamespaceRequest) GetReference() string
- func (*ListNamespaceRequest) ProtoMessage()
- func (x *ListNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *ListNamespaceRequest) Reset()
- func (x *ListNamespaceRequest) String() string
- type ListRolloutRequest
- func (*ListRolloutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRolloutRequest) GetFlagKey() string
- func (x *ListRolloutRequest) GetLimit() int32
- func (x *ListRolloutRequest) GetNamespaceKey() string
- func (x *ListRolloutRequest) GetPageToken() string
- func (x *ListRolloutRequest) GetReference() string
- func (*ListRolloutRequest) ProtoMessage()
- func (x *ListRolloutRequest) ProtoReflect() protoreflect.Message
- func (x *ListRolloutRequest) Reset()
- func (x *ListRolloutRequest) String() string
- type ListRuleRequest
- func (*ListRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuleRequest) GetFlagKey() string
- func (x *ListRuleRequest) GetLimit() int32
- func (x *ListRuleRequest) GetNamespaceKey() string
- func (x *ListRuleRequest) GetOffset() int32deprecated
- func (x *ListRuleRequest) GetPageToken() string
- func (x *ListRuleRequest) GetReference() string
- func (*ListRuleRequest) ProtoMessage()
- func (x *ListRuleRequest) ProtoReflect() protoreflect.Message
- func (x *ListRuleRequest) Reset()
- func (x *ListRuleRequest) String() string
- func (req *ListRuleRequest) Validate() error
- type ListSegmentRequest
- func (*ListSegmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSegmentRequest) GetLimit() int32
- func (x *ListSegmentRequest) GetNamespaceKey() string
- func (x *ListSegmentRequest) GetOffset() int32deprecated
- func (x *ListSegmentRequest) GetPageToken() string
- func (x *ListSegmentRequest) GetReference() string
- func (*ListSegmentRequest) ProtoMessage()
- func (x *ListSegmentRequest) ProtoReflect() protoreflect.Message
- func (x *ListSegmentRequest) Reset()
- func (x *ListSegmentRequest) String() string
- func (req *ListSegmentRequest) Validate() error
- type MatchType
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetCreatedAt() *timestamppb.Timestamp
- func (x *Namespace) GetDescription() string
- func (x *Namespace) GetKey() string
- func (x *Namespace) GetName() string
- func (x *Namespace) GetProtected() bool
- func (x *Namespace) GetUpdatedAt() *timestamppb.Timestamp
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type NamespaceList
- func (*NamespaceList) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceList) GetNamespaces() []*Namespace
- func (x *NamespaceList) GetNextPageToken() string
- func (x *NamespaceList) GetTotalCount() int32
- func (*NamespaceList) ProtoMessage()
- func (x *NamespaceList) ProtoReflect() protoreflect.Message
- func (x *NamespaceList) Reset()
- func (x *NamespaceList) String() string
- type Namespaced
- type OrderRolloutsRequest
- func (*OrderRolloutsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OrderRolloutsRequest) GetFlagKey() string
- func (x *OrderRolloutsRequest) GetNamespaceKey() string
- func (x *OrderRolloutsRequest) GetRolloutIds() []string
- func (*OrderRolloutsRequest) ProtoMessage()
- func (x *OrderRolloutsRequest) ProtoReflect() protoreflect.Message
- func (x *OrderRolloutsRequest) Reset()
- func (x *OrderRolloutsRequest) String() string
- func (req *OrderRolloutsRequest) Validate() error
- type OrderRulesRequest
- func (*OrderRulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OrderRulesRequest) GetFlagKey() string
- func (x *OrderRulesRequest) GetNamespaceKey() string
- func (x *OrderRulesRequest) GetRuleIds() []string
- func (*OrderRulesRequest) ProtoMessage()
- func (x *OrderRulesRequest) ProtoReflect() protoreflect.Message
- func (x *OrderRulesRequest) Reset()
- func (x *OrderRulesRequest) String() string
- func (req *OrderRulesRequest) Validate() error
- type Rollout
- func (*Rollout) Descriptor() ([]byte, []int)deprecated
- func (x *Rollout) GetCreatedAt() *timestamppb.Timestamp
- func (x *Rollout) GetDescription() string
- func (x *Rollout) GetFlagKey() string
- func (x *Rollout) GetId() string
- func (x *Rollout) GetNamespaceKey() string
- func (x *Rollout) GetRank() int32
- func (m *Rollout) GetRule() isRollout_Rule
- func (x *Rollout) GetSegment() *RolloutSegment
- func (x *Rollout) GetThreshold() *RolloutThreshold
- func (x *Rollout) GetType() RolloutType
- func (x *Rollout) GetUpdatedAt() *timestamppb.Timestamp
- func (*Rollout) ProtoMessage()
- func (x *Rollout) ProtoReflect() protoreflect.Message
- func (x *Rollout) Reset()
- func (x *Rollout) String() string
- type RolloutList
- func (*RolloutList) Descriptor() ([]byte, []int)deprecated
- func (x *RolloutList) GetNextPageToken() string
- func (x *RolloutList) GetRules() []*Rollout
- func (x *RolloutList) GetTotalCount() int32
- func (*RolloutList) ProtoMessage()
- func (x *RolloutList) ProtoReflect() protoreflect.Message
- func (x *RolloutList) Reset()
- func (x *RolloutList) String() string
- type RolloutSegment
- func (*RolloutSegment) Descriptor() ([]byte, []int)deprecated
- func (x *RolloutSegment) GetSegmentKey() stringdeprecated
- func (x *RolloutSegment) GetSegmentKeys() []string
- func (x *RolloutSegment) GetSegmentOperator() SegmentOperator
- func (x *RolloutSegment) GetValue() bool
- func (*RolloutSegment) ProtoMessage()
- func (x *RolloutSegment) ProtoReflect() protoreflect.Message
- func (x *RolloutSegment) Reset()
- func (x *RolloutSegment) String() string
- type RolloutThreshold
- func (*RolloutThreshold) Descriptor() ([]byte, []int)deprecated
- func (x *RolloutThreshold) GetPercentage() float32
- func (x *RolloutThreshold) GetValue() bool
- func (*RolloutThreshold) ProtoMessage()
- func (x *RolloutThreshold) ProtoReflect() protoreflect.Message
- func (x *RolloutThreshold) Reset()
- func (x *RolloutThreshold) String() string
- type RolloutType
- func (RolloutType) Descriptor() protoreflect.EnumDescriptor
- func (x RolloutType) Enum() *RolloutType
- func (RolloutType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RolloutType) Number() protoreflect.EnumNumber
- func (x RolloutType) String() string
- func (RolloutType) Type() protoreflect.EnumType
- type Rollout_Segment
- type Rollout_Threshold
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetCreatedAt() *timestamppb.Timestamp
- func (x *Rule) GetDistributions() []*Distribution
- func (x *Rule) GetFlagKey() string
- func (x *Rule) GetId() string
- func (x *Rule) GetNamespaceKey() string
- func (x *Rule) GetRank() int32
- func (x *Rule) GetSegmentKey() string
- func (x *Rule) GetSegmentKeys() []string
- func (x *Rule) GetSegmentOperator() SegmentOperator
- func (x *Rule) GetUpdatedAt() *timestamppb.Timestamp
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type RuleList
- func (*RuleList) Descriptor() ([]byte, []int)deprecated
- func (x *RuleList) GetNextPageToken() string
- func (x *RuleList) GetRules() []*Rule
- func (x *RuleList) GetTotalCount() int32
- func (*RuleList) ProtoMessage()
- func (x *RuleList) ProtoReflect() protoreflect.Message
- func (x *RuleList) Reset()
- func (x *RuleList) String() string
- type Segment
- func (*Segment) Descriptor() ([]byte, []int)deprecated
- func (x *Segment) GetConstraints() []*Constraint
- func (x *Segment) GetCreatedAt() *timestamppb.Timestamp
- func (x *Segment) GetDescription() string
- func (x *Segment) GetKey() string
- func (x *Segment) GetMatchType() MatchType
- func (x *Segment) GetName() string
- func (x *Segment) GetNamespaceKey() string
- func (x *Segment) GetUpdatedAt() *timestamppb.Timestamp
- func (*Segment) ProtoMessage()
- func (x *Segment) ProtoReflect() protoreflect.Message
- func (x *Segment) Reset()
- func (x *Segment) String() string
- type SegmentList
- func (*SegmentList) Descriptor() ([]byte, []int)deprecated
- func (x *SegmentList) GetNextPageToken() string
- func (x *SegmentList) GetSegments() []*Segment
- func (x *SegmentList) GetTotalCount() int32
- func (*SegmentList) ProtoMessage()
- func (x *SegmentList) ProtoReflect() protoreflect.Message
- func (x *SegmentList) Reset()
- func (x *SegmentList) String() string
- type SegmentOperator
- func (SegmentOperator) Descriptor() protoreflect.EnumDescriptor
- func (x SegmentOperator) Enum() *SegmentOperator
- func (SegmentOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x SegmentOperator) Number() protoreflect.EnumNumber
- func (x SegmentOperator) String() string
- func (SegmentOperator) Type() protoreflect.EnumType
- type UnimplementedFliptServer
- func (UnimplementedFliptServer) BatchEvaluate(context.Context, *BatchEvaluationRequest) (*BatchEvaluationResponse, error)
- func (UnimplementedFliptServer) CreateConstraint(context.Context, *CreateConstraintRequest) (*Constraint, error)
- func (UnimplementedFliptServer) CreateDistribution(context.Context, *CreateDistributionRequest) (*Distribution, error)
- func (UnimplementedFliptServer) CreateFlag(context.Context, *CreateFlagRequest) (*Flag, error)
- func (UnimplementedFliptServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error)
- func (UnimplementedFliptServer) CreateRollout(context.Context, *CreateRolloutRequest) (*Rollout, error)
- func (UnimplementedFliptServer) CreateRule(context.Context, *CreateRuleRequest) (*Rule, error)
- func (UnimplementedFliptServer) CreateSegment(context.Context, *CreateSegmentRequest) (*Segment, error)
- func (UnimplementedFliptServer) CreateVariant(context.Context, *CreateVariantRequest) (*Variant, error)
- func (UnimplementedFliptServer) DeleteConstraint(context.Context, *DeleteConstraintRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) DeleteDistribution(context.Context, *DeleteDistributionRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) DeleteFlag(context.Context, *DeleteFlagRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) DeleteRollout(context.Context, *DeleteRolloutRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) DeleteRule(context.Context, *DeleteRuleRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) DeleteSegment(context.Context, *DeleteSegmentRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) DeleteVariant(context.Context, *DeleteVariantRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) Evaluate(context.Context, *EvaluationRequest) (*EvaluationResponse, error)
- func (UnimplementedFliptServer) GetFlag(context.Context, *GetFlagRequest) (*Flag, error)
- func (UnimplementedFliptServer) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error)
- func (UnimplementedFliptServer) GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error)
- func (UnimplementedFliptServer) GetRule(context.Context, *GetRuleRequest) (*Rule, error)
- func (UnimplementedFliptServer) GetSegment(context.Context, *GetSegmentRequest) (*Segment, error)
- func (UnimplementedFliptServer) ListFlags(context.Context, *ListFlagRequest) (*FlagList, error)
- func (UnimplementedFliptServer) ListNamespaces(context.Context, *ListNamespaceRequest) (*NamespaceList, error)
- func (UnimplementedFliptServer) ListRollouts(context.Context, *ListRolloutRequest) (*RolloutList, error)
- func (UnimplementedFliptServer) ListRules(context.Context, *ListRuleRequest) (*RuleList, error)
- func (UnimplementedFliptServer) ListSegments(context.Context, *ListSegmentRequest) (*SegmentList, error)
- func (UnimplementedFliptServer) OrderRollouts(context.Context, *OrderRolloutsRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) OrderRules(context.Context, *OrderRulesRequest) (*emptypb.Empty, error)
- func (UnimplementedFliptServer) UpdateConstraint(context.Context, *UpdateConstraintRequest) (*Constraint, error)
- func (UnimplementedFliptServer) UpdateDistribution(context.Context, *UpdateDistributionRequest) (*Distribution, error)
- func (UnimplementedFliptServer) UpdateFlag(context.Context, *UpdateFlagRequest) (*Flag, error)
- func (UnimplementedFliptServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error)
- func (UnimplementedFliptServer) UpdateRollout(context.Context, *UpdateRolloutRequest) (*Rollout, error)
- func (UnimplementedFliptServer) UpdateRule(context.Context, *UpdateRuleRequest) (*Rule, error)
- func (UnimplementedFliptServer) UpdateSegment(context.Context, *UpdateSegmentRequest) (*Segment, error)
- func (UnimplementedFliptServer) UpdateVariant(context.Context, *UpdateVariantRequest) (*Variant, error)
- type UnsafeFliptServer
- type UpdateConstraintRequest
- func (*UpdateConstraintRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConstraintRequest) GetDescription() string
- func (x *UpdateConstraintRequest) GetId() string
- func (x *UpdateConstraintRequest) GetNamespaceKey() string
- func (x *UpdateConstraintRequest) GetOperator() string
- func (x *UpdateConstraintRequest) GetProperty() string
- func (x *UpdateConstraintRequest) GetSegmentKey() string
- func (x *UpdateConstraintRequest) GetType() ComparisonType
- func (x *UpdateConstraintRequest) GetValue() string
- func (*UpdateConstraintRequest) ProtoMessage()
- func (x *UpdateConstraintRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConstraintRequest) Reset()
- func (x *UpdateConstraintRequest) String() string
- func (req *UpdateConstraintRequest) Validate() error
- type UpdateDistributionRequest
- func (*UpdateDistributionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDistributionRequest) GetFlagKey() string
- func (x *UpdateDistributionRequest) GetId() string
- func (x *UpdateDistributionRequest) GetNamespaceKey() string
- func (x *UpdateDistributionRequest) GetRollout() float32
- func (x *UpdateDistributionRequest) GetRuleId() string
- func (x *UpdateDistributionRequest) GetVariantId() string
- func (*UpdateDistributionRequest) ProtoMessage()
- func (x *UpdateDistributionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDistributionRequest) Reset()
- func (x *UpdateDistributionRequest) String() string
- func (req *UpdateDistributionRequest) Validate() error
- type UpdateFlagRequest
- func (*UpdateFlagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFlagRequest) GetDescription() string
- func (x *UpdateFlagRequest) GetEnabled() bool
- func (x *UpdateFlagRequest) GetKey() string
- func (x *UpdateFlagRequest) GetName() string
- func (x *UpdateFlagRequest) GetNamespaceKey() string
- func (*UpdateFlagRequest) ProtoMessage()
- func (x *UpdateFlagRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFlagRequest) Reset()
- func (x *UpdateFlagRequest) String() string
- func (req *UpdateFlagRequest) Validate() error
- type UpdateNamespaceRequest
- func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNamespaceRequest) GetDescription() string
- func (x *UpdateNamespaceRequest) GetKey() string
- func (x *UpdateNamespaceRequest) GetName() string
- func (req *UpdateNamespaceRequest) GetNamespaceKey() string
- func (*UpdateNamespaceRequest) ProtoMessage()
- func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNamespaceRequest) Reset()
- func (x *UpdateNamespaceRequest) String() string
- func (req *UpdateNamespaceRequest) Validate() error
- type UpdateRolloutRequest
- func (*UpdateRolloutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRolloutRequest) GetDescription() string
- func (x *UpdateRolloutRequest) GetFlagKey() string
- func (x *UpdateRolloutRequest) GetId() string
- func (x *UpdateRolloutRequest) GetNamespaceKey() string
- func (m *UpdateRolloutRequest) GetRule() isUpdateRolloutRequest_Rule
- func (x *UpdateRolloutRequest) GetSegment() *RolloutSegment
- func (x *UpdateRolloutRequest) GetThreshold() *RolloutThreshold
- func (*UpdateRolloutRequest) ProtoMessage()
- func (x *UpdateRolloutRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRolloutRequest) Reset()
- func (x *UpdateRolloutRequest) String() string
- func (req *UpdateRolloutRequest) Validate() error
- type UpdateRolloutRequest_Segment
- type UpdateRolloutRequest_Threshold
- type UpdateRuleRequest
- func (*UpdateRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuleRequest) GetFlagKey() string
- func (x *UpdateRuleRequest) GetId() string
- func (x *UpdateRuleRequest) GetNamespaceKey() string
- func (x *UpdateRuleRequest) GetSegmentKey() stringdeprecated
- func (x *UpdateRuleRequest) GetSegmentKeys() []string
- func (x *UpdateRuleRequest) GetSegmentOperator() SegmentOperator
- func (*UpdateRuleRequest) ProtoMessage()
- func (x *UpdateRuleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRuleRequest) Reset()
- func (x *UpdateRuleRequest) String() string
- func (req *UpdateRuleRequest) Validate() error
- type UpdateSegmentRequest
- func (*UpdateSegmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSegmentRequest) GetDescription() string
- func (x *UpdateSegmentRequest) GetKey() string
- func (x *UpdateSegmentRequest) GetMatchType() MatchType
- func (x *UpdateSegmentRequest) GetName() string
- func (x *UpdateSegmentRequest) GetNamespaceKey() string
- func (*UpdateSegmentRequest) ProtoMessage()
- func (x *UpdateSegmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSegmentRequest) Reset()
- func (x *UpdateSegmentRequest) String() string
- func (req *UpdateSegmentRequest) Validate() error
- type UpdateVariantRequest
- func (*UpdateVariantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVariantRequest) GetAttachment() string
- func (x *UpdateVariantRequest) GetDescription() string
- func (x *UpdateVariantRequest) GetFlagKey() string
- func (x *UpdateVariantRequest) GetId() string
- func (x *UpdateVariantRequest) GetKey() string
- func (x *UpdateVariantRequest) GetName() string
- func (x *UpdateVariantRequest) GetNamespaceKey() string
- func (*UpdateVariantRequest) ProtoMessage()
- func (x *UpdateVariantRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVariantRequest) Reset()
- func (x *UpdateVariantRequest) String() string
- func (req *UpdateVariantRequest) Validate() error
- type V1toV2MarshallerAdapter
- func (m *V1toV2MarshallerAdapter) ContentType(_ interface{}) string
- func (m *V1toV2MarshallerAdapter) Marshal(v interface{}) ([]byte, error)
- func (m *V1toV2MarshallerAdapter) NewDecoder(r io.Reader) grpc_gateway_v2.Decoder
- func (m *V1toV2MarshallerAdapter) NewEncoder(w io.Writer) grpc_gateway_v2.Encoder
- type Validator
- type Variant
- func (*Variant) Descriptor() ([]byte, []int)deprecated
- func (x *Variant) GetAttachment() string
- func (x *Variant) GetCreatedAt() *timestamppb.Timestamp
- func (x *Variant) GetDescription() string
- func (x *Variant) GetFlagKey() string
- func (x *Variant) GetId() string
- func (x *Variant) GetKey() string
- func (x *Variant) GetName() string
- func (x *Variant) GetNamespaceKey() string
- func (x *Variant) GetUpdatedAt() *timestamppb.Timestamp
- func (*Variant) ProtoMessage()
- func (x *Variant) ProtoReflect() protoreflect.Message
- func (x *Variant) Reset()
- func (x *Variant) String() string
Constants ¶
const ( Flipt_Evaluate_FullMethodName = "/flipt.Flipt/Evaluate" Flipt_BatchEvaluate_FullMethodName = "/flipt.Flipt/BatchEvaluate" Flipt_GetNamespace_FullMethodName = "/flipt.Flipt/GetNamespace" Flipt_ListNamespaces_FullMethodName = "/flipt.Flipt/ListNamespaces" Flipt_CreateNamespace_FullMethodName = "/flipt.Flipt/CreateNamespace" Flipt_UpdateNamespace_FullMethodName = "/flipt.Flipt/UpdateNamespace" Flipt_DeleteNamespace_FullMethodName = "/flipt.Flipt/DeleteNamespace" Flipt_GetFlag_FullMethodName = "/flipt.Flipt/GetFlag" Flipt_ListFlags_FullMethodName = "/flipt.Flipt/ListFlags" Flipt_CreateFlag_FullMethodName = "/flipt.Flipt/CreateFlag" Flipt_UpdateFlag_FullMethodName = "/flipt.Flipt/UpdateFlag" Flipt_DeleteFlag_FullMethodName = "/flipt.Flipt/DeleteFlag" Flipt_CreateVariant_FullMethodName = "/flipt.Flipt/CreateVariant" Flipt_UpdateVariant_FullMethodName = "/flipt.Flipt/UpdateVariant" Flipt_DeleteVariant_FullMethodName = "/flipt.Flipt/DeleteVariant" Flipt_GetRule_FullMethodName = "/flipt.Flipt/GetRule" Flipt_ListRules_FullMethodName = "/flipt.Flipt/ListRules" Flipt_CreateRule_FullMethodName = "/flipt.Flipt/CreateRule" Flipt_UpdateRule_FullMethodName = "/flipt.Flipt/UpdateRule" Flipt_OrderRules_FullMethodName = "/flipt.Flipt/OrderRules" Flipt_DeleteRule_FullMethodName = "/flipt.Flipt/DeleteRule" Flipt_GetRollout_FullMethodName = "/flipt.Flipt/GetRollout" Flipt_ListRollouts_FullMethodName = "/flipt.Flipt/ListRollouts" Flipt_CreateRollout_FullMethodName = "/flipt.Flipt/CreateRollout" Flipt_UpdateRollout_FullMethodName = "/flipt.Flipt/UpdateRollout" Flipt_DeleteRollout_FullMethodName = "/flipt.Flipt/DeleteRollout" Flipt_OrderRollouts_FullMethodName = "/flipt.Flipt/OrderRollouts" Flipt_CreateDistribution_FullMethodName = "/flipt.Flipt/CreateDistribution" Flipt_UpdateDistribution_FullMethodName = "/flipt.Flipt/UpdateDistribution" Flipt_DeleteDistribution_FullMethodName = "/flipt.Flipt/DeleteDistribution" Flipt_GetSegment_FullMethodName = "/flipt.Flipt/GetSegment" Flipt_ListSegments_FullMethodName = "/flipt.Flipt/ListSegments" Flipt_CreateSegment_FullMethodName = "/flipt.Flipt/CreateSegment" Flipt_UpdateSegment_FullMethodName = "/flipt.Flipt/UpdateSegment" Flipt_DeleteSegment_FullMethodName = "/flipt.Flipt/DeleteSegment" Flipt_CreateConstraint_FullMethodName = "/flipt.Flipt/CreateConstraint" Flipt_UpdateConstraint_FullMethodName = "/flipt.Flipt/UpdateConstraint" Flipt_DeleteConstraint_FullMethodName = "/flipt.Flipt/DeleteConstraint" )
const ( OpEQ = "eq" OpNEQ = "neq" OpLT = "lt" OpLTE = "lte" OpGT = "gt" OpGTE = "gte" OpEmpty = "empty" OpNotEmpty = "notempty" OpTrue = "true" OpFalse = "false" OpPresent = "present" OpNotPresent = "notpresent" OpPrefix = "prefix" OpSuffix = "suffix" OpIsOneOf = "isoneof" OpIsNotOneOf = "isnotoneof" )
const DefaultNamespace = "default"
const MAX_JSON_ARRAY_ITEMS = 100
Variables ¶
var ( EvaluationReason_name = map[int32]string{ 0: "UNKNOWN_EVALUATION_REASON", 1: "FLAG_DISABLED_EVALUATION_REASON", 2: "FLAG_NOT_FOUND_EVALUATION_REASON", 3: "MATCH_EVALUATION_REASON", 4: "ERROR_EVALUATION_REASON", } EvaluationReason_value = map[string]int32{ "UNKNOWN_EVALUATION_REASON": 0, "FLAG_DISABLED_EVALUATION_REASON": 1, "FLAG_NOT_FOUND_EVALUATION_REASON": 2, "MATCH_EVALUATION_REASON": 3, "ERROR_EVALUATION_REASON": 4, } )
Enum value maps for EvaluationReason.
var ( FlagType_name = map[int32]string{ 0: "VARIANT_FLAG_TYPE", 1: "BOOLEAN_FLAG_TYPE", } FlagType_value = map[string]int32{ "VARIANT_FLAG_TYPE": 0, "BOOLEAN_FLAG_TYPE": 1, } )
Enum value maps for FlagType.
var ( MatchType_name = map[int32]string{ 0: "ALL_MATCH_TYPE", 1: "ANY_MATCH_TYPE", } MatchType_value = map[string]int32{ "ALL_MATCH_TYPE": 0, "ANY_MATCH_TYPE": 1, } )
Enum value maps for MatchType.
var ( ComparisonType_name = map[int32]string{ 0: "UNKNOWN_COMPARISON_TYPE", 1: "STRING_COMPARISON_TYPE", 2: "NUMBER_COMPARISON_TYPE", 3: "BOOLEAN_COMPARISON_TYPE", 4: "DATETIME_COMPARISON_TYPE", 5: "ENTITY_ID_COMPARISON_TYPE", } ComparisonType_value = map[string]int32{ "UNKNOWN_COMPARISON_TYPE": 0, "STRING_COMPARISON_TYPE": 1, "NUMBER_COMPARISON_TYPE": 2, "BOOLEAN_COMPARISON_TYPE": 3, "DATETIME_COMPARISON_TYPE": 4, "ENTITY_ID_COMPARISON_TYPE": 5, } )
Enum value maps for ComparisonType.
var ( RolloutType_name = map[int32]string{ 0: "UNKNOWN_ROLLOUT_TYPE", 1: "SEGMENT_ROLLOUT_TYPE", 2: "THRESHOLD_ROLLOUT_TYPE", } RolloutType_value = map[string]int32{ "UNKNOWN_ROLLOUT_TYPE": 0, "SEGMENT_ROLLOUT_TYPE": 1, "THRESHOLD_ROLLOUT_TYPE": 2, } )
Enum value maps for RolloutType.
var ( SegmentOperator_name = map[int32]string{ 0: "OR_SEGMENT_OPERATOR", 1: "AND_SEGMENT_OPERATOR", } SegmentOperator_value = map[string]int32{ "OR_SEGMENT_OPERATOR": 0, "AND_SEGMENT_OPERATOR": 1, } )
Enum value maps for SegmentOperator.
var ( ValidOperators = map[string]struct{}{ OpEQ: {}, OpNEQ: {}, OpLT: {}, OpLTE: {}, OpGT: {}, OpGTE: {}, OpEmpty: {}, OpNotEmpty: {}, OpTrue: {}, OpFalse: {}, OpPresent: {}, OpNotPresent: {}, OpPrefix: {}, OpSuffix: {}, OpIsOneOf: {}, OpIsNotOneOf: {}, } NoValueOperators = map[string]struct{}{ OpTrue: {}, OpFalse: {}, OpEmpty: {}, OpNotEmpty: {}, OpPresent: {}, OpNotPresent: {}, } StringOperators = map[string]struct{}{ OpEQ: {}, OpNEQ: {}, OpEmpty: {}, OpNotEmpty: {}, OpPrefix: {}, OpSuffix: {}, OpIsOneOf: {}, OpIsNotOneOf: {}, } NumberOperators = map[string]struct{}{ OpEQ: {}, OpNEQ: {}, OpLT: {}, OpLTE: {}, OpGT: {}, OpGTE: {}, OpPresent: {}, OpNotPresent: {}, OpIsOneOf: {}, OpIsNotOneOf: {}, } BooleanOperators = map[string]struct{}{ OpTrue: {}, OpFalse: {}, OpPresent: {}, OpNotPresent: {}, } EntityIdOperators = map[string]struct{}{ OpEQ: {}, OpNEQ: {}, OpIsOneOf: {}, OpIsNotOneOf: {}, } )
var File_flipt_proto protoreflect.FileDescriptor
var Flipt_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipt.Flipt", HandlerType: (*FliptServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Evaluate", Handler: _Flipt_Evaluate_Handler, }, { MethodName: "BatchEvaluate", Handler: _Flipt_BatchEvaluate_Handler, }, { MethodName: "GetNamespace", Handler: _Flipt_GetNamespace_Handler, }, { MethodName: "ListNamespaces", Handler: _Flipt_ListNamespaces_Handler, }, { MethodName: "CreateNamespace", Handler: _Flipt_CreateNamespace_Handler, }, { MethodName: "UpdateNamespace", Handler: _Flipt_UpdateNamespace_Handler, }, { MethodName: "DeleteNamespace", Handler: _Flipt_DeleteNamespace_Handler, }, { MethodName: "GetFlag", Handler: _Flipt_GetFlag_Handler, }, { MethodName: "ListFlags", Handler: _Flipt_ListFlags_Handler, }, { MethodName: "CreateFlag", Handler: _Flipt_CreateFlag_Handler, }, { MethodName: "UpdateFlag", Handler: _Flipt_UpdateFlag_Handler, }, { MethodName: "DeleteFlag", Handler: _Flipt_DeleteFlag_Handler, }, { MethodName: "CreateVariant", Handler: _Flipt_CreateVariant_Handler, }, { MethodName: "UpdateVariant", Handler: _Flipt_UpdateVariant_Handler, }, { MethodName: "DeleteVariant", Handler: _Flipt_DeleteVariant_Handler, }, { MethodName: "GetRule", Handler: _Flipt_GetRule_Handler, }, { MethodName: "ListRules", Handler: _Flipt_ListRules_Handler, }, { MethodName: "CreateRule", Handler: _Flipt_CreateRule_Handler, }, { MethodName: "UpdateRule", Handler: _Flipt_UpdateRule_Handler, }, { MethodName: "OrderRules", Handler: _Flipt_OrderRules_Handler, }, { MethodName: "DeleteRule", Handler: _Flipt_DeleteRule_Handler, }, { MethodName: "GetRollout", Handler: _Flipt_GetRollout_Handler, }, { MethodName: "ListRollouts", Handler: _Flipt_ListRollouts_Handler, }, { MethodName: "CreateRollout", Handler: _Flipt_CreateRollout_Handler, }, { MethodName: "UpdateRollout", Handler: _Flipt_UpdateRollout_Handler, }, { MethodName: "DeleteRollout", Handler: _Flipt_DeleteRollout_Handler, }, { MethodName: "OrderRollouts", Handler: _Flipt_OrderRollouts_Handler, }, { MethodName: "CreateDistribution", Handler: _Flipt_CreateDistribution_Handler, }, { MethodName: "UpdateDistribution", Handler: _Flipt_UpdateDistribution_Handler, }, { MethodName: "DeleteDistribution", Handler: _Flipt_DeleteDistribution_Handler, }, { MethodName: "GetSegment", Handler: _Flipt_GetSegment_Handler, }, { MethodName: "ListSegments", Handler: _Flipt_ListSegments_Handler, }, { MethodName: "CreateSegment", Handler: _Flipt_CreateSegment_Handler, }, { MethodName: "UpdateSegment", Handler: _Flipt_UpdateSegment_Handler, }, { MethodName: "DeleteSegment", Handler: _Flipt_DeleteSegment_Handler, }, { MethodName: "CreateConstraint", Handler: _Flipt_CreateConstraint_Handler, }, { MethodName: "UpdateConstraint", Handler: _Flipt_UpdateConstraint_Handler, }, { MethodName: "DeleteConstraint", Handler: _Flipt_DeleteConstraint_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "flipt.proto", }
Flipt_ServiceDesc is the grpc.ServiceDesc for Flipt service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func Now ¶ added in v1.35.0
func Now() *timestamppb.Timestamp
Now returns a timestamppb.Time pointer which is rounded to microsecond precision. This is enough for Flipts purposes and the lowest common denominator for the various backends.
func RegisterFliptHandler ¶
RegisterFliptHandler registers the http handlers for service Flipt to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterFliptHandlerClient ¶
func RegisterFliptHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FliptClient) error
RegisterFliptHandlerClient registers the http handlers for service Flipt to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FliptClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FliptClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FliptClient" to call the correct interceptors.
func RegisterFliptHandlerFromEndpoint ¶
func RegisterFliptHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterFliptHandlerFromEndpoint is same as RegisterFliptHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterFliptHandlerServer ¶
func RegisterFliptHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FliptServer) error
RegisterFliptHandlerServer registers the http handlers for service Flipt to "mux". UnaryRPC :call FliptServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterFliptHandlerFromEndpoint instead.
func RegisterFliptServer ¶
func RegisterFliptServer(s grpc.ServiceRegistrar, srv FliptServer)
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,2,rep,name=requests,proto3" json:"requests,omitempty"` ExcludeNotFound bool `protobuf:"varint,3,opt,name=exclude_not_found,json=excludeNotFound,proto3" json:"exclude_not_found,omitempty"` NamespaceKey string `protobuf:"bytes,4,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*BatchEvaluationRequest) Descriptor
deprecated
func (*BatchEvaluationRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchEvaluationRequest.ProtoReflect.Descriptor instead.
func (*BatchEvaluationRequest) GetExcludeNotFound ¶
func (x *BatchEvaluationRequest) GetExcludeNotFound() bool
func (*BatchEvaluationRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *BatchEvaluationRequest) GetNamespaceKey() string
func (*BatchEvaluationRequest) GetNamespaceKeys ¶ added in v1.31.0
func (x *BatchEvaluationRequest) GetNamespaceKeys() (keys []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) SetRequestIDIfNotBlank ¶ added in v1.24.0
func (x *BatchEvaluationRequest) SetRequestIDIfNotBlank(id string) string
SetRequestIDIfNotBlank attempts to set the provided ID on the instance If the ID was blank, it returns the ID provided to this call. If the ID was not blank, it returns the ID found on the instance.
func (*BatchEvaluationRequest) String ¶
func (x *BatchEvaluationRequest) String() string
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) Descriptor
deprecated
func (*BatchEvaluationResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchEvaluationResponse.ProtoReflect.Descriptor instead.
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) SetRequestIDIfNotBlank ¶ added in v1.24.0
func (x *BatchEvaluationResponse) SetRequestIDIfNotBlank(id string) string
SetRequestIDIfNotBlank attempts to set the provided ID on the instance If the ID was blank, it returns the ID provided to this call. If the ID was not blank, it returns the ID found on the instance.
func (*BatchEvaluationResponse) SetTimestamps ¶ added in v1.24.0
func (x *BatchEvaluationResponse) SetTimestamps(start, end time.Time)
SetTimestamps records the start and end times on the target instance.
func (*BatchEvaluationResponse) String ¶
func (x *BatchEvaluationResponse) String() string
type BatchNamespaced ¶ added in v1.31.0
type BatchNamespaced interface {
GetNamespaceKeys() []string
}
type ComparisonType ¶
type ComparisonType int32
const ( ComparisonType_UNKNOWN_COMPARISON_TYPE ComparisonType = 0 ComparisonType_STRING_COMPARISON_TYPE ComparisonType = 1 ComparisonType_NUMBER_COMPARISON_TYPE ComparisonType = 2 ComparisonType_BOOLEAN_COMPARISON_TYPE ComparisonType = 3 ComparisonType_DATETIME_COMPARISON_TYPE ComparisonType = 4 ComparisonType_ENTITY_ID_COMPARISON_TYPE ComparisonType = 5 )
func (ComparisonType) Descriptor ¶
func (ComparisonType) Descriptor() protoreflect.EnumDescriptor
func (ComparisonType) Enum ¶
func (x ComparisonType) Enum() *ComparisonType
func (ComparisonType) EnumDescriptor
deprecated
func (ComparisonType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComparisonType.Descriptor instead.
func (ComparisonType) Number ¶
func (x ComparisonType) Number() protoreflect.EnumNumber
func (ComparisonType) String ¶
func (x ComparisonType) String() string
func (ComparisonType) Type ¶
func (ComparisonType) Type() protoreflect.EnumType
type Constraint ¶
type Constraint struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SegmentKey string `protobuf:"bytes,2,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` Type ComparisonType `protobuf:"varint,3,opt,name=type,proto3,enum=flipt.ComparisonType" json:"type,omitempty"` Property string `protobuf:"bytes,4,opt,name=property,proto3" json:"property,omitempty"` Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"` Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` NamespaceKey string `protobuf:"bytes,9,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Constraint) Descriptor
deprecated
func (*Constraint) Descriptor() ([]byte, []int)
Deprecated: Use Constraint.ProtoReflect.Descriptor instead.
func (*Constraint) GetCreatedAt ¶
func (x *Constraint) GetCreatedAt() *timestamppb.Timestamp
func (*Constraint) GetDescription ¶ added in v1.22.0
func (x *Constraint) GetDescription() string
func (*Constraint) GetId ¶
func (x *Constraint) GetId() string
func (*Constraint) GetNamespaceKey ¶ added in v1.20.0
func (x *Constraint) GetNamespaceKey() string
func (*Constraint) GetOperator ¶
func (x *Constraint) GetOperator() string
func (*Constraint) GetProperty ¶
func (x *Constraint) GetProperty() string
func (*Constraint) GetSegmentKey ¶
func (x *Constraint) GetSegmentKey() string
func (*Constraint) GetType ¶
func (x *Constraint) GetType() ComparisonType
func (*Constraint) GetUpdatedAt ¶
func (x *Constraint) GetUpdatedAt() *timestamppb.Timestamp
func (*Constraint) GetValue ¶
func (x *Constraint) GetValue() string
func (*Constraint) ProtoMessage ¶
func (*Constraint) ProtoMessage()
func (*Constraint) ProtoReflect ¶
func (x *Constraint) ProtoReflect() protoreflect.Message
func (*Constraint) Reset ¶
func (x *Constraint) Reset()
func (*Constraint) String ¶
func (x *Constraint) String() string
type CreateConstraintRequest ¶
type CreateConstraintRequest struct { SegmentKey string `protobuf:"bytes,1,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` Type ComparisonType `protobuf:"varint,2,opt,name=type,proto3,enum=flipt.ComparisonType" 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"` NamespaceKey string `protobuf:"bytes,6,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateConstraintRequest) Descriptor
deprecated
func (*CreateConstraintRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConstraintRequest.ProtoReflect.Descriptor instead.
func (*CreateConstraintRequest) GetDescription ¶ added in v1.22.0
func (x *CreateConstraintRequest) GetDescription() string
func (*CreateConstraintRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *CreateConstraintRequest) GetNamespaceKey() string
func (*CreateConstraintRequest) GetOperator ¶
func (x *CreateConstraintRequest) GetOperator() string
func (*CreateConstraintRequest) GetProperty ¶
func (x *CreateConstraintRequest) GetProperty() string
func (*CreateConstraintRequest) GetSegmentKey ¶
func (x *CreateConstraintRequest) GetSegmentKey() string
func (*CreateConstraintRequest) GetType ¶
func (x *CreateConstraintRequest) GetType() ComparisonType
func (*CreateConstraintRequest) GetValue ¶
func (x *CreateConstraintRequest) GetValue() string
func (*CreateConstraintRequest) ProtoMessage ¶
func (*CreateConstraintRequest) ProtoMessage()
func (*CreateConstraintRequest) ProtoReflect ¶
func (x *CreateConstraintRequest) ProtoReflect() protoreflect.Message
func (*CreateConstraintRequest) Reset ¶
func (x *CreateConstraintRequest) Reset()
func (*CreateConstraintRequest) String ¶
func (x *CreateConstraintRequest) String() string
func (*CreateConstraintRequest) Validate ¶
func (req *CreateConstraintRequest) Validate() error
type CreateDistributionRequest ¶
type CreateDistributionRequest struct { FlagKey string `protobuf:"bytes,1,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,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"` Rollout float32 `protobuf:"fixed32,4,opt,name=rollout,proto3" json:"rollout,omitempty"` NamespaceKey string `protobuf:"bytes,5,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*CreateDistributionRequest) Descriptor
deprecated
func (*CreateDistributionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDistributionRequest.ProtoReflect.Descriptor instead.
func (*CreateDistributionRequest) GetFlagKey ¶
func (x *CreateDistributionRequest) GetFlagKey() string
func (*CreateDistributionRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *CreateDistributionRequest) GetNamespaceKey() string
func (*CreateDistributionRequest) GetRollout ¶
func (x *CreateDistributionRequest) GetRollout() float32
func (*CreateDistributionRequest) GetRuleId ¶
func (x *CreateDistributionRequest) GetRuleId() string
func (*CreateDistributionRequest) GetVariantId ¶
func (x *CreateDistributionRequest) GetVariantId() string
func (*CreateDistributionRequest) ProtoMessage ¶
func (*CreateDistributionRequest) ProtoMessage()
func (*CreateDistributionRequest) ProtoReflect ¶
func (x *CreateDistributionRequest) ProtoReflect() protoreflect.Message
func (*CreateDistributionRequest) Reset ¶
func (x *CreateDistributionRequest) Reset()
func (*CreateDistributionRequest) String ¶
func (x *CreateDistributionRequest) String() string
func (*CreateDistributionRequest) Validate ¶
func (req *CreateDistributionRequest) Validate() error
type CreateFlagRequest ¶
type CreateFlagRequest 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"` NamespaceKey string `protobuf:"bytes,5,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Type FlagType `protobuf:"varint,6,opt,name=type,proto3,enum=flipt.FlagType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CreateFlagRequest) Descriptor
deprecated
func (*CreateFlagRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFlagRequest.ProtoReflect.Descriptor instead.
func (*CreateFlagRequest) GetDescription ¶
func (x *CreateFlagRequest) GetDescription() string
func (*CreateFlagRequest) GetEnabled ¶
func (x *CreateFlagRequest) GetEnabled() bool
func (*CreateFlagRequest) GetKey ¶
func (x *CreateFlagRequest) GetKey() string
func (*CreateFlagRequest) GetName ¶
func (x *CreateFlagRequest) GetName() string
func (*CreateFlagRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *CreateFlagRequest) GetNamespaceKey() string
func (*CreateFlagRequest) GetType ¶ added in v1.24.0
func (x *CreateFlagRequest) GetType() FlagType
func (*CreateFlagRequest) ProtoMessage ¶
func (*CreateFlagRequest) ProtoMessage()
func (*CreateFlagRequest) ProtoReflect ¶
func (x *CreateFlagRequest) ProtoReflect() protoreflect.Message
func (*CreateFlagRequest) Reset ¶
func (x *CreateFlagRequest) Reset()
func (*CreateFlagRequest) String ¶
func (x *CreateFlagRequest) String() string
func (*CreateFlagRequest) Validate ¶
func (req *CreateFlagRequest) Validate() error
type CreateNamespaceRequest ¶ added in v1.20.0
type CreateNamespaceRequest 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"` // contains filtered or unexported fields }
func (*CreateNamespaceRequest) Descriptor
deprecated
added in
v1.20.0
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRequest) GetDescription ¶ added in v1.20.0
func (x *CreateNamespaceRequest) GetDescription() string
func (*CreateNamespaceRequest) GetKey ¶ added in v1.20.0
func (x *CreateNamespaceRequest) GetKey() string
func (*CreateNamespaceRequest) GetName ¶ added in v1.20.0
func (x *CreateNamespaceRequest) GetName() string
func (*CreateNamespaceRequest) GetNamespaceKey ¶ added in v1.31.0
func (req *CreateNamespaceRequest) GetNamespaceKey() string
func (*CreateNamespaceRequest) ProtoMessage ¶ added in v1.20.0
func (*CreateNamespaceRequest) ProtoMessage()
func (*CreateNamespaceRequest) ProtoReflect ¶ added in v1.20.0
func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRequest) Reset ¶ added in v1.20.0
func (x *CreateNamespaceRequest) Reset()
func (*CreateNamespaceRequest) String ¶ added in v1.20.0
func (x *CreateNamespaceRequest) String() string
func (*CreateNamespaceRequest) Validate ¶ added in v1.20.0
func (req *CreateNamespaceRequest) Validate() error
Namespaces
type CreateRolloutRequest ¶ added in v1.24.0
type CreateRolloutRequest struct { NamespaceKey string `protobuf:"bytes,1,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Types that are assignable to Rule: // // *CreateRolloutRequest_Segment // *CreateRolloutRequest_Threshold Rule isCreateRolloutRequest_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
func (*CreateRolloutRequest) Descriptor
deprecated
added in
v1.24.0
func (*CreateRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRolloutRequest.ProtoReflect.Descriptor instead.
func (*CreateRolloutRequest) GetDescription ¶ added in v1.24.0
func (x *CreateRolloutRequest) GetDescription() string
func (*CreateRolloutRequest) GetFlagKey ¶ added in v1.24.0
func (x *CreateRolloutRequest) GetFlagKey() string
func (*CreateRolloutRequest) GetNamespaceKey ¶ added in v1.24.0
func (x *CreateRolloutRequest) GetNamespaceKey() string
func (*CreateRolloutRequest) GetRank ¶ added in v1.24.0
func (x *CreateRolloutRequest) GetRank() int32
func (*CreateRolloutRequest) GetRule ¶ added in v1.24.0
func (m *CreateRolloutRequest) GetRule() isCreateRolloutRequest_Rule
func (*CreateRolloutRequest) GetSegment ¶ added in v1.24.0
func (x *CreateRolloutRequest) GetSegment() *RolloutSegment
func (*CreateRolloutRequest) GetThreshold ¶ added in v1.24.0
func (x *CreateRolloutRequest) GetThreshold() *RolloutThreshold
func (*CreateRolloutRequest) ProtoMessage ¶ added in v1.24.0
func (*CreateRolloutRequest) ProtoMessage()
func (*CreateRolloutRequest) ProtoReflect ¶ added in v1.24.0
func (x *CreateRolloutRequest) ProtoReflect() protoreflect.Message
func (*CreateRolloutRequest) Reset ¶ added in v1.24.0
func (x *CreateRolloutRequest) Reset()
func (*CreateRolloutRequest) String ¶ added in v1.24.0
func (x *CreateRolloutRequest) String() string
func (*CreateRolloutRequest) Validate ¶ added in v1.24.0
func (req *CreateRolloutRequest) Validate() error
type CreateRolloutRequest_Segment ¶ added in v1.24.0
type CreateRolloutRequest_Segment struct {
Segment *RolloutSegment `protobuf:"bytes,20,opt,name=segment,proto3,oneof"`
}
type CreateRolloutRequest_Threshold ¶ added in v1.24.0
type CreateRolloutRequest_Threshold struct {
Threshold *RolloutThreshold `protobuf:"bytes,21,opt,name=threshold,proto3,oneof"`
}
type CreateRuleRequest ¶
type CreateRuleRequest struct { FlagKey string `protobuf:"bytes,1,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` // Deprecated: Marked as deprecated in flipt.proto. SegmentKey string `protobuf:"bytes,2,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` NamespaceKey string `protobuf:"bytes,4,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` SegmentKeys []string `protobuf:"bytes,5,rep,name=segment_keys,json=segmentKeys,proto3" json:"segment_keys,omitempty"` SegmentOperator SegmentOperator `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateRuleRequest) Descriptor
deprecated
func (*CreateRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateRuleRequest) GetFlagKey ¶
func (x *CreateRuleRequest) GetFlagKey() string
func (*CreateRuleRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *CreateRuleRequest) GetNamespaceKey() string
func (*CreateRuleRequest) GetRank ¶
func (x *CreateRuleRequest) GetRank() int32
func (*CreateRuleRequest) GetSegmentKey
deprecated
func (x *CreateRuleRequest) GetSegmentKey() string
Deprecated: Marked as deprecated in flipt.proto.
func (*CreateRuleRequest) GetSegmentKeys ¶ added in v1.25.0
func (x *CreateRuleRequest) GetSegmentKeys() []string
func (*CreateRuleRequest) GetSegmentOperator ¶ added in v1.25.0
func (x *CreateRuleRequest) GetSegmentOperator() SegmentOperator
func (*CreateRuleRequest) ProtoMessage ¶
func (*CreateRuleRequest) ProtoMessage()
func (*CreateRuleRequest) ProtoReflect ¶
func (x *CreateRuleRequest) ProtoReflect() protoreflect.Message
func (*CreateRuleRequest) Reset ¶
func (x *CreateRuleRequest) Reset()
func (*CreateRuleRequest) String ¶
func (x *CreateRuleRequest) String() string
func (*CreateRuleRequest) Validate ¶
func (req *CreateRuleRequest) Validate() error
type CreateSegmentRequest ¶
type CreateSegmentRequest 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 MatchType `protobuf:"varint,4,opt,name=match_type,json=matchType,proto3,enum=flipt.MatchType" json:"match_type,omitempty"` NamespaceKey string `protobuf:"bytes,5,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*CreateSegmentRequest) Descriptor
deprecated
func (*CreateSegmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSegmentRequest.ProtoReflect.Descriptor instead.
func (*CreateSegmentRequest) GetDescription ¶
func (x *CreateSegmentRequest) GetDescription() string
func (*CreateSegmentRequest) GetKey ¶
func (x *CreateSegmentRequest) GetKey() string
func (*CreateSegmentRequest) GetMatchType ¶
func (x *CreateSegmentRequest) GetMatchType() MatchType
func (*CreateSegmentRequest) GetName ¶
func (x *CreateSegmentRequest) GetName() string
func (*CreateSegmentRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *CreateSegmentRequest) GetNamespaceKey() string
func (*CreateSegmentRequest) ProtoMessage ¶
func (*CreateSegmentRequest) ProtoMessage()
func (*CreateSegmentRequest) ProtoReflect ¶
func (x *CreateSegmentRequest) ProtoReflect() protoreflect.Message
func (*CreateSegmentRequest) Reset ¶
func (x *CreateSegmentRequest) Reset()
func (*CreateSegmentRequest) String ¶
func (x *CreateSegmentRequest) String() string
func (*CreateSegmentRequest) Validate ¶
func (req *CreateSegmentRequest) Validate() error
type CreateVariantRequest ¶
type CreateVariantRequest struct { FlagKey string `protobuf:"bytes,1,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Attachment string `protobuf:"bytes,5,opt,name=attachment,proto3" json:"attachment,omitempty"` NamespaceKey string `protobuf:"bytes,6,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*CreateVariantRequest) Descriptor
deprecated
func (*CreateVariantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVariantRequest.ProtoReflect.Descriptor instead.
func (*CreateVariantRequest) GetAttachment ¶
func (x *CreateVariantRequest) GetAttachment() string
func (*CreateVariantRequest) GetDescription ¶
func (x *CreateVariantRequest) GetDescription() string
func (*CreateVariantRequest) GetFlagKey ¶
func (x *CreateVariantRequest) GetFlagKey() string
func (*CreateVariantRequest) GetKey ¶
func (x *CreateVariantRequest) GetKey() string
func (*CreateVariantRequest) GetName ¶
func (x *CreateVariantRequest) GetName() string
func (*CreateVariantRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *CreateVariantRequest) GetNamespaceKey() string
func (*CreateVariantRequest) ProtoMessage ¶
func (*CreateVariantRequest) ProtoMessage()
func (*CreateVariantRequest) ProtoReflect ¶
func (x *CreateVariantRequest) ProtoReflect() protoreflect.Message
func (*CreateVariantRequest) Reset ¶
func (x *CreateVariantRequest) Reset()
func (*CreateVariantRequest) String ¶
func (x *CreateVariantRequest) String() string
func (*CreateVariantRequest) Validate ¶
func (req *CreateVariantRequest) Validate() error
type DeleteConstraintRequest ¶
type DeleteConstraintRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SegmentKey string `protobuf:"bytes,2,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` NamespaceKey string `protobuf:"bytes,3,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*DeleteConstraintRequest) Descriptor
deprecated
func (*DeleteConstraintRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConstraintRequest.ProtoReflect.Descriptor instead.
func (*DeleteConstraintRequest) GetId ¶
func (x *DeleteConstraintRequest) GetId() string
func (*DeleteConstraintRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *DeleteConstraintRequest) GetNamespaceKey() string
func (*DeleteConstraintRequest) GetSegmentKey ¶
func (x *DeleteConstraintRequest) GetSegmentKey() string
func (*DeleteConstraintRequest) ProtoMessage ¶
func (*DeleteConstraintRequest) ProtoMessage()
func (*DeleteConstraintRequest) ProtoReflect ¶
func (x *DeleteConstraintRequest) ProtoReflect() protoreflect.Message
func (*DeleteConstraintRequest) Reset ¶
func (x *DeleteConstraintRequest) Reset()
func (*DeleteConstraintRequest) String ¶
func (x *DeleteConstraintRequest) String() string
func (*DeleteConstraintRequest) Validate ¶
func (req *DeleteConstraintRequest) Validate() error
type DeleteDistributionRequest ¶
type DeleteDistributionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` RuleId string `protobuf:"bytes,3,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` VariantId string `protobuf:"bytes,4,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"` NamespaceKey string `protobuf:"bytes,5,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*DeleteDistributionRequest) Descriptor
deprecated
func (*DeleteDistributionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDistributionRequest.ProtoReflect.Descriptor instead.
func (*DeleteDistributionRequest) GetFlagKey ¶
func (x *DeleteDistributionRequest) GetFlagKey() string
func (*DeleteDistributionRequest) GetId ¶
func (x *DeleteDistributionRequest) GetId() string
func (*DeleteDistributionRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *DeleteDistributionRequest) GetNamespaceKey() string
func (*DeleteDistributionRequest) GetRuleId ¶
func (x *DeleteDistributionRequest) GetRuleId() string
func (*DeleteDistributionRequest) GetVariantId ¶
func (x *DeleteDistributionRequest) GetVariantId() string
func (*DeleteDistributionRequest) ProtoMessage ¶
func (*DeleteDistributionRequest) ProtoMessage()
func (*DeleteDistributionRequest) ProtoReflect ¶
func (x *DeleteDistributionRequest) ProtoReflect() protoreflect.Message
func (*DeleteDistributionRequest) Reset ¶
func (x *DeleteDistributionRequest) Reset()
func (*DeleteDistributionRequest) String ¶
func (x *DeleteDistributionRequest) String() string
func (*DeleteDistributionRequest) Validate ¶
func (req *DeleteDistributionRequest) Validate() error
type DeleteFlagRequest ¶
type DeleteFlagRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` NamespaceKey string `protobuf:"bytes,2,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*DeleteFlagRequest) Descriptor
deprecated
func (*DeleteFlagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFlagRequest.ProtoReflect.Descriptor instead.
func (*DeleteFlagRequest) GetKey ¶
func (x *DeleteFlagRequest) GetKey() string
func (*DeleteFlagRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *DeleteFlagRequest) GetNamespaceKey() string
func (*DeleteFlagRequest) ProtoMessage ¶
func (*DeleteFlagRequest) ProtoMessage()
func (*DeleteFlagRequest) ProtoReflect ¶
func (x *DeleteFlagRequest) ProtoReflect() protoreflect.Message
func (*DeleteFlagRequest) Reset ¶
func (x *DeleteFlagRequest) Reset()
func (*DeleteFlagRequest) String ¶
func (x *DeleteFlagRequest) String() string
func (*DeleteFlagRequest) Validate ¶
func (req *DeleteFlagRequest) Validate() error
type DeleteNamespaceRequest ¶ added in v1.20.0
type DeleteNamespaceRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DeleteNamespaceRequest) Descriptor
deprecated
added in
v1.20.0
func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRequest) GetKey ¶ added in v1.20.0
func (x *DeleteNamespaceRequest) GetKey() string
func (*DeleteNamespaceRequest) GetNamespaceKey ¶ added in v1.31.0
func (req *DeleteNamespaceRequest) GetNamespaceKey() string
func (*DeleteNamespaceRequest) ProtoMessage ¶ added in v1.20.0
func (*DeleteNamespaceRequest) ProtoMessage()
func (*DeleteNamespaceRequest) ProtoReflect ¶ added in v1.20.0
func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRequest) Reset ¶ added in v1.20.0
func (x *DeleteNamespaceRequest) Reset()
func (*DeleteNamespaceRequest) String ¶ added in v1.20.0
func (x *DeleteNamespaceRequest) String() string
type DeleteRolloutRequest ¶ added in v1.24.0
type DeleteRolloutRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"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"` // contains filtered or unexported fields }
func (*DeleteRolloutRequest) Descriptor
deprecated
added in
v1.24.0
func (*DeleteRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRolloutRequest.ProtoReflect.Descriptor instead.
func (*DeleteRolloutRequest) GetFlagKey ¶ added in v1.24.0
func (x *DeleteRolloutRequest) GetFlagKey() string
func (*DeleteRolloutRequest) GetId ¶ added in v1.24.0
func (x *DeleteRolloutRequest) GetId() string
func (*DeleteRolloutRequest) GetNamespaceKey ¶ added in v1.24.0
func (x *DeleteRolloutRequest) GetNamespaceKey() string
func (*DeleteRolloutRequest) ProtoMessage ¶ added in v1.24.0
func (*DeleteRolloutRequest) ProtoMessage()
func (*DeleteRolloutRequest) ProtoReflect ¶ added in v1.24.0
func (x *DeleteRolloutRequest) ProtoReflect() protoreflect.Message
func (*DeleteRolloutRequest) Reset ¶ added in v1.24.0
func (x *DeleteRolloutRequest) Reset()
func (*DeleteRolloutRequest) String ¶ added in v1.24.0
func (x *DeleteRolloutRequest) String() string
func (*DeleteRolloutRequest) Validate ¶ added in v1.24.0
func (req *DeleteRolloutRequest) Validate() error
type DeleteRuleRequest ¶
type DeleteRuleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` NamespaceKey string `protobuf:"bytes,3,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*DeleteRuleRequest) Descriptor
deprecated
func (*DeleteRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRuleRequest) GetFlagKey ¶
func (x *DeleteRuleRequest) GetFlagKey() string
func (*DeleteRuleRequest) GetId ¶
func (x *DeleteRuleRequest) GetId() string
func (*DeleteRuleRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *DeleteRuleRequest) GetNamespaceKey() string
func (*DeleteRuleRequest) ProtoMessage ¶
func (*DeleteRuleRequest) ProtoMessage()
func (*DeleteRuleRequest) ProtoReflect ¶
func (x *DeleteRuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRuleRequest) Reset ¶
func (x *DeleteRuleRequest) Reset()
func (*DeleteRuleRequest) String ¶
func (x *DeleteRuleRequest) String() string
func (*DeleteRuleRequest) Validate ¶
func (req *DeleteRuleRequest) Validate() error
type DeleteSegmentRequest ¶
type DeleteSegmentRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` NamespaceKey string `protobuf:"bytes,2,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*DeleteSegmentRequest) Descriptor
deprecated
func (*DeleteSegmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSegmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteSegmentRequest) GetKey ¶
func (x *DeleteSegmentRequest) GetKey() string
func (*DeleteSegmentRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *DeleteSegmentRequest) GetNamespaceKey() string
func (*DeleteSegmentRequest) ProtoMessage ¶
func (*DeleteSegmentRequest) ProtoMessage()
func (*DeleteSegmentRequest) ProtoReflect ¶
func (x *DeleteSegmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteSegmentRequest) Reset ¶
func (x *DeleteSegmentRequest) Reset()
func (*DeleteSegmentRequest) String ¶
func (x *DeleteSegmentRequest) String() string
func (*DeleteSegmentRequest) Validate ¶
func (req *DeleteSegmentRequest) Validate() error
type DeleteVariantRequest ¶
type DeleteVariantRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` NamespaceKey string `protobuf:"bytes,3,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*DeleteVariantRequest) Descriptor
deprecated
func (*DeleteVariantRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVariantRequest.ProtoReflect.Descriptor instead.
func (*DeleteVariantRequest) GetFlagKey ¶
func (x *DeleteVariantRequest) GetFlagKey() string
func (*DeleteVariantRequest) GetId ¶
func (x *DeleteVariantRequest) GetId() string
func (*DeleteVariantRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *DeleteVariantRequest) GetNamespaceKey() string
func (*DeleteVariantRequest) ProtoMessage ¶
func (*DeleteVariantRequest) ProtoMessage()
func (*DeleteVariantRequest) ProtoReflect ¶
func (x *DeleteVariantRequest) ProtoReflect() protoreflect.Message
func (*DeleteVariantRequest) Reset ¶
func (x *DeleteVariantRequest) Reset()
func (*DeleteVariantRequest) String ¶
func (x *DeleteVariantRequest) String() string
func (*DeleteVariantRequest) Validate ¶
func (req *DeleteVariantRequest) Validate() error
type Distribution ¶
type Distribution 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"` Rollout float32 `protobuf:"fixed32,4,opt,name=rollout,proto3" json:"rollout,omitempty"` 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"` // contains filtered or unexported fields }
func (*Distribution) Descriptor
deprecated
func (*Distribution) Descriptor() ([]byte, []int)
Deprecated: Use Distribution.ProtoReflect.Descriptor instead.
func (*Distribution) GetCreatedAt ¶
func (x *Distribution) GetCreatedAt() *timestamppb.Timestamp
func (*Distribution) GetId ¶
func (x *Distribution) GetId() string
func (*Distribution) GetRollout ¶
func (x *Distribution) GetRollout() float32
func (*Distribution) GetRuleId ¶
func (x *Distribution) GetRuleId() string
func (*Distribution) GetUpdatedAt ¶
func (x *Distribution) GetUpdatedAt() *timestamppb.Timestamp
func (*Distribution) GetVariantId ¶
func (x *Distribution) GetVariantId() string
func (*Distribution) ProtoMessage ¶
func (*Distribution) ProtoMessage()
func (*Distribution) ProtoReflect ¶
func (x *Distribution) ProtoReflect() protoreflect.Message
func (*Distribution) Reset ¶
func (x *Distribution) Reset()
func (*Distribution) String ¶
func (x *Distribution) String() string
type EvaluationReason ¶
type EvaluationReason int32
const ( EvaluationReason_UNKNOWN_EVALUATION_REASON EvaluationReason = 0 EvaluationReason_FLAG_DISABLED_EVALUATION_REASON EvaluationReason = 1 EvaluationReason_FLAG_NOT_FOUND_EVALUATION_REASON EvaluationReason = 2 EvaluationReason_MATCH_EVALUATION_REASON EvaluationReason = 3 EvaluationReason_ERROR_EVALUATION_REASON EvaluationReason = 4 )
func (EvaluationReason) Descriptor ¶
func (EvaluationReason) Descriptor() protoreflect.EnumDescriptor
func (EvaluationReason) Enum ¶
func (x EvaluationReason) Enum() *EvaluationReason
func (EvaluationReason) EnumDescriptor
deprecated
func (EvaluationReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use EvaluationReason.Descriptor instead.
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"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` EntityId string `protobuf:"bytes,3,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` Context map[string]string `` /* 155-byte string literal not displayed */ NamespaceKey string `protobuf:"bytes,5,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*EvaluationRequest) Descriptor
deprecated
func (*EvaluationRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvaluationRequest.ProtoReflect.Descriptor instead.
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 ¶ added in v1.20.0
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) SetRequestIDIfNotBlank ¶ added in v1.24.0
func (x *EvaluationRequest) SetRequestIDIfNotBlank(id string) string
SetRequestIDIfNotBlank attempts to set the provided ID on the instance If the ID was blank, it returns the ID provided to this call. If the ID was not blank, it returns the ID found on the instance.
func (*EvaluationRequest) String ¶
func (x *EvaluationRequest) String() string
func (*EvaluationRequest) Validate ¶
func (req *EvaluationRequest) Validate() error
type EvaluationResponse ¶
type EvaluationResponse struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` EntityId string `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` RequestContext map[string]string `` /* 191-byte string literal not displayed */ Match bool `protobuf:"varint,4,opt,name=match,proto3" json:"match,omitempty"` FlagKey string `protobuf:"bytes,5,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` // Deprecated: Marked as deprecated in flipt.proto. SegmentKey string `protobuf:"bytes,6,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Value string `protobuf:"bytes,8,opt,name=value,proto3" json:"value,omitempty"` RequestDurationMillis float64 `` /* 128-byte string literal not displayed */ Attachment string `protobuf:"bytes,10,opt,name=attachment,proto3" json:"attachment,omitempty"` Reason EvaluationReason `protobuf:"varint,11,opt,name=reason,proto3,enum=flipt.EvaluationReason" json:"reason,omitempty"` NamespaceKey string `protobuf:"bytes,12,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` SegmentKeys []string `protobuf:"bytes,13,rep,name=segment_keys,json=segmentKeys,proto3" json:"segment_keys,omitempty"` // contains filtered or unexported fields }
func (*EvaluationResponse) Descriptor
deprecated
func (*EvaluationResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvaluationResponse.ProtoReflect.Descriptor instead.
func (*EvaluationResponse) GetAttachment ¶
func (x *EvaluationResponse) GetAttachment() string
func (*EvaluationResponse) GetEntityId ¶
func (x *EvaluationResponse) GetEntityId() string
func (*EvaluationResponse) GetFlagKey ¶
func (x *EvaluationResponse) GetFlagKey() string
func (*EvaluationResponse) GetMatch ¶
func (x *EvaluationResponse) GetMatch() bool
func (*EvaluationResponse) GetNamespaceKey ¶ added in v1.20.0
func (x *EvaluationResponse) GetNamespaceKey() string
func (*EvaluationResponse) GetReason ¶
func (x *EvaluationResponse) GetReason() EvaluationReason
func (*EvaluationResponse) GetRequestContext ¶
func (x *EvaluationResponse) GetRequestContext() map[string]string
func (*EvaluationResponse) GetRequestDurationMillis ¶
func (x *EvaluationResponse) GetRequestDurationMillis() float64
func (*EvaluationResponse) GetRequestId ¶
func (x *EvaluationResponse) GetRequestId() string
func (*EvaluationResponse) GetSegmentKey
deprecated
func (x *EvaluationResponse) GetSegmentKey() string
Deprecated: Marked as deprecated in flipt.proto.
func (*EvaluationResponse) GetSegmentKeys ¶ added in v1.25.0
func (x *EvaluationResponse) GetSegmentKeys() []string
func (*EvaluationResponse) GetTimestamp ¶
func (x *EvaluationResponse) GetTimestamp() *timestamppb.Timestamp
func (*EvaluationResponse) GetValue ¶
func (x *EvaluationResponse) GetValue() string
func (*EvaluationResponse) ProtoMessage ¶
func (*EvaluationResponse) ProtoMessage()
func (*EvaluationResponse) ProtoReflect ¶
func (x *EvaluationResponse) ProtoReflect() protoreflect.Message
func (*EvaluationResponse) Reset ¶
func (x *EvaluationResponse) Reset()
func (*EvaluationResponse) SetRequestIDIfNotBlank ¶ added in v1.24.0
func (x *EvaluationResponse) SetRequestIDIfNotBlank(id string) string
SetRequestIDIfNotBlank attempts to set the provided ID on the instance If the ID was blank, it returns the ID provided to this call. If the ID was not blank, it returns the ID found on the instance.
func (*EvaluationResponse) SetTimestamps ¶ added in v1.24.0
func (x *EvaluationResponse) SetTimestamps(start, end time.Time)
SetTimestamps records the start and end times on the target instance.
func (*EvaluationResponse) String ¶
func (x *EvaluationResponse) String() string
type Flag ¶
type Flag 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"` 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"` Variants []*Variant `protobuf:"bytes,7,rep,name=variants,proto3" json:"variants,omitempty"` NamespaceKey string `protobuf:"bytes,8,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Type FlagType `protobuf:"varint,9,opt,name=type,proto3,enum=flipt.FlagType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Flag) Descriptor
deprecated
func (*Flag) GetCreatedAt ¶
func (x *Flag) GetCreatedAt() *timestamppb.Timestamp
func (*Flag) GetDescription ¶
func (*Flag) GetEnabled ¶
func (*Flag) GetNamespaceKey ¶ added in v1.20.0
func (*Flag) GetUpdatedAt ¶
func (x *Flag) GetUpdatedAt() *timestamppb.Timestamp
func (*Flag) GetVariants ¶
func (*Flag) ProtoMessage ¶
func (*Flag) ProtoMessage()
func (*Flag) ProtoReflect ¶
func (x *Flag) ProtoReflect() protoreflect.Message
type FlagList ¶
type FlagList struct { Flags []*Flag `protobuf:"bytes,1,rep,name=flags,proto3" json:"flags,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*FlagList) Descriptor
deprecated
func (*FlagList) GetNextPageToken ¶
func (*FlagList) GetTotalCount ¶
func (*FlagList) ProtoMessage ¶
func (*FlagList) ProtoMessage()
func (*FlagList) ProtoReflect ¶
func (x *FlagList) ProtoReflect() protoreflect.Message
type FlagType ¶ added in v1.24.0
type FlagType int32
func (FlagType) Descriptor ¶ added in v1.24.0
func (FlagType) Descriptor() protoreflect.EnumDescriptor
func (FlagType) EnumDescriptor
deprecated
added in
v1.24.0
func (FlagType) Number ¶ added in v1.24.0
func (x FlagType) Number() protoreflect.EnumNumber
func (FlagType) Type ¶ added in v1.24.0
func (FlagType) Type() protoreflect.EnumType
type FliptClient ¶
type FliptClient interface { // Deprecated: Do not use. Evaluate(ctx context.Context, in *EvaluationRequest, opts ...grpc.CallOption) (*EvaluationResponse, error) // Deprecated: Do not use. BatchEvaluate(ctx context.Context, in *BatchEvaluationRequest, opts ...grpc.CallOption) (*BatchEvaluationResponse, error) GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) ListNamespaces(ctx context.Context, in *ListNamespaceRequest, opts ...grpc.CallOption) (*NamespaceList, error) CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*Namespace, error) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetFlag(ctx context.Context, in *GetFlagRequest, opts ...grpc.CallOption) (*Flag, error) ListFlags(ctx context.Context, in *ListFlagRequest, opts ...grpc.CallOption) (*FlagList, error) CreateFlag(ctx context.Context, in *CreateFlagRequest, opts ...grpc.CallOption) (*Flag, error) UpdateFlag(ctx context.Context, in *UpdateFlagRequest, opts ...grpc.CallOption) (*Flag, error) DeleteFlag(ctx context.Context, in *DeleteFlagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateVariant(ctx context.Context, in *CreateVariantRequest, opts ...grpc.CallOption) (*Variant, error) UpdateVariant(ctx context.Context, in *UpdateVariantRequest, opts ...grpc.CallOption) (*Variant, error) DeleteVariant(ctx context.Context, in *DeleteVariantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetRule(ctx context.Context, in *GetRuleRequest, opts ...grpc.CallOption) (*Rule, error) ListRules(ctx context.Context, in *ListRuleRequest, opts ...grpc.CallOption) (*RuleList, error) CreateRule(ctx context.Context, in *CreateRuleRequest, opts ...grpc.CallOption) (*Rule, error) UpdateRule(ctx context.Context, in *UpdateRuleRequest, opts ...grpc.CallOption) (*Rule, error) OrderRules(ctx context.Context, in *OrderRulesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteRule(ctx context.Context, in *DeleteRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetRollout(ctx context.Context, in *GetRolloutRequest, opts ...grpc.CallOption) (*Rollout, error) ListRollouts(ctx context.Context, in *ListRolloutRequest, opts ...grpc.CallOption) (*RolloutList, error) CreateRollout(ctx context.Context, in *CreateRolloutRequest, opts ...grpc.CallOption) (*Rollout, error) UpdateRollout(ctx context.Context, in *UpdateRolloutRequest, opts ...grpc.CallOption) (*Rollout, error) DeleteRollout(ctx context.Context, in *DeleteRolloutRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) OrderRollouts(ctx context.Context, in *OrderRolloutsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateDistribution(ctx context.Context, in *CreateDistributionRequest, opts ...grpc.CallOption) (*Distribution, error) UpdateDistribution(ctx context.Context, in *UpdateDistributionRequest, opts ...grpc.CallOption) (*Distribution, error) DeleteDistribution(ctx context.Context, in *DeleteDistributionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetSegment(ctx context.Context, in *GetSegmentRequest, opts ...grpc.CallOption) (*Segment, error) ListSegments(ctx context.Context, in *ListSegmentRequest, opts ...grpc.CallOption) (*SegmentList, error) CreateSegment(ctx context.Context, in *CreateSegmentRequest, opts ...grpc.CallOption) (*Segment, error) UpdateSegment(ctx context.Context, in *UpdateSegmentRequest, opts ...grpc.CallOption) (*Segment, error) DeleteSegment(ctx context.Context, in *DeleteSegmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateConstraint(ctx context.Context, in *CreateConstraintRequest, opts ...grpc.CallOption) (*Constraint, error) UpdateConstraint(ctx context.Context, in *UpdateConstraintRequest, opts ...grpc.CallOption) (*Constraint, error) DeleteConstraint(ctx context.Context, in *DeleteConstraintRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
FliptClient is the client API for Flipt service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFliptClient ¶
func NewFliptClient(cc grpc.ClientConnInterface) FliptClient
type FliptServer ¶
type FliptServer interface { // Deprecated: Do not use. Evaluate(context.Context, *EvaluationRequest) (*EvaluationResponse, error) // Deprecated: Do not use. BatchEvaluate(context.Context, *BatchEvaluationRequest) (*BatchEvaluationResponse, error) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error) ListNamespaces(context.Context, *ListNamespaceRequest) (*NamespaceList, error) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error) GetFlag(context.Context, *GetFlagRequest) (*Flag, error) ListFlags(context.Context, *ListFlagRequest) (*FlagList, error) CreateFlag(context.Context, *CreateFlagRequest) (*Flag, error) UpdateFlag(context.Context, *UpdateFlagRequest) (*Flag, error) DeleteFlag(context.Context, *DeleteFlagRequest) (*emptypb.Empty, error) CreateVariant(context.Context, *CreateVariantRequest) (*Variant, error) UpdateVariant(context.Context, *UpdateVariantRequest) (*Variant, error) DeleteVariant(context.Context, *DeleteVariantRequest) (*emptypb.Empty, error) GetRule(context.Context, *GetRuleRequest) (*Rule, error) ListRules(context.Context, *ListRuleRequest) (*RuleList, error) CreateRule(context.Context, *CreateRuleRequest) (*Rule, error) UpdateRule(context.Context, *UpdateRuleRequest) (*Rule, error) OrderRules(context.Context, *OrderRulesRequest) (*emptypb.Empty, error) DeleteRule(context.Context, *DeleteRuleRequest) (*emptypb.Empty, error) GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error) ListRollouts(context.Context, *ListRolloutRequest) (*RolloutList, error) CreateRollout(context.Context, *CreateRolloutRequest) (*Rollout, error) UpdateRollout(context.Context, *UpdateRolloutRequest) (*Rollout, error) DeleteRollout(context.Context, *DeleteRolloutRequest) (*emptypb.Empty, error) OrderRollouts(context.Context, *OrderRolloutsRequest) (*emptypb.Empty, error) CreateDistribution(context.Context, *CreateDistributionRequest) (*Distribution, error) UpdateDistribution(context.Context, *UpdateDistributionRequest) (*Distribution, error) DeleteDistribution(context.Context, *DeleteDistributionRequest) (*emptypb.Empty, error) GetSegment(context.Context, *GetSegmentRequest) (*Segment, error) ListSegments(context.Context, *ListSegmentRequest) (*SegmentList, error) CreateSegment(context.Context, *CreateSegmentRequest) (*Segment, error) UpdateSegment(context.Context, *UpdateSegmentRequest) (*Segment, error) DeleteSegment(context.Context, *DeleteSegmentRequest) (*emptypb.Empty, error) CreateConstraint(context.Context, *CreateConstraintRequest) (*Constraint, error) UpdateConstraint(context.Context, *UpdateConstraintRequest) (*Constraint, error) DeleteConstraint(context.Context, *DeleteConstraintRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
FliptServer is the server API for Flipt service. All implementations must embed UnimplementedFliptServer for forward compatibility
type GetFlagRequest ¶
type GetFlagRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` NamespaceKey string `protobuf:"bytes,2,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*GetFlagRequest) Descriptor
deprecated
func (*GetFlagRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFlagRequest.ProtoReflect.Descriptor instead.
func (*GetFlagRequest) GetKey ¶
func (x *GetFlagRequest) GetKey() string
func (*GetFlagRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *GetFlagRequest) GetNamespaceKey() string
func (*GetFlagRequest) GetReference ¶ added in v1.35.0
func (x *GetFlagRequest) GetReference() string
func (*GetFlagRequest) ProtoMessage ¶
func (*GetFlagRequest) ProtoMessage()
func (*GetFlagRequest) ProtoReflect ¶
func (x *GetFlagRequest) ProtoReflect() protoreflect.Message
func (*GetFlagRequest) Reset ¶
func (x *GetFlagRequest) Reset()
func (*GetFlagRequest) String ¶
func (x *GetFlagRequest) String() string
func (*GetFlagRequest) Validate ¶
func (req *GetFlagRequest) Validate() error
type GetNamespaceRequest ¶ added in v1.20.0
type GetNamespaceRequest 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 (*GetNamespaceRequest) Descriptor
deprecated
added in
v1.20.0
func (*GetNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceRequest.ProtoReflect.Descriptor instead.
func (*GetNamespaceRequest) GetKey ¶ added in v1.20.0
func (x *GetNamespaceRequest) GetKey() string
func (*GetNamespaceRequest) GetNamespaceKey ¶ added in v1.31.0
func (req *GetNamespaceRequest) GetNamespaceKey() string
func (*GetNamespaceRequest) GetReference ¶ added in v1.35.0
func (x *GetNamespaceRequest) GetReference() string
func (*GetNamespaceRequest) ProtoMessage ¶ added in v1.20.0
func (*GetNamespaceRequest) ProtoMessage()
func (*GetNamespaceRequest) ProtoReflect ¶ added in v1.20.0
func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message
func (*GetNamespaceRequest) Reset ¶ added in v1.20.0
func (x *GetNamespaceRequest) Reset()
func (*GetNamespaceRequest) String ¶ added in v1.20.0
func (x *GetNamespaceRequest) String() string
type GetRolloutRequest ¶ added in v1.24.0
type GetRolloutRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"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"` Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*GetRolloutRequest) Descriptor
deprecated
added in
v1.24.0
func (*GetRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRolloutRequest.ProtoReflect.Descriptor instead.
func (*GetRolloutRequest) GetFlagKey ¶ added in v1.24.0
func (x *GetRolloutRequest) GetFlagKey() string
func (*GetRolloutRequest) GetId ¶ added in v1.24.0
func (x *GetRolloutRequest) GetId() string
func (*GetRolloutRequest) GetNamespaceKey ¶ added in v1.24.0
func (x *GetRolloutRequest) GetNamespaceKey() string
func (*GetRolloutRequest) GetReference ¶ added in v1.35.0
func (x *GetRolloutRequest) GetReference() string
func (*GetRolloutRequest) ProtoMessage ¶ added in v1.24.0
func (*GetRolloutRequest) ProtoMessage()
func (*GetRolloutRequest) ProtoReflect ¶ added in v1.24.0
func (x *GetRolloutRequest) ProtoReflect() protoreflect.Message
func (*GetRolloutRequest) Reset ¶ added in v1.24.0
func (x *GetRolloutRequest) Reset()
func (*GetRolloutRequest) String ¶ added in v1.24.0
func (x *GetRolloutRequest) String() string
type GetRuleRequest ¶
type GetRuleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` NamespaceKey string `protobuf:"bytes,3,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*GetRuleRequest) Descriptor
deprecated
func (*GetRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleRequest.ProtoReflect.Descriptor instead.
func (*GetRuleRequest) GetFlagKey ¶
func (x *GetRuleRequest) GetFlagKey() string
func (*GetRuleRequest) GetId ¶
func (x *GetRuleRequest) GetId() string
func (*GetRuleRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *GetRuleRequest) GetNamespaceKey() string
func (*GetRuleRequest) GetReference ¶ added in v1.35.0
func (x *GetRuleRequest) GetReference() string
func (*GetRuleRequest) ProtoMessage ¶
func (*GetRuleRequest) ProtoMessage()
func (*GetRuleRequest) ProtoReflect ¶
func (x *GetRuleRequest) ProtoReflect() protoreflect.Message
func (*GetRuleRequest) Reset ¶
func (x *GetRuleRequest) Reset()
func (*GetRuleRequest) String ¶
func (x *GetRuleRequest) String() string
func (*GetRuleRequest) Validate ¶
func (req *GetRuleRequest) Validate() error
type GetSegmentRequest ¶
type GetSegmentRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` NamespaceKey string `protobuf:"bytes,2,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*GetSegmentRequest) Descriptor
deprecated
func (*GetSegmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmentRequest.ProtoReflect.Descriptor instead.
func (*GetSegmentRequest) GetKey ¶
func (x *GetSegmentRequest) GetKey() string
func (*GetSegmentRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *GetSegmentRequest) GetNamespaceKey() string
func (*GetSegmentRequest) GetReference ¶ added in v1.35.0
func (x *GetSegmentRequest) GetReference() string
func (*GetSegmentRequest) ProtoMessage ¶
func (*GetSegmentRequest) ProtoMessage()
func (*GetSegmentRequest) ProtoReflect ¶
func (x *GetSegmentRequest) ProtoReflect() protoreflect.Message
func (*GetSegmentRequest) Reset ¶
func (x *GetSegmentRequest) Reset()
func (*GetSegmentRequest) String ¶
func (x *GetSegmentRequest) String() string
func (*GetSegmentRequest) Validate ¶
func (req *GetSegmentRequest) Validate() error
type ListFlagRequest ¶
type ListFlagRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Deprecated: Marked as deprecated in flipt.proto. Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` NamespaceKey string `protobuf:"bytes,4,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Reference string `protobuf:"bytes,5,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*ListFlagRequest) Descriptor
deprecated
func (*ListFlagRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFlagRequest.ProtoReflect.Descriptor instead.
func (*ListFlagRequest) GetLimit ¶
func (x *ListFlagRequest) GetLimit() int32
func (*ListFlagRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *ListFlagRequest) GetNamespaceKey() string
func (*ListFlagRequest) GetOffset
deprecated
func (x *ListFlagRequest) GetOffset() int32
Deprecated: Marked as deprecated in flipt.proto.
func (*ListFlagRequest) GetPageToken ¶
func (x *ListFlagRequest) GetPageToken() string
func (*ListFlagRequest) GetReference ¶ added in v1.35.0
func (x *ListFlagRequest) GetReference() string
func (*ListFlagRequest) ProtoMessage ¶
func (*ListFlagRequest) ProtoMessage()
func (*ListFlagRequest) ProtoReflect ¶
func (x *ListFlagRequest) ProtoReflect() protoreflect.Message
func (*ListFlagRequest) Reset ¶
func (x *ListFlagRequest) Reset()
func (*ListFlagRequest) String ¶
func (x *ListFlagRequest) String() string
func (*ListFlagRequest) Validate ¶
func (req *ListFlagRequest) Validate() error
type ListNamespaceRequest ¶ added in v1.20.0
type ListNamespaceRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Deprecated: Marked as deprecated in flipt.proto. Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*ListNamespaceRequest) Descriptor
deprecated
added in
v1.20.0
func (*ListNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespaceRequest.ProtoReflect.Descriptor instead.
func (*ListNamespaceRequest) GetLimit ¶ added in v1.20.0
func (x *ListNamespaceRequest) GetLimit() int32
func (*ListNamespaceRequest) GetOffset
deprecated
added in
v1.20.0
func (x *ListNamespaceRequest) GetOffset() int32
Deprecated: Marked as deprecated in flipt.proto.
func (*ListNamespaceRequest) GetPageToken ¶ added in v1.20.0
func (x *ListNamespaceRequest) GetPageToken() string
func (*ListNamespaceRequest) GetReference ¶ added in v1.35.0
func (x *ListNamespaceRequest) GetReference() string
func (*ListNamespaceRequest) ProtoMessage ¶ added in v1.20.0
func (*ListNamespaceRequest) ProtoMessage()
func (*ListNamespaceRequest) ProtoReflect ¶ added in v1.20.0
func (x *ListNamespaceRequest) ProtoReflect() protoreflect.Message
func (*ListNamespaceRequest) Reset ¶ added in v1.20.0
func (x *ListNamespaceRequest) Reset()
func (*ListNamespaceRequest) String ¶ added in v1.20.0
func (x *ListNamespaceRequest) String() string
type ListRolloutRequest ¶ added in v1.24.0
type ListRolloutRequest struct { NamespaceKey string `protobuf:"bytes,1,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Reference string `protobuf:"bytes,5,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*ListRolloutRequest) Descriptor
deprecated
added in
v1.24.0
func (*ListRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRolloutRequest.ProtoReflect.Descriptor instead.
func (*ListRolloutRequest) GetFlagKey ¶ added in v1.24.0
func (x *ListRolloutRequest) GetFlagKey() string
func (*ListRolloutRequest) GetLimit ¶ added in v1.24.0
func (x *ListRolloutRequest) GetLimit() int32
func (*ListRolloutRequest) GetNamespaceKey ¶ added in v1.24.0
func (x *ListRolloutRequest) GetNamespaceKey() string
func (*ListRolloutRequest) GetPageToken ¶ added in v1.24.0
func (x *ListRolloutRequest) GetPageToken() string
func (*ListRolloutRequest) GetReference ¶ added in v1.35.0
func (x *ListRolloutRequest) GetReference() string
func (*ListRolloutRequest) ProtoMessage ¶ added in v1.24.0
func (*ListRolloutRequest) ProtoMessage()
func (*ListRolloutRequest) ProtoReflect ¶ added in v1.24.0
func (x *ListRolloutRequest) ProtoReflect() protoreflect.Message
func (*ListRolloutRequest) Reset ¶ added in v1.24.0
func (x *ListRolloutRequest) Reset()
func (*ListRolloutRequest) String ¶ added in v1.24.0
func (x *ListRolloutRequest) String() string
type ListRuleRequest ¶
type ListRuleRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Deprecated: Marked as deprecated in flipt.proto. Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` FlagKey string `protobuf:"bytes,3,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` NamespaceKey string `protobuf:"bytes,5,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*ListRuleRequest) Descriptor
deprecated
func (*ListRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRuleRequest.ProtoReflect.Descriptor instead.
func (*ListRuleRequest) GetFlagKey ¶
func (x *ListRuleRequest) GetFlagKey() string
func (*ListRuleRequest) GetLimit ¶
func (x *ListRuleRequest) GetLimit() int32
func (*ListRuleRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *ListRuleRequest) GetNamespaceKey() string
func (*ListRuleRequest) GetOffset
deprecated
func (x *ListRuleRequest) GetOffset() int32
Deprecated: Marked as deprecated in flipt.proto.
func (*ListRuleRequest) GetPageToken ¶
func (x *ListRuleRequest) GetPageToken() string
func (*ListRuleRequest) GetReference ¶ added in v1.35.0
func (x *ListRuleRequest) GetReference() string
func (*ListRuleRequest) ProtoMessage ¶
func (*ListRuleRequest) ProtoMessage()
func (*ListRuleRequest) ProtoReflect ¶
func (x *ListRuleRequest) ProtoReflect() protoreflect.Message
func (*ListRuleRequest) Reset ¶
func (x *ListRuleRequest) Reset()
func (*ListRuleRequest) String ¶
func (x *ListRuleRequest) String() string
func (*ListRuleRequest) Validate ¶
func (req *ListRuleRequest) Validate() error
type ListSegmentRequest ¶
type ListSegmentRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Deprecated: Marked as deprecated in flipt.proto. Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` NamespaceKey string `protobuf:"bytes,4,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Reference string `protobuf:"bytes,5,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*ListSegmentRequest) Descriptor
deprecated
func (*ListSegmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSegmentRequest.ProtoReflect.Descriptor instead.
func (*ListSegmentRequest) GetLimit ¶
func (x *ListSegmentRequest) GetLimit() int32
func (*ListSegmentRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *ListSegmentRequest) GetNamespaceKey() string
func (*ListSegmentRequest) GetOffset
deprecated
func (x *ListSegmentRequest) GetOffset() int32
Deprecated: Marked as deprecated in flipt.proto.
func (*ListSegmentRequest) GetPageToken ¶
func (x *ListSegmentRequest) GetPageToken() string
func (*ListSegmentRequest) GetReference ¶ added in v1.35.0
func (x *ListSegmentRequest) GetReference() string
func (*ListSegmentRequest) ProtoMessage ¶
func (*ListSegmentRequest) ProtoMessage()
func (*ListSegmentRequest) ProtoReflect ¶
func (x *ListSegmentRequest) ProtoReflect() protoreflect.Message
func (*ListSegmentRequest) Reset ¶
func (x *ListSegmentRequest) Reset()
func (*ListSegmentRequest) String ¶
func (x *ListSegmentRequest) String() string
func (*ListSegmentRequest) Validate ¶
func (req *ListSegmentRequest) Validate() error
type MatchType ¶
type MatchType int32
func (MatchType) Descriptor ¶
func (MatchType) Descriptor() protoreflect.EnumDescriptor
func (MatchType) EnumDescriptor
deprecated
func (MatchType) Number ¶
func (x MatchType) Number() protoreflect.EnumNumber
func (MatchType) Type ¶
func (MatchType) Type() protoreflect.EnumType
type Namespace ¶ added in v1.20.0
type Namespace 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"` Protected bool `protobuf:"varint,4,opt,name=protected,proto3" json:"protected,omitempty"` 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"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
added in
v1.20.0
func (*Namespace) GetCreatedAt ¶ added in v1.20.0
func (x *Namespace) GetCreatedAt() *timestamppb.Timestamp
func (*Namespace) GetDescription ¶ added in v1.20.0
func (*Namespace) GetProtected ¶ added in v1.20.0
func (*Namespace) GetUpdatedAt ¶ added in v1.20.0
func (x *Namespace) GetUpdatedAt() *timestamppb.Timestamp
func (*Namespace) ProtoMessage ¶ added in v1.20.0
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶ added in v1.20.0
func (x *Namespace) ProtoReflect() protoreflect.Message
type NamespaceList ¶ added in v1.20.0
type NamespaceList struct { Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*NamespaceList) Descriptor
deprecated
added in
v1.20.0
func (*NamespaceList) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceList.ProtoReflect.Descriptor instead.
func (*NamespaceList) GetNamespaces ¶ added in v1.20.0
func (x *NamespaceList) GetNamespaces() []*Namespace
func (*NamespaceList) GetNextPageToken ¶ added in v1.20.0
func (x *NamespaceList) GetNextPageToken() string
func (*NamespaceList) GetTotalCount ¶ added in v1.20.0
func (x *NamespaceList) GetTotalCount() int32
func (*NamespaceList) ProtoMessage ¶ added in v1.20.0
func (*NamespaceList) ProtoMessage()
func (*NamespaceList) ProtoReflect ¶ added in v1.20.0
func (x *NamespaceList) ProtoReflect() protoreflect.Message
func (*NamespaceList) Reset ¶ added in v1.20.0
func (x *NamespaceList) Reset()
func (*NamespaceList) String ¶ added in v1.20.0
func (x *NamespaceList) String() string
type Namespaced ¶ added in v1.31.0
type Namespaced interface { // Namespace returns the namespace of the entity GetNamespaceKey() string }
type OrderRolloutsRequest ¶ added in v1.24.0
type OrderRolloutsRequest 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"` RolloutIds []string `protobuf:"bytes,3,rep,name=rollout_ids,json=rolloutIds,proto3" json:"rollout_ids,omitempty"` // contains filtered or unexported fields }
func (*OrderRolloutsRequest) Descriptor
deprecated
added in
v1.24.0
func (*OrderRolloutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrderRolloutsRequest.ProtoReflect.Descriptor instead.
func (*OrderRolloutsRequest) GetFlagKey ¶ added in v1.24.0
func (x *OrderRolloutsRequest) GetFlagKey() string
func (*OrderRolloutsRequest) GetNamespaceKey ¶ added in v1.24.0
func (x *OrderRolloutsRequest) GetNamespaceKey() string
func (*OrderRolloutsRequest) GetRolloutIds ¶ added in v1.24.0
func (x *OrderRolloutsRequest) GetRolloutIds() []string
func (*OrderRolloutsRequest) ProtoMessage ¶ added in v1.24.0
func (*OrderRolloutsRequest) ProtoMessage()
func (*OrderRolloutsRequest) ProtoReflect ¶ added in v1.24.0
func (x *OrderRolloutsRequest) ProtoReflect() protoreflect.Message
func (*OrderRolloutsRequest) Reset ¶ added in v1.24.0
func (x *OrderRolloutsRequest) Reset()
func (*OrderRolloutsRequest) String ¶ added in v1.24.0
func (x *OrderRolloutsRequest) String() string
func (*OrderRolloutsRequest) Validate ¶ added in v1.24.0
func (req *OrderRolloutsRequest) Validate() error
type OrderRulesRequest ¶
type OrderRulesRequest struct { FlagKey string `protobuf:"bytes,1,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` RuleIds []string `protobuf:"bytes,2,rep,name=rule_ids,json=ruleIds,proto3" json:"rule_ids,omitempty"` NamespaceKey string `protobuf:"bytes,3,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*OrderRulesRequest) Descriptor
deprecated
func (*OrderRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrderRulesRequest.ProtoReflect.Descriptor instead.
func (*OrderRulesRequest) GetFlagKey ¶
func (x *OrderRulesRequest) GetFlagKey() string
func (*OrderRulesRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *OrderRulesRequest) GetNamespaceKey() string
func (*OrderRulesRequest) GetRuleIds ¶
func (x *OrderRulesRequest) GetRuleIds() []string
func (*OrderRulesRequest) ProtoMessage ¶
func (*OrderRulesRequest) ProtoMessage()
func (*OrderRulesRequest) ProtoReflect ¶
func (x *OrderRulesRequest) ProtoReflect() protoreflect.Message
func (*OrderRulesRequest) Reset ¶
func (x *OrderRulesRequest) Reset()
func (*OrderRulesRequest) String ¶
func (x *OrderRulesRequest) String() string
func (*OrderRulesRequest) Validate ¶
func (req *OrderRulesRequest) Validate() error
type Rollout ¶ added in v1.24.0
type Rollout struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"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"` Type RolloutType `protobuf:"varint,4,opt,name=type,proto3,enum=flipt.RolloutType" json:"type,omitempty"` Rank int32 `protobuf:"varint,5,opt,name=rank,proto3" json:"rank,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Types that are assignable to Rule: // // *Rollout_Segment // *Rollout_Threshold Rule isRollout_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
func (*Rollout) Descriptor
deprecated
added in
v1.24.0
func (*Rollout) GetCreatedAt ¶ added in v1.24.0
func (x *Rollout) GetCreatedAt() *timestamppb.Timestamp
func (*Rollout) GetDescription ¶ added in v1.24.0
func (*Rollout) GetFlagKey ¶ added in v1.24.0
func (*Rollout) GetNamespaceKey ¶ added in v1.24.0
func (*Rollout) GetSegment ¶ added in v1.24.0
func (x *Rollout) GetSegment() *RolloutSegment
func (*Rollout) GetThreshold ¶ added in v1.24.0
func (x *Rollout) GetThreshold() *RolloutThreshold
func (*Rollout) GetType ¶ added in v1.24.0
func (x *Rollout) GetType() RolloutType
func (*Rollout) GetUpdatedAt ¶ added in v1.24.0
func (x *Rollout) GetUpdatedAt() *timestamppb.Timestamp
func (*Rollout) ProtoMessage ¶ added in v1.24.0
func (*Rollout) ProtoMessage()
func (*Rollout) ProtoReflect ¶ added in v1.24.0
func (x *Rollout) ProtoReflect() protoreflect.Message
type RolloutList ¶ added in v1.24.0
type RolloutList struct { Rules []*Rollout `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*RolloutList) Descriptor
deprecated
added in
v1.24.0
func (*RolloutList) Descriptor() ([]byte, []int)
Deprecated: Use RolloutList.ProtoReflect.Descriptor instead.
func (*RolloutList) GetNextPageToken ¶ added in v1.24.0
func (x *RolloutList) GetNextPageToken() string
func (*RolloutList) GetRules ¶ added in v1.24.0
func (x *RolloutList) GetRules() []*Rollout
func (*RolloutList) GetTotalCount ¶ added in v1.24.0
func (x *RolloutList) GetTotalCount() int32
func (*RolloutList) ProtoMessage ¶ added in v1.24.0
func (*RolloutList) ProtoMessage()
func (*RolloutList) ProtoReflect ¶ added in v1.24.0
func (x *RolloutList) ProtoReflect() protoreflect.Message
func (*RolloutList) Reset ¶ added in v1.24.0
func (x *RolloutList) Reset()
func (*RolloutList) String ¶ added in v1.24.0
func (x *RolloutList) String() string
type RolloutSegment ¶ added in v1.24.0
type RolloutSegment struct { // Deprecated: Marked as deprecated in flipt.proto. SegmentKey string `protobuf:"bytes,1,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` SegmentKeys []string `protobuf:"bytes,3,rep,name=segment_keys,json=segmentKeys,proto3" json:"segment_keys,omitempty"` SegmentOperator SegmentOperator `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RolloutSegment) Descriptor
deprecated
added in
v1.24.0
func (*RolloutSegment) Descriptor() ([]byte, []int)
Deprecated: Use RolloutSegment.ProtoReflect.Descriptor instead.
func (*RolloutSegment) GetSegmentKey
deprecated
added in
v1.24.0
func (x *RolloutSegment) GetSegmentKey() string
Deprecated: Marked as deprecated in flipt.proto.
func (*RolloutSegment) GetSegmentKeys ¶ added in v1.25.0
func (x *RolloutSegment) GetSegmentKeys() []string
func (*RolloutSegment) GetSegmentOperator ¶ added in v1.25.0
func (x *RolloutSegment) GetSegmentOperator() SegmentOperator
func (*RolloutSegment) GetValue ¶ added in v1.24.0
func (x *RolloutSegment) GetValue() bool
func (*RolloutSegment) ProtoMessage ¶ added in v1.24.0
func (*RolloutSegment) ProtoMessage()
func (*RolloutSegment) ProtoReflect ¶ added in v1.24.0
func (x *RolloutSegment) ProtoReflect() protoreflect.Message
func (*RolloutSegment) Reset ¶ added in v1.24.0
func (x *RolloutSegment) Reset()
func (*RolloutSegment) String ¶ added in v1.24.0
func (x *RolloutSegment) String() string
type RolloutThreshold ¶ added in v1.24.0
type RolloutThreshold 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 (*RolloutThreshold) Descriptor
deprecated
added in
v1.24.0
func (*RolloutThreshold) Descriptor() ([]byte, []int)
Deprecated: Use RolloutThreshold.ProtoReflect.Descriptor instead.
func (*RolloutThreshold) GetPercentage ¶ added in v1.24.0
func (x *RolloutThreshold) GetPercentage() float32
func (*RolloutThreshold) GetValue ¶ added in v1.24.0
func (x *RolloutThreshold) GetValue() bool
func (*RolloutThreshold) ProtoMessage ¶ added in v1.24.0
func (*RolloutThreshold) ProtoMessage()
func (*RolloutThreshold) ProtoReflect ¶ added in v1.24.0
func (x *RolloutThreshold) ProtoReflect() protoreflect.Message
func (*RolloutThreshold) Reset ¶ added in v1.24.0
func (x *RolloutThreshold) Reset()
func (*RolloutThreshold) String ¶ added in v1.24.0
func (x *RolloutThreshold) String() string
type RolloutType ¶ added in v1.24.0
type RolloutType int32
const ( RolloutType_UNKNOWN_ROLLOUT_TYPE RolloutType = 0 RolloutType_SEGMENT_ROLLOUT_TYPE RolloutType = 1 RolloutType_THRESHOLD_ROLLOUT_TYPE RolloutType = 2 )
func (RolloutType) Descriptor ¶ added in v1.24.0
func (RolloutType) Descriptor() protoreflect.EnumDescriptor
func (RolloutType) Enum ¶ added in v1.24.0
func (x RolloutType) Enum() *RolloutType
func (RolloutType) EnumDescriptor
deprecated
added in
v1.24.0
func (RolloutType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RolloutType.Descriptor instead.
func (RolloutType) Number ¶ added in v1.24.0
func (x RolloutType) Number() protoreflect.EnumNumber
func (RolloutType) String ¶ added in v1.24.0
func (x RolloutType) String() string
func (RolloutType) Type ¶ added in v1.24.0
func (RolloutType) Type() protoreflect.EnumType
type Rollout_Segment ¶ added in v1.24.0
type Rollout_Segment struct {
Segment *RolloutSegment `protobuf:"bytes,20,opt,name=segment,proto3,oneof"`
}
type Rollout_Threshold ¶ added in v1.24.0
type Rollout_Threshold struct {
Threshold *RolloutThreshold `protobuf:"bytes,21,opt,name=threshold,proto3,oneof"`
}
type Rule ¶
type Rule struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` SegmentKey string `protobuf:"bytes,3,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` Distributions []*Distribution `protobuf:"bytes,4,rep,name=distributions,proto3" json:"distributions,omitempty"` Rank int32 `protobuf:"varint,5,opt,name=rank,proto3" json:"rank,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"` NamespaceKey string `protobuf:"bytes,8,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` SegmentKeys []string `protobuf:"bytes,9,rep,name=segment_keys,json=segmentKeys,proto3" json:"segment_keys,omitempty"` SegmentOperator SegmentOperator `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetCreatedAt ¶
func (x *Rule) GetCreatedAt() *timestamppb.Timestamp
func (*Rule) GetDistributions ¶
func (x *Rule) GetDistributions() []*Distribution
func (*Rule) GetFlagKey ¶
func (*Rule) GetNamespaceKey ¶ added in v1.20.0
func (*Rule) GetSegmentKey ¶
func (*Rule) GetSegmentKeys ¶ added in v1.25.0
func (*Rule) GetSegmentOperator ¶ added in v1.25.0
func (x *Rule) GetSegmentOperator() SegmentOperator
func (*Rule) GetUpdatedAt ¶
func (x *Rule) GetUpdatedAt() *timestamppb.Timestamp
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
type RuleList ¶
type RuleList struct { Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*RuleList) Descriptor
deprecated
func (*RuleList) GetNextPageToken ¶
func (*RuleList) GetTotalCount ¶
func (*RuleList) ProtoMessage ¶
func (*RuleList) ProtoMessage()
func (*RuleList) ProtoReflect ¶
func (x *RuleList) ProtoReflect() protoreflect.Message
type Segment ¶
type Segment 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"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Constraints []*Constraint `protobuf:"bytes,6,rep,name=constraints,proto3" json:"constraints,omitempty"` MatchType MatchType `protobuf:"varint,7,opt,name=match_type,json=matchType,proto3,enum=flipt.MatchType" json:"match_type,omitempty"` NamespaceKey string `protobuf:"bytes,8,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*Segment) Descriptor
deprecated
func (*Segment) GetConstraints ¶
func (x *Segment) GetConstraints() []*Constraint
func (*Segment) GetCreatedAt ¶
func (x *Segment) GetCreatedAt() *timestamppb.Timestamp
func (*Segment) GetDescription ¶
func (*Segment) GetMatchType ¶
func (*Segment) GetNamespaceKey ¶ added in v1.20.0
func (*Segment) GetUpdatedAt ¶
func (x *Segment) GetUpdatedAt() *timestamppb.Timestamp
func (*Segment) ProtoMessage ¶
func (*Segment) ProtoMessage()
func (*Segment) ProtoReflect ¶
func (x *Segment) ProtoReflect() protoreflect.Message
type SegmentList ¶
type SegmentList struct { Segments []*Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*SegmentList) Descriptor
deprecated
func (*SegmentList) Descriptor() ([]byte, []int)
Deprecated: Use SegmentList.ProtoReflect.Descriptor instead.
func (*SegmentList) GetNextPageToken ¶
func (x *SegmentList) GetNextPageToken() string
func (*SegmentList) GetSegments ¶
func (x *SegmentList) GetSegments() []*Segment
func (*SegmentList) GetTotalCount ¶
func (x *SegmentList) GetTotalCount() int32
func (*SegmentList) ProtoMessage ¶
func (*SegmentList) ProtoMessage()
func (*SegmentList) ProtoReflect ¶
func (x *SegmentList) ProtoReflect() protoreflect.Message
func (*SegmentList) Reset ¶
func (x *SegmentList) Reset()
func (*SegmentList) String ¶
func (x *SegmentList) String() string
type SegmentOperator ¶ added in v1.25.0
type SegmentOperator int32
const ( SegmentOperator_OR_SEGMENT_OPERATOR SegmentOperator = 0 SegmentOperator_AND_SEGMENT_OPERATOR SegmentOperator = 1 )
func (SegmentOperator) Descriptor ¶ added in v1.25.0
func (SegmentOperator) Descriptor() protoreflect.EnumDescriptor
func (SegmentOperator) Enum ¶ added in v1.25.0
func (x SegmentOperator) Enum() *SegmentOperator
func (SegmentOperator) EnumDescriptor
deprecated
added in
v1.25.0
func (SegmentOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use SegmentOperator.Descriptor instead.
func (SegmentOperator) Number ¶ added in v1.25.0
func (x SegmentOperator) Number() protoreflect.EnumNumber
func (SegmentOperator) String ¶ added in v1.25.0
func (x SegmentOperator) String() string
func (SegmentOperator) Type ¶ added in v1.25.0
func (SegmentOperator) Type() protoreflect.EnumType
type UnimplementedFliptServer ¶
type UnimplementedFliptServer struct { }
UnimplementedFliptServer must be embedded to have forward compatible implementations.
func (UnimplementedFliptServer) BatchEvaluate ¶
func (UnimplementedFliptServer) BatchEvaluate(context.Context, *BatchEvaluationRequest) (*BatchEvaluationResponse, error)
func (UnimplementedFliptServer) CreateConstraint ¶
func (UnimplementedFliptServer) CreateConstraint(context.Context, *CreateConstraintRequest) (*Constraint, error)
func (UnimplementedFliptServer) CreateDistribution ¶
func (UnimplementedFliptServer) CreateDistribution(context.Context, *CreateDistributionRequest) (*Distribution, error)
func (UnimplementedFliptServer) CreateFlag ¶
func (UnimplementedFliptServer) CreateFlag(context.Context, *CreateFlagRequest) (*Flag, error)
func (UnimplementedFliptServer) CreateNamespace ¶ added in v1.20.0
func (UnimplementedFliptServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error)
func (UnimplementedFliptServer) CreateRollout ¶ added in v1.24.0
func (UnimplementedFliptServer) CreateRollout(context.Context, *CreateRolloutRequest) (*Rollout, error)
func (UnimplementedFliptServer) CreateRule ¶
func (UnimplementedFliptServer) CreateRule(context.Context, *CreateRuleRequest) (*Rule, error)
func (UnimplementedFliptServer) CreateSegment ¶
func (UnimplementedFliptServer) CreateSegment(context.Context, *CreateSegmentRequest) (*Segment, error)
func (UnimplementedFliptServer) CreateVariant ¶
func (UnimplementedFliptServer) CreateVariant(context.Context, *CreateVariantRequest) (*Variant, error)
func (UnimplementedFliptServer) DeleteConstraint ¶
func (UnimplementedFliptServer) DeleteConstraint(context.Context, *DeleteConstraintRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) DeleteDistribution ¶
func (UnimplementedFliptServer) DeleteDistribution(context.Context, *DeleteDistributionRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) DeleteFlag ¶
func (UnimplementedFliptServer) DeleteFlag(context.Context, *DeleteFlagRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) DeleteNamespace ¶ added in v1.20.0
func (UnimplementedFliptServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) DeleteRollout ¶ added in v1.24.0
func (UnimplementedFliptServer) DeleteRollout(context.Context, *DeleteRolloutRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) DeleteRule ¶
func (UnimplementedFliptServer) DeleteRule(context.Context, *DeleteRuleRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) DeleteSegment ¶
func (UnimplementedFliptServer) DeleteSegment(context.Context, *DeleteSegmentRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) DeleteVariant ¶
func (UnimplementedFliptServer) DeleteVariant(context.Context, *DeleteVariantRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) Evaluate ¶
func (UnimplementedFliptServer) Evaluate(context.Context, *EvaluationRequest) (*EvaluationResponse, error)
func (UnimplementedFliptServer) GetFlag ¶
func (UnimplementedFliptServer) GetFlag(context.Context, *GetFlagRequest) (*Flag, error)
func (UnimplementedFliptServer) GetNamespace ¶ added in v1.20.0
func (UnimplementedFliptServer) GetNamespace(context.Context, *GetNamespaceRequest) (*Namespace, error)
func (UnimplementedFliptServer) GetRollout ¶ added in v1.24.0
func (UnimplementedFliptServer) GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error)
func (UnimplementedFliptServer) GetRule ¶
func (UnimplementedFliptServer) GetRule(context.Context, *GetRuleRequest) (*Rule, error)
func (UnimplementedFliptServer) GetSegment ¶
func (UnimplementedFliptServer) GetSegment(context.Context, *GetSegmentRequest) (*Segment, error)
func (UnimplementedFliptServer) ListFlags ¶
func (UnimplementedFliptServer) ListFlags(context.Context, *ListFlagRequest) (*FlagList, error)
func (UnimplementedFliptServer) ListNamespaces ¶ added in v1.20.0
func (UnimplementedFliptServer) ListNamespaces(context.Context, *ListNamespaceRequest) (*NamespaceList, error)
func (UnimplementedFliptServer) ListRollouts ¶ added in v1.24.0
func (UnimplementedFliptServer) ListRollouts(context.Context, *ListRolloutRequest) (*RolloutList, error)
func (UnimplementedFliptServer) ListRules ¶
func (UnimplementedFliptServer) ListRules(context.Context, *ListRuleRequest) (*RuleList, error)
func (UnimplementedFliptServer) ListSegments ¶
func (UnimplementedFliptServer) ListSegments(context.Context, *ListSegmentRequest) (*SegmentList, error)
func (UnimplementedFliptServer) OrderRollouts ¶ added in v1.24.0
func (UnimplementedFliptServer) OrderRollouts(context.Context, *OrderRolloutsRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) OrderRules ¶
func (UnimplementedFliptServer) OrderRules(context.Context, *OrderRulesRequest) (*emptypb.Empty, error)
func (UnimplementedFliptServer) UpdateConstraint ¶
func (UnimplementedFliptServer) UpdateConstraint(context.Context, *UpdateConstraintRequest) (*Constraint, error)
func (UnimplementedFliptServer) UpdateDistribution ¶
func (UnimplementedFliptServer) UpdateDistribution(context.Context, *UpdateDistributionRequest) (*Distribution, error)
func (UnimplementedFliptServer) UpdateFlag ¶
func (UnimplementedFliptServer) UpdateFlag(context.Context, *UpdateFlagRequest) (*Flag, error)
func (UnimplementedFliptServer) UpdateNamespace ¶ added in v1.20.0
func (UnimplementedFliptServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*Namespace, error)
func (UnimplementedFliptServer) UpdateRollout ¶ added in v1.24.0
func (UnimplementedFliptServer) UpdateRollout(context.Context, *UpdateRolloutRequest) (*Rollout, error)
func (UnimplementedFliptServer) UpdateRule ¶
func (UnimplementedFliptServer) UpdateRule(context.Context, *UpdateRuleRequest) (*Rule, error)
func (UnimplementedFliptServer) UpdateSegment ¶
func (UnimplementedFliptServer) UpdateSegment(context.Context, *UpdateSegmentRequest) (*Segment, error)
func (UnimplementedFliptServer) UpdateVariant ¶
func (UnimplementedFliptServer) UpdateVariant(context.Context, *UpdateVariantRequest) (*Variant, error)
type UnsafeFliptServer ¶
type UnsafeFliptServer interface {
// contains filtered or unexported methods
}
UnsafeFliptServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FliptServer will result in compilation errors.
type UpdateConstraintRequest ¶
type UpdateConstraintRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SegmentKey string `protobuf:"bytes,2,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` Type ComparisonType `protobuf:"varint,3,opt,name=type,proto3,enum=flipt.ComparisonType" json:"type,omitempty"` Property string `protobuf:"bytes,4,opt,name=property,proto3" json:"property,omitempty"` Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"` Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` NamespaceKey string `protobuf:"bytes,7,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateConstraintRequest) Descriptor
deprecated
func (*UpdateConstraintRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConstraintRequest.ProtoReflect.Descriptor instead.
func (*UpdateConstraintRequest) GetDescription ¶ added in v1.22.0
func (x *UpdateConstraintRequest) GetDescription() string
func (*UpdateConstraintRequest) GetId ¶
func (x *UpdateConstraintRequest) GetId() string
func (*UpdateConstraintRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *UpdateConstraintRequest) GetNamespaceKey() string
func (*UpdateConstraintRequest) GetOperator ¶
func (x *UpdateConstraintRequest) GetOperator() string
func (*UpdateConstraintRequest) GetProperty ¶
func (x *UpdateConstraintRequest) GetProperty() string
func (*UpdateConstraintRequest) GetSegmentKey ¶
func (x *UpdateConstraintRequest) GetSegmentKey() string
func (*UpdateConstraintRequest) GetType ¶
func (x *UpdateConstraintRequest) GetType() ComparisonType
func (*UpdateConstraintRequest) GetValue ¶
func (x *UpdateConstraintRequest) GetValue() string
func (*UpdateConstraintRequest) ProtoMessage ¶
func (*UpdateConstraintRequest) ProtoMessage()
func (*UpdateConstraintRequest) ProtoReflect ¶
func (x *UpdateConstraintRequest) ProtoReflect() protoreflect.Message
func (*UpdateConstraintRequest) Reset ¶
func (x *UpdateConstraintRequest) Reset()
func (*UpdateConstraintRequest) String ¶
func (x *UpdateConstraintRequest) String() string
func (*UpdateConstraintRequest) Validate ¶
func (req *UpdateConstraintRequest) Validate() error
type UpdateDistributionRequest ¶
type UpdateDistributionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` RuleId string `protobuf:"bytes,3,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` VariantId string `protobuf:"bytes,4,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"` Rollout float32 `protobuf:"fixed32,5,opt,name=rollout,proto3" json:"rollout,omitempty"` NamespaceKey string `protobuf:"bytes,6,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*UpdateDistributionRequest) Descriptor
deprecated
func (*UpdateDistributionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDistributionRequest.ProtoReflect.Descriptor instead.
func (*UpdateDistributionRequest) GetFlagKey ¶
func (x *UpdateDistributionRequest) GetFlagKey() string
func (*UpdateDistributionRequest) GetId ¶
func (x *UpdateDistributionRequest) GetId() string
func (*UpdateDistributionRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *UpdateDistributionRequest) GetNamespaceKey() string
func (*UpdateDistributionRequest) GetRollout ¶
func (x *UpdateDistributionRequest) GetRollout() float32
func (*UpdateDistributionRequest) GetRuleId ¶
func (x *UpdateDistributionRequest) GetRuleId() string
func (*UpdateDistributionRequest) GetVariantId ¶
func (x *UpdateDistributionRequest) GetVariantId() string
func (*UpdateDistributionRequest) ProtoMessage ¶
func (*UpdateDistributionRequest) ProtoMessage()
func (*UpdateDistributionRequest) ProtoReflect ¶
func (x *UpdateDistributionRequest) ProtoReflect() protoreflect.Message
func (*UpdateDistributionRequest) Reset ¶
func (x *UpdateDistributionRequest) Reset()
func (*UpdateDistributionRequest) String ¶
func (x *UpdateDistributionRequest) String() string
func (*UpdateDistributionRequest) Validate ¶
func (req *UpdateDistributionRequest) Validate() error
type UpdateFlagRequest ¶
type UpdateFlagRequest 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"` NamespaceKey string `protobuf:"bytes,5,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*UpdateFlagRequest) Descriptor
deprecated
func (*UpdateFlagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFlagRequest.ProtoReflect.Descriptor instead.
func (*UpdateFlagRequest) GetDescription ¶
func (x *UpdateFlagRequest) GetDescription() string
func (*UpdateFlagRequest) GetEnabled ¶
func (x *UpdateFlagRequest) GetEnabled() bool
func (*UpdateFlagRequest) GetKey ¶
func (x *UpdateFlagRequest) GetKey() string
func (*UpdateFlagRequest) GetName ¶
func (x *UpdateFlagRequest) GetName() string
func (*UpdateFlagRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *UpdateFlagRequest) GetNamespaceKey() string
func (*UpdateFlagRequest) ProtoMessage ¶
func (*UpdateFlagRequest) ProtoMessage()
func (*UpdateFlagRequest) ProtoReflect ¶
func (x *UpdateFlagRequest) ProtoReflect() protoreflect.Message
func (*UpdateFlagRequest) Reset ¶
func (x *UpdateFlagRequest) Reset()
func (*UpdateFlagRequest) String ¶
func (x *UpdateFlagRequest) String() string
func (*UpdateFlagRequest) Validate ¶
func (req *UpdateFlagRequest) Validate() error
type UpdateNamespaceRequest ¶ added in v1.20.0
type UpdateNamespaceRequest 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"` // contains filtered or unexported fields }
func (*UpdateNamespaceRequest) Descriptor
deprecated
added in
v1.20.0
func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateNamespaceRequest) GetDescription ¶ added in v1.20.0
func (x *UpdateNamespaceRequest) GetDescription() string
func (*UpdateNamespaceRequest) GetKey ¶ added in v1.20.0
func (x *UpdateNamespaceRequest) GetKey() string
func (*UpdateNamespaceRequest) GetName ¶ added in v1.20.0
func (x *UpdateNamespaceRequest) GetName() string
func (*UpdateNamespaceRequest) GetNamespaceKey ¶ added in v1.31.0
func (req *UpdateNamespaceRequest) GetNamespaceKey() string
func (*UpdateNamespaceRequest) ProtoMessage ¶ added in v1.20.0
func (*UpdateNamespaceRequest) ProtoMessage()
func (*UpdateNamespaceRequest) ProtoReflect ¶ added in v1.20.0
func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateNamespaceRequest) Reset ¶ added in v1.20.0
func (x *UpdateNamespaceRequest) Reset()
func (*UpdateNamespaceRequest) String ¶ added in v1.20.0
func (x *UpdateNamespaceRequest) String() string
func (*UpdateNamespaceRequest) Validate ¶ added in v1.20.0
func (req *UpdateNamespaceRequest) Validate() error
type UpdateRolloutRequest ¶ added in v1.24.0
type UpdateRolloutRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"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"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Types that are assignable to Rule: // // *UpdateRolloutRequest_Segment // *UpdateRolloutRequest_Threshold Rule isUpdateRolloutRequest_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
func (*UpdateRolloutRequest) Descriptor
deprecated
added in
v1.24.0
func (*UpdateRolloutRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRolloutRequest.ProtoReflect.Descriptor instead.
func (*UpdateRolloutRequest) GetDescription ¶ added in v1.24.0
func (x *UpdateRolloutRequest) GetDescription() string
func (*UpdateRolloutRequest) GetFlagKey ¶ added in v1.24.0
func (x *UpdateRolloutRequest) GetFlagKey() string
func (*UpdateRolloutRequest) GetId ¶ added in v1.24.0
func (x *UpdateRolloutRequest) GetId() string
func (*UpdateRolloutRequest) GetNamespaceKey ¶ added in v1.24.0
func (x *UpdateRolloutRequest) GetNamespaceKey() string
func (*UpdateRolloutRequest) GetRule ¶ added in v1.24.0
func (m *UpdateRolloutRequest) GetRule() isUpdateRolloutRequest_Rule
func (*UpdateRolloutRequest) GetSegment ¶ added in v1.24.0
func (x *UpdateRolloutRequest) GetSegment() *RolloutSegment
func (*UpdateRolloutRequest) GetThreshold ¶ added in v1.24.0
func (x *UpdateRolloutRequest) GetThreshold() *RolloutThreshold
func (*UpdateRolloutRequest) ProtoMessage ¶ added in v1.24.0
func (*UpdateRolloutRequest) ProtoMessage()
func (*UpdateRolloutRequest) ProtoReflect ¶ added in v1.24.0
func (x *UpdateRolloutRequest) ProtoReflect() protoreflect.Message
func (*UpdateRolloutRequest) Reset ¶ added in v1.24.0
func (x *UpdateRolloutRequest) Reset()
func (*UpdateRolloutRequest) String ¶ added in v1.24.0
func (x *UpdateRolloutRequest) String() string
func (*UpdateRolloutRequest) Validate ¶ added in v1.24.0
func (req *UpdateRolloutRequest) Validate() error
type UpdateRolloutRequest_Segment ¶ added in v1.24.0
type UpdateRolloutRequest_Segment struct {
Segment *RolloutSegment `protobuf:"bytes,20,opt,name=segment,proto3,oneof"`
}
type UpdateRolloutRequest_Threshold ¶ added in v1.24.0
type UpdateRolloutRequest_Threshold struct {
Threshold *RolloutThreshold `protobuf:"bytes,21,opt,name=threshold,proto3,oneof"`
}
type UpdateRuleRequest ¶
type UpdateRuleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` // Deprecated: Marked as deprecated in flipt.proto. SegmentKey string `protobuf:"bytes,3,opt,name=segment_key,json=segmentKey,proto3" json:"segment_key,omitempty"` NamespaceKey string `protobuf:"bytes,4,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` SegmentKeys []string `protobuf:"bytes,5,rep,name=segment_keys,json=segmentKeys,proto3" json:"segment_keys,omitempty"` SegmentOperator SegmentOperator `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateRuleRequest) Descriptor
deprecated
func (*UpdateRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuleRequest) GetFlagKey ¶
func (x *UpdateRuleRequest) GetFlagKey() string
func (*UpdateRuleRequest) GetId ¶
func (x *UpdateRuleRequest) GetId() string
func (*UpdateRuleRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *UpdateRuleRequest) GetNamespaceKey() string
func (*UpdateRuleRequest) GetSegmentKey
deprecated
func (x *UpdateRuleRequest) GetSegmentKey() string
Deprecated: Marked as deprecated in flipt.proto.
func (*UpdateRuleRequest) GetSegmentKeys ¶ added in v1.25.0
func (x *UpdateRuleRequest) GetSegmentKeys() []string
func (*UpdateRuleRequest) GetSegmentOperator ¶ added in v1.25.0
func (x *UpdateRuleRequest) GetSegmentOperator() SegmentOperator
func (*UpdateRuleRequest) ProtoMessage ¶
func (*UpdateRuleRequest) ProtoMessage()
func (*UpdateRuleRequest) ProtoReflect ¶
func (x *UpdateRuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateRuleRequest) Reset ¶
func (x *UpdateRuleRequest) Reset()
func (*UpdateRuleRequest) String ¶
func (x *UpdateRuleRequest) String() string
func (*UpdateRuleRequest) Validate ¶
func (req *UpdateRuleRequest) Validate() error
type UpdateSegmentRequest ¶
type UpdateSegmentRequest 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 MatchType `protobuf:"varint,4,opt,name=match_type,json=matchType,proto3,enum=flipt.MatchType" json:"match_type,omitempty"` NamespaceKey string `protobuf:"bytes,5,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*UpdateSegmentRequest) Descriptor
deprecated
func (*UpdateSegmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSegmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateSegmentRequest) GetDescription ¶
func (x *UpdateSegmentRequest) GetDescription() string
func (*UpdateSegmentRequest) GetKey ¶
func (x *UpdateSegmentRequest) GetKey() string
func (*UpdateSegmentRequest) GetMatchType ¶
func (x *UpdateSegmentRequest) GetMatchType() MatchType
func (*UpdateSegmentRequest) GetName ¶
func (x *UpdateSegmentRequest) GetName() string
func (*UpdateSegmentRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *UpdateSegmentRequest) GetNamespaceKey() string
func (*UpdateSegmentRequest) ProtoMessage ¶
func (*UpdateSegmentRequest) ProtoMessage()
func (*UpdateSegmentRequest) ProtoReflect ¶
func (x *UpdateSegmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateSegmentRequest) Reset ¶
func (x *UpdateSegmentRequest) Reset()
func (*UpdateSegmentRequest) String ¶
func (x *UpdateSegmentRequest) String() string
func (*UpdateSegmentRequest) Validate ¶
func (req *UpdateSegmentRequest) Validate() error
type UpdateVariantRequest ¶
type UpdateVariantRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Attachment string `protobuf:"bytes,6,opt,name=attachment,proto3" json:"attachment,omitempty"` NamespaceKey string `protobuf:"bytes,7,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*UpdateVariantRequest) Descriptor
deprecated
func (*UpdateVariantRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVariantRequest.ProtoReflect.Descriptor instead.
func (*UpdateVariantRequest) GetAttachment ¶
func (x *UpdateVariantRequest) GetAttachment() string
func (*UpdateVariantRequest) GetDescription ¶
func (x *UpdateVariantRequest) GetDescription() string
func (*UpdateVariantRequest) GetFlagKey ¶
func (x *UpdateVariantRequest) GetFlagKey() string
func (*UpdateVariantRequest) GetId ¶
func (x *UpdateVariantRequest) GetId() string
func (*UpdateVariantRequest) GetKey ¶
func (x *UpdateVariantRequest) GetKey() string
func (*UpdateVariantRequest) GetName ¶
func (x *UpdateVariantRequest) GetName() string
func (*UpdateVariantRequest) GetNamespaceKey ¶ added in v1.20.0
func (x *UpdateVariantRequest) GetNamespaceKey() string
func (*UpdateVariantRequest) ProtoMessage ¶
func (*UpdateVariantRequest) ProtoMessage()
func (*UpdateVariantRequest) ProtoReflect ¶
func (x *UpdateVariantRequest) ProtoReflect() protoreflect.Message
func (*UpdateVariantRequest) Reset ¶
func (x *UpdateVariantRequest) Reset()
func (*UpdateVariantRequest) String ¶
func (x *UpdateVariantRequest) String() string
func (*UpdateVariantRequest) Validate ¶
func (req *UpdateVariantRequest) Validate() error
type V1toV2MarshallerAdapter ¶
type V1toV2MarshallerAdapter struct { *grpc_gateway_v1.JSONPb // contains filtered or unexported fields }
V1toV2MarshallerAdapter is a V1 to V2 marshaller adapter to be able to use the v1 marshaller from grpc-gateway v2.
This is required to fix a backwards compatibility issue with the v2 marshaller where `null` map values cause an error because they are not allowed by the proto spec, but they were handled by the v1 marshaller.
See: https://github.com/flipt-io/flipt/issues/664
TODO: remove this custom marshaller for Flipt API v2 as we want to use the default v2 marshaller directly.
func NewV1toV2MarshallerAdapter ¶
func NewV1toV2MarshallerAdapter(logger *zap.Logger) *V1toV2MarshallerAdapter
func (*V1toV2MarshallerAdapter) ContentType ¶
func (m *V1toV2MarshallerAdapter) ContentType(_ interface{}) string
func (*V1toV2MarshallerAdapter) Marshal ¶
func (m *V1toV2MarshallerAdapter) Marshal(v interface{}) ([]byte, error)
func (*V1toV2MarshallerAdapter) NewDecoder ¶
func (m *V1toV2MarshallerAdapter) NewDecoder(r io.Reader) grpc_gateway_v2.Decoder
func (*V1toV2MarshallerAdapter) NewEncoder ¶
func (m *V1toV2MarshallerAdapter) NewEncoder(w io.Writer) grpc_gateway_v2.Encoder
type Variant ¶
type Variant struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FlagKey string `protobuf:"bytes,2,opt,name=flag_key,json=flagKey,proto3" json:"flag_key,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,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"` Attachment string `protobuf:"bytes,8,opt,name=attachment,proto3" json:"attachment,omitempty"` NamespaceKey string `protobuf:"bytes,9,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*Variant) Descriptor
deprecated
func (*Variant) GetAttachment ¶
func (*Variant) GetCreatedAt ¶
func (x *Variant) GetCreatedAt() *timestamppb.Timestamp
func (*Variant) GetDescription ¶
func (*Variant) GetFlagKey ¶
func (*Variant) GetNamespaceKey ¶ added in v1.20.0
func (*Variant) GetUpdatedAt ¶
func (x *Variant) GetUpdatedAt() *timestamppb.Timestamp
func (*Variant) ProtoMessage ¶
func (*Variant) ProtoMessage()
func (*Variant) ProtoReflect ¶
func (x *Variant) ProtoReflect() protoreflect.Message
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package analytics is a reverse proxy.
|
Package analytics is a reverse proxy. |
Package auth is a reverse proxy.
|
Package auth is a reverse proxy. |
Package evaluation is a reverse proxy.
|
Package evaluation is a reverse proxy. |
Package meta is a reverse proxy.
|
Package meta is a reverse proxy. |