Documentation ¶
Index ¶
- type FeatureService
- func (s *FeatureService) AddSegmentUser(ctx context.Context, req *featureproto.AddSegmentUserRequest) (*featureproto.AddSegmentUserResponse, error)
- func (s *FeatureService) ArchiveFeature(ctx context.Context, req *featureproto.ArchiveFeatureRequest) (*featureproto.ArchiveFeatureResponse, error)
- func (s *FeatureService) BulkDownloadSegmentUsers(ctx context.Context, req *featureproto.BulkDownloadSegmentUsersRequest) (*featureproto.BulkDownloadSegmentUsersResponse, error)
- func (s *FeatureService) BulkUploadSegmentUsers(ctx context.Context, req *featureproto.BulkUploadSegmentUsersRequest) (*featureproto.BulkUploadSegmentUsersResponse, error)
- func (s *FeatureService) CloneFeature(ctx context.Context, req *featureproto.CloneFeatureRequest) (*featureproto.CloneFeatureResponse, error)
- func (s *FeatureService) CreateFeature(ctx context.Context, req *featureproto.CreateFeatureRequest) (*featureproto.CreateFeatureResponse, error)
- func (s *FeatureService) CreateFlagTrigger(ctx context.Context, request *featureproto.CreateFlagTriggerRequest) (*featureproto.CreateFlagTriggerResponse, error)
- func (s *FeatureService) CreateSegment(ctx context.Context, req *featureproto.CreateSegmentRequest) (*featureproto.CreateSegmentResponse, error)
- func (s *FeatureService) DeleteFeature(ctx context.Context, req *featureproto.DeleteFeatureRequest) (*featureproto.DeleteFeatureResponse, error)
- func (s *FeatureService) DeleteFlagTrigger(ctx context.Context, request *featureproto.DeleteFlagTriggerRequest) (*featureproto.DeleteFlagTriggerResponse, error)
- func (s *FeatureService) DeleteSegment(ctx context.Context, req *featureproto.DeleteSegmentRequest) (*featureproto.DeleteSegmentResponse, error)
- func (s *FeatureService) DeleteSegmentUser(ctx context.Context, req *featureproto.DeleteSegmentUserRequest) (*featureproto.DeleteSegmentUserResponse, error)
- func (s *FeatureService) DisableFeature(ctx context.Context, req *featureproto.DisableFeatureRequest) (*featureproto.DisableFeatureResponse, error)
- func (s *FeatureService) DisableFlagTrigger(ctx context.Context, request *featureproto.DisableFlagTriggerRequest) (*featureproto.DisableFlagTriggerResponse, error)
- func (s *FeatureService) EnableFeature(ctx context.Context, req *featureproto.EnableFeatureRequest) (*featureproto.EnableFeatureResponse, error)
- func (s *FeatureService) EnableFlagTrigger(ctx context.Context, request *featureproto.EnableFlagTriggerRequest) (*featureproto.EnableFlagTriggerResponse, error)
- func (s *FeatureService) EvaluateFeatures(ctx context.Context, req *featureproto.EvaluateFeaturesRequest) (*featureproto.EvaluateFeaturesResponse, error)
- func (s *FeatureService) FlagTriggerWebhook(ctx context.Context, request *featureproto.FlagTriggerWebhookRequest) (*featureproto.FlagTriggerWebhookResponse, error)
- func (s *FeatureService) GetFeature(ctx context.Context, req *featureproto.GetFeatureRequest) (*featureproto.GetFeatureResponse, error)
- func (s *FeatureService) GetFeatures(ctx context.Context, req *featureproto.GetFeaturesRequest) (*featureproto.GetFeaturesResponse, error)
- func (s *FeatureService) GetFlagTrigger(ctx context.Context, request *featureproto.GetFlagTriggerRequest) (*featureproto.GetFlagTriggerResponse, error)
- func (s *FeatureService) GetSegment(ctx context.Context, req *featureproto.GetSegmentRequest) (*featureproto.GetSegmentResponse, error)
- func (s *FeatureService) GetSegmentUser(ctx context.Context, req *featureproto.GetSegmentUserRequest) (*featureproto.GetSegmentUserResponse, error)
- func (s *FeatureService) ListEnabledFeatures(ctx context.Context, req *featureproto.ListEnabledFeaturesRequest) (*featureproto.ListEnabledFeaturesResponse, error)
- func (s *FeatureService) ListFeatures(ctx context.Context, req *featureproto.ListFeaturesRequest) (*featureproto.ListFeaturesResponse, error)
- func (s *FeatureService) ListFlagTriggers(ctx context.Context, request *featureproto.ListFlagTriggersRequest) (*featureproto.ListFlagTriggersResponse, error)
- func (s *FeatureService) ListSegmentUsers(ctx context.Context, req *featureproto.ListSegmentUsersRequest) (*featureproto.ListSegmentUsersResponse, error)
- func (s *FeatureService) ListSegments(ctx context.Context, req *featureproto.ListSegmentsRequest) (*featureproto.ListSegmentsResponse, error)
- func (s *FeatureService) ListTags(ctx context.Context, req *featureproto.ListTagsRequest) (*featureproto.ListTagsResponse, error)
- func (s *FeatureService) Register(server *grpc.Server)
- func (s *FeatureService) ResetFlagTrigger(ctx context.Context, request *featureproto.ResetFlagTriggerRequest) (*featureproto.ResetFlagTriggerResponse, error)
- func (s *FeatureService) UnarchiveFeature(ctx context.Context, req *featureproto.UnarchiveFeatureRequest) (*featureproto.UnarchiveFeatureResponse, error)
- func (s *FeatureService) UpdateFeature(ctx context.Context, req *featureproto.UpdateFeatureRequest) (*featureproto.UpdateFeatureResponse, error)
- func (s *FeatureService) UpdateFeatureDetails(ctx context.Context, req *featureproto.UpdateFeatureDetailsRequest) (*featureproto.UpdateFeatureDetailsResponse, error)
- func (s *FeatureService) UpdateFeatureTargeting(ctx context.Context, req *featureproto.UpdateFeatureTargetingRequest) (*featureproto.UpdateFeatureTargetingResponse, error)
- func (s *FeatureService) UpdateFeatureVariations(ctx context.Context, req *featureproto.UpdateFeatureVariationsRequest) (*featureproto.UpdateFeatureVariationsResponse, error)
- func (s *FeatureService) UpdateFlagTrigger(ctx context.Context, request *featureproto.UpdateFlagTriggerRequest) (*featureproto.UpdateFlagTriggerResponse, error)
- func (s *FeatureService) UpdateSegment(ctx context.Context, req *featureproto.UpdateSegmentRequest) (*featureproto.UpdateSegmentResponse, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureService ¶
type FeatureService struct {
// contains filtered or unexported fields
}
func NewFeatureService ¶
func NewFeatureService( mysqlClient mysql.Client, accountClient accountclient.Client, experimentClient experimentclient.Client, autoOpsClient autoopsclient.Client, batchClient btclient.Client, environmentClient envclient.Client, v3Cache cache.MultiGetCache, segmentUsersPublisher publisher.Publisher, domainPublisher publisher.Publisher, triggerURL string, opts ...Option, ) *FeatureService
func (*FeatureService) AddSegmentUser ¶
func (s *FeatureService) AddSegmentUser( ctx context.Context, req *featureproto.AddSegmentUserRequest, ) (*featureproto.AddSegmentUserResponse, error)
func (*FeatureService) ArchiveFeature ¶
func (s *FeatureService) ArchiveFeature( ctx context.Context, req *featureproto.ArchiveFeatureRequest, ) (*featureproto.ArchiveFeatureResponse, error)
func (*FeatureService) BulkDownloadSegmentUsers ¶
func (s *FeatureService) BulkDownloadSegmentUsers( ctx context.Context, req *featureproto.BulkDownloadSegmentUsersRequest, ) (*featureproto.BulkDownloadSegmentUsersResponse, error)
func (*FeatureService) BulkUploadSegmentUsers ¶
func (s *FeatureService) BulkUploadSegmentUsers( ctx context.Context, req *featureproto.BulkUploadSegmentUsersRequest, ) (*featureproto.BulkUploadSegmentUsersResponse, error)
func (*FeatureService) CloneFeature ¶
func (s *FeatureService) CloneFeature( ctx context.Context, req *featureproto.CloneFeatureRequest, ) (*featureproto.CloneFeatureResponse, error)
func (*FeatureService) CreateFeature ¶
func (s *FeatureService) CreateFeature( ctx context.Context, req *featureproto.CreateFeatureRequest, ) (*featureproto.CreateFeatureResponse, error)
func (*FeatureService) CreateFlagTrigger ¶ added in v0.4.0
func (s *FeatureService) CreateFlagTrigger( ctx context.Context, request *featureproto.CreateFlagTriggerRequest, ) (*featureproto.CreateFlagTriggerResponse, error)
func (*FeatureService) CreateSegment ¶
func (s *FeatureService) CreateSegment( ctx context.Context, req *featureproto.CreateSegmentRequest, ) (*featureproto.CreateSegmentResponse, error)
func (*FeatureService) DeleteFeature ¶
func (s *FeatureService) DeleteFeature( ctx context.Context, req *featureproto.DeleteFeatureRequest, ) (*featureproto.DeleteFeatureResponse, error)
func (*FeatureService) DeleteFlagTrigger ¶ added in v0.4.0
func (s *FeatureService) DeleteFlagTrigger( ctx context.Context, request *featureproto.DeleteFlagTriggerRequest, ) (*featureproto.DeleteFlagTriggerResponse, error)
func (*FeatureService) DeleteSegment ¶
func (s *FeatureService) DeleteSegment( ctx context.Context, req *featureproto.DeleteSegmentRequest, ) (*featureproto.DeleteSegmentResponse, error)
func (*FeatureService) DeleteSegmentUser ¶
func (s *FeatureService) DeleteSegmentUser( ctx context.Context, req *featureproto.DeleteSegmentUserRequest, ) (*featureproto.DeleteSegmentUserResponse, error)
func (*FeatureService) DisableFeature ¶
func (s *FeatureService) DisableFeature( ctx context.Context, req *featureproto.DisableFeatureRequest, ) (*featureproto.DisableFeatureResponse, error)
FIXME: remove this API after the new console is released Deprecated
func (*FeatureService) DisableFlagTrigger ¶ added in v0.4.0
func (s *FeatureService) DisableFlagTrigger( ctx context.Context, request *featureproto.DisableFlagTriggerRequest, ) (*featureproto.DisableFlagTriggerResponse, error)
func (*FeatureService) EnableFeature ¶
func (s *FeatureService) EnableFeature( ctx context.Context, req *featureproto.EnableFeatureRequest, ) (*featureproto.EnableFeatureResponse, error)
FIXME: remove this API after the new console is released Deprecated
func (*FeatureService) EnableFlagTrigger ¶ added in v0.4.0
func (s *FeatureService) EnableFlagTrigger( ctx context.Context, request *featureproto.EnableFlagTriggerRequest, ) (*featureproto.EnableFlagTriggerResponse, error)
func (*FeatureService) EvaluateFeatures ¶
func (s *FeatureService) EvaluateFeatures( ctx context.Context, req *featureproto.EvaluateFeaturesRequest, ) (*featureproto.EvaluateFeaturesResponse, error)
func (*FeatureService) FlagTriggerWebhook ¶ added in v0.4.0
func (s *FeatureService) FlagTriggerWebhook( ctx context.Context, request *featureproto.FlagTriggerWebhookRequest, ) (*featureproto.FlagTriggerWebhookResponse, error)
func (*FeatureService) GetFeature ¶
func (s *FeatureService) GetFeature( ctx context.Context, req *featureproto.GetFeatureRequest, ) (*featureproto.GetFeatureResponse, error)
func (*FeatureService) GetFeatures ¶
func (s *FeatureService) GetFeatures( ctx context.Context, req *featureproto.GetFeaturesRequest, ) (*featureproto.GetFeaturesResponse, error)
func (*FeatureService) GetFlagTrigger ¶ added in v0.4.0
func (s *FeatureService) GetFlagTrigger( ctx context.Context, request *featureproto.GetFlagTriggerRequest, ) (*featureproto.GetFlagTriggerResponse, error)
func (*FeatureService) GetSegment ¶
func (s *FeatureService) GetSegment( ctx context.Context, req *featureproto.GetSegmentRequest, ) (*featureproto.GetSegmentResponse, error)
func (*FeatureService) GetSegmentUser ¶
func (s *FeatureService) GetSegmentUser( ctx context.Context, req *featureproto.GetSegmentUserRequest, ) (*featureproto.GetSegmentUserResponse, error)
func (*FeatureService) ListEnabledFeatures ¶
func (s *FeatureService) ListEnabledFeatures( ctx context.Context, req *featureproto.ListEnabledFeaturesRequest, ) (*featureproto.ListEnabledFeaturesResponse, error)
func (*FeatureService) ListFeatures ¶
func (s *FeatureService) ListFeatures( ctx context.Context, req *featureproto.ListFeaturesRequest, ) (*featureproto.ListFeaturesResponse, error)
func (*FeatureService) ListFlagTriggers ¶ added in v0.4.0
func (s *FeatureService) ListFlagTriggers( ctx context.Context, request *featureproto.ListFlagTriggersRequest, ) (*featureproto.ListFlagTriggersResponse, error)
func (*FeatureService) ListSegmentUsers ¶
func (s *FeatureService) ListSegmentUsers( ctx context.Context, req *featureproto.ListSegmentUsersRequest, ) (*featureproto.ListSegmentUsersResponse, error)
func (*FeatureService) ListSegments ¶
func (s *FeatureService) ListSegments( ctx context.Context, req *featureproto.ListSegmentsRequest, ) (*featureproto.ListSegmentsResponse, error)
func (*FeatureService) ListTags ¶
func (s *FeatureService) ListTags( ctx context.Context, req *featureproto.ListTagsRequest, ) (*featureproto.ListTagsResponse, error)
func (*FeatureService) Register ¶
func (s *FeatureService) Register(server *grpc.Server)
func (*FeatureService) ResetFlagTrigger ¶ added in v0.4.0
func (s *FeatureService) ResetFlagTrigger( ctx context.Context, request *featureproto.ResetFlagTriggerRequest, ) (*featureproto.ResetFlagTriggerResponse, error)
func (*FeatureService) UnarchiveFeature ¶
func (s *FeatureService) UnarchiveFeature( ctx context.Context, req *featureproto.UnarchiveFeatureRequest, ) (*featureproto.UnarchiveFeatureResponse, error)
func (*FeatureService) UpdateFeature ¶ added in v0.4.5
func (s *FeatureService) UpdateFeature( ctx context.Context, req *featureproto.UpdateFeatureRequest, ) (*featureproto.UpdateFeatureResponse, error)
func (*FeatureService) UpdateFeatureDetails ¶
func (s *FeatureService) UpdateFeatureDetails( ctx context.Context, req *featureproto.UpdateFeatureDetailsRequest, ) (*featureproto.UpdateFeatureDetailsResponse, error)
func (*FeatureService) UpdateFeatureTargeting ¶
func (s *FeatureService) UpdateFeatureTargeting( ctx context.Context, req *featureproto.UpdateFeatureTargetingRequest, ) (*featureproto.UpdateFeatureTargetingResponse, error)
func (*FeatureService) UpdateFeatureVariations ¶
func (s *FeatureService) UpdateFeatureVariations( ctx context.Context, req *featureproto.UpdateFeatureVariationsRequest, ) (*featureproto.UpdateFeatureVariationsResponse, error)
func (*FeatureService) UpdateFlagTrigger ¶ added in v0.4.0
func (s *FeatureService) UpdateFlagTrigger( ctx context.Context, request *featureproto.UpdateFlagTriggerRequest, ) (*featureproto.UpdateFlagTriggerResponse, error)
func (*FeatureService) UpdateSegment ¶
func (s *FeatureService) UpdateSegment( ctx context.Context, req *featureproto.UpdateSegmentRequest, ) (*featureproto.UpdateSegmentResponse, error)
Click to show internal directories.
Click to hide internal directories.