api

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

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,
	v3Cache cache.MultiGetCache,
	segmentUsersPublisher publisher.Publisher,
	domainPublisher publisher.Publisher,
	triggerURL string,
	opts ...Option,
) *FeatureService

func (*FeatureService) CloneFeature

func (*FeatureService) CreateFeature

func (*FeatureService) CreateFlagTrigger added in v0.4.0

func (*FeatureService) CreateSegment

func (*FeatureService) DeleteFeature

func (*FeatureService) DeleteFlagTrigger added in v0.4.0

func (*FeatureService) DeleteSegment

func (*FeatureService) DisableFeature

FIXME: remove this API after the new console is released Deprecated

func (*FeatureService) DisableFlagTrigger added in v0.4.0

func (*FeatureService) EnableFeature

FIXME: remove this API after the new console is released Deprecated

func (*FeatureService) EnableFlagTrigger added in v0.4.0

func (*FeatureService) FlagTriggerWebhook added in v0.4.0

func (*FeatureService) GetFeature

func (*FeatureService) GetFeatures

func (*FeatureService) GetFlagTrigger added in v0.4.0

func (*FeatureService) GetSegment

func (*FeatureService) ListFeatures

func (*FeatureService) ListFlagTriggers added in v0.4.0

func (*FeatureService) ListSegments

func (*FeatureService) ListTags

func (*FeatureService) Register

func (s *FeatureService) Register(server *grpc.Server)

func (*FeatureService) ResetFlagTrigger added in v0.4.0

func (*FeatureService) UpdateFlagTrigger added in v0.4.0

func (*FeatureService) UpdateSegment

type Option

type Option func(*options)

func WithLogger

func WithLogger(l *zap.Logger) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL