{"modulePath":"code.cloudfoundry.org/cli-sapi","version":"v6.51.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package featureflags\n\n## Types\n\n```go\ntype CloudControllerFeatureFlagRepository struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewCloudControllerFeatureFlagRepository(config coreconfig.Reader, gateway net.Gateway) CloudControllerFeatureFlagRepository\n```\n\n```go\nfunc (repo CloudControllerFeatureFlagRepository) FindByName(name string) (models.FeatureFlag, error)\n```\n\n```go\nfunc (repo CloudControllerFeatureFlagRepository) List() ([]models.FeatureFlag, error)\n```\n\n```go\nfunc (repo CloudControllerFeatureFlagRepository) Update(flag string, set bool) error\n```\n\n```go\ntype FeatureFlagRepository interface {\n\tList() ([]models.FeatureFlag, error)\n\tFindByName(string) (models.FeatureFlag, error)\n\tUpdate(string, bool) error\n}\n```\n\n","path":"code.cloudfoundry.org/cli-sapi/cf/api/featureflags","name":"featureflags","synopsis":"","isRedistributable":true}
