Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceHaproxyGlobal ¶
func ResourceHaproxyGlobal ¶
func TestHaproxyGlobal ¶
Types ¶
type ConfigGlobal ¶
Config defines variable for haproxy configuration
func (*ConfigGlobal) GetAGlobalConfiguration ¶
func (c *ConfigGlobal) GetAGlobalConfiguration(TransactionID string) (*http.Response, error)
GetAGlobalConfiguration returns the configuration of a Global.
func (*ConfigGlobal) UpdateGlobalConfiguration ¶
func (c *ConfigGlobal) UpdateGlobalConfiguration(payload []byte, TransactionID string) (*http.Response, error)
UpdateGlobalConfiguration updates a Global configuration.
type GlobalPayload ¶
type GlobalPayload struct { User string `json:"user"` Group string `json:"group"` Chroot string `json:"chroot"` CpuMaps CpuMaps Daemon string `json:"daemon"` //bool MasterWorker bool `json:"master-worker"` MaxCompCpuUsage int `json:"maxcompcpuusage"` MaxPipes int `json:"maxpipes"` MaxSslConn int `json:"maxsslconn"` MaxConn int `json:"maxconn"` NbProc int `json:"nbproc"` NbThread int `json:"nbthread"` PidFile string `json:"pidfile"` UlimitN int `json:"ulimit_n"` CrtBase string `json:"crt_base"` CaBase string `json:"ca_base"` StatsMaxConn int `json:"stats_maxconn"` StatsTimeOut int `json:"stats_timeout"` SslDefaultBindCiphers string `json:"ssl_default_bind_ciphers"` SslDefaultBindOptions string `json:"ssl_default_bind_options"` }
GlobalPayload defines the payload for global configuration
Click to show internal directories.
Click to hide internal directories.