Documentation ¶
Index ¶
- func DataSourceHaproxyDefaults() *schema.Resource
- func ResourceHaproxyDefaults() *schema.Resource
- func TestHaproxyDefaults(t *testing.T)
- type ConfigDefaults
- func (c *ConfigDefaults) AddDefaultsConfiguration(payload []byte, TransactionID string) (*http.Response, error)
- func (c *ConfigDefaults) DeleteDefaultsConfiguration(DefaultsName string, TransactionID string) (*http.Response, error)
- func (c *ConfigDefaults) GetADefaultsConfiguration(DefaultsName string, TransactionID string) (*http.Response, error)
- func (c *ConfigDefaults) UpdateDefaultsConfiguration(DefaultsName string, payload []byte, TransactionID string) (*http.Response, error)
- type DefaultsPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceHaproxyDefaults ¶
func TestHaproxyDefaults ¶
Types ¶
type ConfigDefaults ¶
Config defines variable for haproxy configuration
func (*ConfigDefaults) AddDefaultsConfiguration ¶
func (c *ConfigDefaults) AddDefaultsConfiguration(payload []byte, TransactionID string) (*http.Response, error)
AddDefaultsConfiguration adds a Defaults configuration.
func (*ConfigDefaults) DeleteDefaultsConfiguration ¶
func (c *ConfigDefaults) DeleteDefaultsConfiguration(DefaultsName string, TransactionID string) (*http.Response, error)
DeleteDefaultsConfiguration deletes a Defaults configuration.
func (*ConfigDefaults) GetADefaultsConfiguration ¶
func (c *ConfigDefaults) GetADefaultsConfiguration(DefaultsName string, TransactionID string) (*http.Response, error)
GetADefaultsConfiguration returns the configuration of a Defaults.
func (*ConfigDefaults) UpdateDefaultsConfiguration ¶
func (c *ConfigDefaults) UpdateDefaultsConfiguration(DefaultsName string, payload []byte, TransactionID string) (*http.Response, error)
UpdateDefaultsConfiguration updates a Defaults configuration.
type DefaultsPayload ¶
type DefaultsPayload struct { Name string `json:"name"` Mode string `json:"mode"` Backlog int `json:"backlog"` HTTPLog bool `json:"httplog"` HTTPSLog string `json:"httpslog"` TCPLog bool `json:"tcplog"` Retries int `json:"retries"` CheckTimeout int `json:"check_timeout"` ClientTimeout int `json:"client_timeout"` ConnectTimeout int `json:"connect_timeout"` HTTPKeepAliveTimeout int `json:"http_keep_alive_timeout"` HTTPRequestTimeout int `json:"http_request_timeout"` QueueTimeout int `json:"queue_timeout"` ServerTimeout int `json:"server_timeout"` ServerFinTimeout int `json:"server_fin_timeout"` MaxConn int `json:"maxconn"` }
Click to show internal directories.
Click to hide internal directories.