Documentation
¶
Index ¶
- func DataSourceHaproxyHttpcheck() *schema.Resource
- func ResourceHaproxyHttpcheck() *schema.Resource
- func TestHaproxyHttpCheck(t *testing.T)
- type ConfigHttpCheck
- func (c *ConfigHttpCheck) AddHttpCheckConfiguration(payload []byte, TransactionID string, parentName string, parentType string) (*http.Response, error)
- func (c *ConfigHttpCheck) DeleteHttpCheckConfiguration(HttpCheckIndexName int, TransactionID string, parentName string, ...) (*http.Response, error)
- func (c *ConfigHttpCheck) GetAHttpCheckConfiguration(HttpCheckIndexName int, TransactionID string, parentName string, ...) (*http.Response, error)
- func (c *ConfigHttpCheck) UpdateHttpCheckConfiguration(HttpCheckIndexName int, payload []byte, TransactionID string, ...) (*http.Response, error)
- type Headers
- type HttpCheckPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestHaproxyHttpCheck ¶
Types ¶
type ConfigHttpCheck ¶
Config defines variable for haproxy configuration
func (*ConfigHttpCheck) AddHttpCheckConfiguration ¶
func (c *ConfigHttpCheck) AddHttpCheckConfiguration(payload []byte, TransactionID string, parentName string, parentType string) (*http.Response, error)
AddHttpCheckConfiguration adds a HttpCheck configuration.
func (*ConfigHttpCheck) DeleteHttpCheckConfiguration ¶
func (c *ConfigHttpCheck) DeleteHttpCheckConfiguration(HttpCheckIndexName int, TransactionID string, parentName string, parentType string) (*http.Response, error)
DeleteHttpCheckConfiguration deletes a HttpCheck configuration.
func (*ConfigHttpCheck) GetAHttpCheckConfiguration ¶
func (c *ConfigHttpCheck) GetAHttpCheckConfiguration(HttpCheckIndexName int, TransactionID string, parentName string, parentType string) (*http.Response, error)
GetAHttpCheckConfiguration returns the configuration of a HttpCheck.
type HttpCheckPayload ¶
type HttpCheckPayload struct { Index int `json:"index"` Addr string `json:"addr"` Alpn string `json:"alpn"` Body string `json:"body"` BodyLogFormat string `json:"body_log_format"` CheckComment string `json:"check_comment"` Default bool `json:"default"` ErrorStatus string `json:"error_status"` ExclamationMark bool `json:"exclamation_mark"` Headers []Headers Linger bool `json:"linger"` Match string `json:"match"` Method string `json:"method"` MinRecv int `json:"min_recv"` OkStatus string `json:"ok_status"` OnError string `json:"on_error"` OnSuccess string `json:"on_success"` Pattern string `json:"pattern"` Port int `json:"port"` PortString string `json:"port_string"` Proto string `json:"proto"` SendProxy bool `json:"send_proxy"` Sni string `json:"sni"` Ssl bool `json:"ssl"` StatusCode string `json:"status-code"` Type string `json:"type"` Uri string `json:"uri"` UriLogFormat string `json:"uri_log_format"` VarExpr string `json:"var_expr"` VarName string `json:"var_name"` VarFormat string `json:"var_format"` VarScope string `json:"var_scope"` Version string `json:"version"` ViaSocks4 bool `json:"via_socks4"` }
Click to show internal directories.
Click to hide internal directories.