Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCertFile = "tls.crt" DefaultKeyFile = "tls.key" DefaultTLSCertDirName = "tls" DefaultCertDirName = "certs" DefaultConfigFileName = "config" DefaultConfigDir = "deploy" TestConfigDir = "test-config" TempConfigDir = "test-config/tmp" TestConfigFileName = "config.yaml" EnvCertDirName = "X_CSI_REVPROXY_CERT_DIR" EnvTLSCertDirName = "X_CSI_REVPROXY_TLS_CERT_DIR" EnvWatchNameSpace = "X_CSI_REVPROXY_WATCH_NAMESPACE" EnvConfigFileName = "X_CSI_REVPROXY_CONFIG_FILE_NAME" EnvConfigDirName = "X_CSI_REVPROXY_CONFIG_DIR" EnvInClusterConfig = "X_CSI_REVRPOXY_IN_CLUSTER" EnvIsLeaderElectionEnabled = "X_CSI_REVPROXY_IS_LEADER_ENABLED" DefaultNameSpace = "powermax" MaxActiveReadRequests = 5 MaxOutStandingWriteRequests = 50 MaxActiveWriteRequests = 4 MaxOutStandingReadRequests = 50 )
Constants for the proxy
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
Credentials represent a pair of username and password
type Limits ¶
type Limits struct { MaxActiveRead int `yaml:"maxActiveRead,omitempty"` MaxActiveWrite int `yaml:"maxActiveWrite,omitempty"` MaxOutStandingRead int `yaml:"maxOutStandingRead,omitempty"` MaxOutStandingWrite int `yaml:"maxOutStandingWrite,omitempty"` }
Limits is used for storing the various types of limits applied for a particular proxy instance
Click to show internal directories.
Click to hide internal directories.