Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
/*BackendPort - Descr: The backend port for the redis-agent process to listen on Default: 9876
*/
BackendPort interface{} `yaml:"backend_port,omitempty"`
}
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Auth ¶
type Auth struct { /*Username - Descr: The username for HTTP Basic Auth on the agent, also used for the broker Default: admin */ Username interface{} `yaml:"username,omitempty"` /*Password - Descr: The password for HTTP Basic Auth on the agent, also used for the broker Default: admin */ Password interface{} `yaml:"password,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Backups ¶
type Backups struct { /*Path - Descr: Path within the above bucket to which backups will be uploaded Default: */ Path interface{} `yaml:"path,omitempty"` /*EndpointUrl - Descr: HTTP(S) endpoint of the S3-compatible blob store that backups will be uploaded to Default: */ EndpointUrl interface{} `yaml:"endpoint_url,omitempty"` /*RestoreAvailable - Descr: Makes the backup restore binary available Default: true */ RestoreAvailable interface{} `yaml:"restore_available,omitempty"` /*AccessKeyId - Descr: Access Key ID for the S3-compatible blob store that backups will be uploaded to Default: */ AccessKeyId interface{} `yaml:"access_key_id,omitempty"` /*SecretAccessKey - Descr: Secret Access Key for the S3-compatible blob store that backups will be uploaded to Default: */ SecretAccessKey interface{} `yaml:"secret_access_key,omitempty"` /*BucketName - Descr: Name of the bucket into which backups will be uploaded Default: */ BucketName interface{} `yaml:"bucket_name,omitempty"` /*BgSaveTimeout - Descr: Timeout in seconds for Redis background save to complete when backing up instance Default: 3600 */ BgSaveTimeout interface{} `yaml:"bg_save_timeout,omitempty"` /*BackupTmpDir - Descr: Temporary directory to use for backups. MUST be on same device (persistent disk) as redis data Default: /var/vcap/store/tmp_backup */ BackupTmpDir interface{} `yaml:"backup_tmp_dir,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Broker ¶
type Broker struct { /*Ssl - Descr: SSL Certificate for broker (PEM encoded) Default: <nil> */ Ssl *Ssl `yaml:"ssl,omitempty"` /*StartRedisTimeout - Descr: Maximum wait time in seconds for Redis to start up Default: 600 */ StartRedisTimeout interface{} `yaml:"start_redis_timeout,omitempty"` /*DedicatedPort - Descr: The port used by the redis instances Default: 6379 */ DedicatedPort interface{} `yaml:"dedicated_port,omitempty"` /*Backups - Descr: Path within the above bucket to which backups will be uploaded Default: */ Backups *Backups `yaml:"backups,omitempty"` /*BackendHost - Descr: The port for the broker unicorn process to run on Default: <nil> */ BackendHost interface{} `yaml:"backend_host,omitempty"` /*Auth - Descr: The username for HTTP Basic Auth on the agent, also used for the broker Default: admin */ Auth *Auth `yaml:"auth,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!
type DedicatedNodeJob ¶
type DedicatedNodeJob struct { /*Redis - Descr: Configure interval time in seconds that slaves send PINGs to server. Default: 10 */ Redis *Redis `yaml:"redis,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Limits ¶
type Limits struct {
/*Maxclients - Descr: Set the max number of connected clients at the same time Default: 10000
*/
Maxclients interface{} `yaml:"maxclients,omitempty"`
}
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Redis ¶
type Redis struct { /*Replication - Descr: Configure interval time in seconds that slaves send PINGs to server. Default: 10 */ Replication *Replication `yaml:"replication,omitempty"` /*Broker - Descr: The username for HTTP Basic Auth on the agent, also used for the broker Default: admin */ Broker *Broker `yaml:"broker,omitempty"` /*LogLevel - Descr: Specify the server log verbosity level (debug, verbose, notice, warning) Default: notice */ LogLevel interface{} `yaml:"log_level,omitempty"` /*Agent - Descr: The backend port for the redis-agent process to listen on Default: 9876 */ Agent *Agent `yaml:"agent,omitempty"` /*ClientTimeout - Descr: Close the connection after a client is idle for N seconds (0 to disable) Default: 0 */ ClientTimeout interface{} `yaml:"client_timeout,omitempty"` /*SlowLog - Descr: The length of the slow log. There is no limit to this length. Just be aware that it will consume memory. You can reclaim memory used by the slow log with SLOWLOG RESET. Default: 128 */ SlowLog *SlowLog `yaml:"slow_log,omitempty"` /*Snapshotting - Descr: save <seconds> <changes>; Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred. Default: [900 1 300 10 60 10000] */ Snapshotting *Snapshotting `yaml:"snapshotting,omitempty"` /*Limits - Descr: Set the max number of connected clients at the same time Default: 10000 */ Limits *Limits `yaml:"limits,omitempty"` /*ConfigCommand - Descr: The name of the obfuscated redis CONFIG command. Default: */ ConfigCommand interface{} `yaml:"config_command,omitempty"` /*SyslogIdent - Descr: Specify the syslog identity. Default: redis-server */ SyslogIdent interface{} `yaml:"syslog_ident,omitempty"` /*SyslogFacility - Descr: Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7. Default: local0 */ SyslogFacility interface{} `yaml:"syslog_facility,omitempty"` /*Security - Descr: Require clients to issue AUTH PASSWORD before processing any other commands. Default: <nil> */ Security *Security `yaml:"security,omitempty"` /*Databases - Descr: Set the number of databases. The default database is DB 0. Default: 16 */ Databases interface{} `yaml:"databases,omitempty"` /*LuaTimeLimit - Descr: Max execution time of a Lua script in milliseconds. Default: 5000 */ LuaTimeLimit interface{} `yaml:"lua_time_limit,omitempty"` /*TcpKeepAlive - Descr: TCP keepalive Default: 0 */ TcpKeepAlive interface{} `yaml:"tcp_keep_alive,omitempty"` /*SyslogEnabled - Descr: Enable/Disable logging to the system logger Default: yes */ SyslogEnabled interface{} `yaml:"syslog_enabled,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Replication ¶
type Replication struct { /*ReplTimeout - Descr: Sets a timeout for both Bulk transfer I/O timeout and master data or ping response timeout. Default: 60 */ ReplTimeout interface{} `yaml:"repl_timeout,omitempty"` /*SlaveServeStaleData - Descr: Master-Slave replication. Use slaveof to make a Redis instance a copy of another Redis server. Default: yes */ SlaveServeStaleData interface{} `yaml:"slave_serve_stale_data,omitempty"` /*SlavePriority - Descr: The slave priority is an integer number published by Redis in the INFO output. It is used by Redis Sentinel in order to select a slave to promote into a master if the master is no longer working correctly. Default: 100 */ SlavePriority interface{} `yaml:"slave_priority,omitempty"` /*ReplDisableTcpNodelay - Descr: Set TCP_NODELAY on the slave socket after SYNC. Default: no */ ReplDisableTcpNodelay interface{} `yaml:"repl_disable_tcp_nodelay,omitempty"` /*ReplPingSlavePeriod - Descr: Configure interval time in seconds that slaves send PINGs to server. Default: 10 */ ReplPingSlavePeriod interface{} `yaml:"repl_ping_slave_period,omitempty"` /*SlaveReadOnly - Descr: Configure a slave instance to accept writes or not. Default: yes */ SlaveReadOnly interface{} `yaml:"slave_read_only,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Security ¶
type Security struct {
/*RequirePass - Descr: Require clients to issue AUTH PASSWORD before processing any other commands. Default: <nil>
*/
RequirePass interface{} `yaml:"require_pass,omitempty"`
}
* File Generated by enaml generator * !!! Please do not edit this file !!!
type SlowLog ¶
type SlowLog struct { /*LogSlowerThan - Descr: the execution time, in microseconds, to exceed in order for the command to get logged Default: 10000 */ LogSlowerThan interface{} `yaml:"log_slower_than,omitempty"` /*MaxLen - Descr: The length of the slow log. There is no limit to this length. Just be aware that it will consume memory. You can reclaim memory used by the slow log with SLOWLOG RESET. Default: 128 */ MaxLen interface{} `yaml:"max_len,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Snapshotting ¶
type Snapshotting struct { /*RdbChecksum - Descr: RDB files created with checksum disabled have a checksum of zero that will tell the loading code to skip the check. Default: yes */ RdbChecksum interface{} `yaml:"rdb_checksum,omitempty"` /*RdbCompression - Descr: Compress string objects using LZF when dump .rdb databases Default: yes */ RdbCompression interface{} `yaml:"rdb_compression,omitempty"` /*StopWritesOnBgsaveError - Descr: This will make the user aware (in an hard way) that data is not persisting on disk properly Default: yes */ StopWritesOnBgsaveError interface{} `yaml:"stop_writes_on_bgsave_error,omitempty"` /*Save - Descr: save <seconds> <changes>; Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred. Default: [900 1 300 10 60 10000] */ Save interface{} `yaml:"save,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!
type Ssl ¶
type Ssl struct { /*Key - Descr: SSL private key for broker (PEM encoded) Default: <nil> */ Key interface{} `yaml:"key,omitempty"` /*Pem - Descr: SSL Certificate for broker (PEM encoded) Default: <nil> */ Pem interface{} `yaml:"pem,omitempty"` }
* File Generated by enaml generator * !!! Please do not edit this file !!!