{"modulePath":"code.cloudfoundry.org/cli-sapi","version":"v6.16.1+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package feature_flags\n\n## Types\n\n```go\ntype CloudControllerFeatureFlagRepository struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewCloudControllerFeatureFlagRepository(config core_config.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/feature_flags","name":"feature_flags","synopsis":"","isRedistributable":true}
