{"modulePath":"github.com/GoCodeAlone/workflow","version":"v0.87.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package featureflags\n\nPackage featureflags provides a plugin that registers the feature flag service module and associated pipeline steps (feature\\_flag, ff\\_gate).\n\n## Types\n\n```go\ntype Plugin struct {\n\tplugin.BaseEnginePlugin\n}\n```\nPlugin registers the featureflag.service module type and step.feature\\_flag / step.ff\\_gate step factories.\n\n```go\nfunc New() *Plugin\n```\nNew creates a new feature-flags plugin.\n\n```go\nfunc (p *Plugin) Capabilities() []capability.Contract\n```\nCapabilities returns the capability contracts defined by this plugin.\n\n```go\nfunc (p *Plugin) ModuleFactories() map[string]plugin.ModuleFactory\n```\nModuleFactories returns the module factories for the feature flag service.\n\n```go\nfunc (p *Plugin) StepFactories() map[string]plugin.StepFactory\n```\nStepFactories returns step factories for feature flag steps. Note: The step.feature\\_flag and step.ff\\_gate steps require the FF service, which is only available after the featureflag.service module is initialized. These placeholder factories return an error directing users to configure the featureflag.service module first. The engine's BuildFromConfig wires the real factories when the featureflag.service module is loaded.\n\n```go\nfunc (p *Plugin) UIPages() []plugin.UIPageDef\n```\nUIPages returns the UI page definitions for this plugin. The feature-flags nav item only appears when this plugin is enabled.\n\n","path":"github.com/GoCodeAlone/workflow/plugins/featureflags","name":"featureflags","synopsis":"Package featureflags provides a plugin that registers the feature flag service module and associated pipeline steps (feature_flag, ff_gate).","isRedistributable":true}
