featuregateloader

package
v0.0.0-...-2356e84 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature

type Feature struct {
	Name string `yaml:"name"`
}

type FeatureGate

type FeatureGate struct {
	APIVersion string            `yaml:"apiVersion"`
	Kind       string            `yaml:"kind"`
	Spec       FeatureGateSpec   `yaml:"spec"`
	Status     FeatureGateStatus `yaml:"status"`
}

type FeatureGateEntry

type FeatureGateEntry struct {
	Disabled []Feature `yaml:"disabled"`
	Enabled  []Feature `yaml:"enabled"`
}

type FeatureGateLoader

type FeatureGateLoader struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, dbc *db.DB, ghClient *gh.Client, configs []v1.Release) *FeatureGateLoader

func (*FeatureGateLoader) Errors

func (l *FeatureGateLoader) Errors() []error

func (*FeatureGateLoader) Load

func (l *FeatureGateLoader) Load()

func (*FeatureGateLoader) Name

func (l *FeatureGateLoader) Name() string

type FeatureGateSpec

type FeatureGateSpec struct {
	FeatureSet string `yaml:"featureSet"`
}

type FeatureGateStatus

type FeatureGateStatus struct {
	FeatureGates []FeatureGateEntry `yaml:"featureGates"`
}

Jump to

Keyboard shortcuts

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