Documentation ¶
Index ¶
- func DataSourceHaproxyFrontend() *schema.Resource
- func ResourceHaproxyFrontend() *schema.Resource
- func TestHaproxyFrontend(t *testing.T)
- type Compression
- type ConfigFrontend
- func (c *ConfigFrontend) AddFrontendConfiguration(payload []byte, TransactionID string) (*http.Response, error)
- func (c *ConfigFrontend) DeleteFrontendConfiguration(FrontendName string, TransactionID string) (*http.Response, error)
- func (c *ConfigFrontend) GetAFrontendConfiguration(FrontendName string, TransactionID string) (*http.Response, error)
- func (c *ConfigFrontend) UpdateFrontendConfiguration(FrontendName string, payload []byte, TransactionID string) (*http.Response, error)
- type Forwardfor
- type FrontendPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceHaproxyFrontend ¶
func TestHaproxyFrontend ¶
Types ¶
type Compression ¶
type ConfigFrontend ¶
Config defines variable for haproxy configuration
func (*ConfigFrontend) AddFrontendConfiguration ¶
func (c *ConfigFrontend) AddFrontendConfiguration(payload []byte, TransactionID string) (*http.Response, error)
AddFrontendConfiguration adds a Frontend configuration.
func (*ConfigFrontend) DeleteFrontendConfiguration ¶
func (c *ConfigFrontend) DeleteFrontendConfiguration(FrontendName string, TransactionID string) (*http.Response, error)
DeleteFrontendConfiguration deletes a Frontend configuration.
func (*ConfigFrontend) GetAFrontendConfiguration ¶
func (c *ConfigFrontend) GetAFrontendConfiguration(FrontendName string, TransactionID string) (*http.Response, error)
GetAFrontendConfiguration returns the configuration of a Frontend.
func (*ConfigFrontend) UpdateFrontendConfiguration ¶
func (c *ConfigFrontend) UpdateFrontendConfiguration(FrontendName string, payload []byte, TransactionID string) (*http.Response, error)
UpdateFrontendConfiguration updates a Frontend configuration.
type Forwardfor ¶
type FrontendPayload ¶
type FrontendPayload struct { Name string `json:"name"` DefaultBackend string `json:"default_backend"` HttpConnectionMode string `json:"http_connection_mode"` AcceptInvalidHttpRequest string `json:"accept_invalid_http_request"` //bool MaxConn int `json:"maxconn"` Mode string `json:"mode"` Backlog int `json:"backlog"` HttpKeepAliveTimeout int `json:"http_keep_alive_timeout"` HttpRequestTimeout int `json:"http_request_timeout"` HttpUseProxyHeader string `json:"http_use_proxy_header"` HttpLog bool `json:"httplog"` HttpsLog string `json:"httpslog"` //bool ErrorLogFormat string `json:"error_log_format"` LogFormat string `json:"log_format"` LogFormatSd string `json:"log_format_sd"` MonitorUri string `json:"monitor_uri"` TcpLog bool `json:"tcplog"` Compression Compression Forwardfor Forwardfor }
Click to show internal directories.
Click to hide internal directories.