Documentation
¶
Overview ¶
Package featureflags provides a plugin that registers the feature flag service module and associated pipeline steps (feature_flag, ff_gate).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
plugin.BaseEnginePlugin
}
Plugin registers the featureflag.service module type and step.feature_flag / step.ff_gate step factories.
func (*Plugin) Capabilities ¶
func (p *Plugin) Capabilities() []capability.Contract
Capabilities returns the capability contracts defined by this plugin.
func (*Plugin) ModuleFactories ¶
func (p *Plugin) ModuleFactories() map[string]plugin.ModuleFactory
ModuleFactories returns the module factories for the feature flag service.
func (*Plugin) StepFactories ¶
func (p *Plugin) StepFactories() map[string]plugin.StepFactory
StepFactories 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.