featureflags

package
v6.49.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudControllerFeatureFlagRepository

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

func NewCloudControllerFeatureFlagRepository

func NewCloudControllerFeatureFlagRepository(config coreconfig.Reader, gateway net.Gateway) CloudControllerFeatureFlagRepository

func (CloudControllerFeatureFlagRepository) FindByName

func (CloudControllerFeatureFlagRepository) List

func (CloudControllerFeatureFlagRepository) Update

func (repo CloudControllerFeatureFlagRepository) Update(flag string, set bool) error

type FeatureFlagRepository

type FeatureFlagRepository interface {
	List() ([]models.FeatureFlag, error)
	FindByName(string) (models.FeatureFlag, error)
	Update(string, bool) error
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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