quota-enforcer

command
v2.1.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: Apache-2.0, Apache-2.0 Imports: 15 Imported by: 0

README

cf-mysql-quota-enforcer

Quota enforcer for cf-mysql-release

Usage

Configuration

The quota enforcer executable requires either a config file or a config string, encoded in json. service-config is used to load the config.

Examples:

  • $ cf-mysql-quota-enforcer -configPath=/path/to/config.json
  • $ cf-mysql-quota-enforcer -config='{"Host": "127.0.0.1", "Port": 3306, "User": "root", "Password": "password", "DBName": "development", "PauseInSeconds": 1}'

An example configuration file is provided in config-example.yaml. Copy this to config.yaml and edit as necessary; config.yaml is ignored by git.

##Testing

Unit tests can be run by executing

./bin/test-unit

Integration tests can be run by executing

./bin/test-integration

Configuration for the integration tests is managed by environment variables; see ./bin/test-integration for further details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
clockfakes
This file was generated by counterfeiter
This file was generated by counterfeiter
databasefakes
This file was generated by counterfeiter
This file was generated by counterfeiter
enforcerfakes
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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