featureflags

package
v0.0.0-...-9dee9fb Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 4 Imported by: 0

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 New

func New() *Plugin

New creates a new feature-flags plugin.

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.

Jump to

Keyboard shortcuts

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