models

package module
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 6 Imported by: 6

README

HAProxy

HAProxy Swagger Models

This project contains structs and validation methods that are autogenerated using go-swagger from the swagger spec found here.These structs are used in the DataPlaneAPI and client-native.

Requirements

go-swagger v0.23.0. Note that at the moment you need to use version 0.23.0

Contributing

You can generate the models using the following command in build directory:

swagger generate model -f haproxy_spec.yaml \
    -r ../copyright.txt \
    -m models \
    -t $GOPATH/src/github.com/haproxytech/

For commit messages and general style please follow the haproxy project's CONTRIBUTING guide and use that where applicable.

Documentation

Index

Constants

View Source
const (

	// BackendAbortoncloseEnabled captures enum value "enabled"
	BackendAbortoncloseEnabled string = "enabled"

	// BackendAbortoncloseDisabled captures enum value "disabled"
	BackendAbortoncloseDisabled string = "disabled"
)
View Source
const (

	// BackendAdvCheckSslHelloChk captures enum value "ssl-hello-chk"
	BackendAdvCheckSslHelloChk string = "ssl-hello-chk"

	// BackendAdvCheckSmtpchk captures enum value "smtpchk"
	BackendAdvCheckSmtpchk string = "smtpchk"

	// BackendAdvCheckLdapCheck captures enum value "ldap-check"
	BackendAdvCheckLdapCheck string = "ldap-check"

	// BackendAdvCheckMysqlCheck captures enum value "mysql-check"
	BackendAdvCheckMysqlCheck string = "mysql-check"

	// BackendAdvCheckPgsqlCheck captures enum value "pgsql-check"
	BackendAdvCheckPgsqlCheck string = "pgsql-check"

	// BackendAdvCheckTCPCheck captures enum value "tcp-check"
	BackendAdvCheckTCPCheck string = "tcp-check"

	// BackendAdvCheckRedisCheck captures enum value "redis-check"
	BackendAdvCheckRedisCheck string = "redis-check"

	// BackendAdvCheckHttpchk captures enum value "httpchk"
	BackendAdvCheckHttpchk string = "httpchk"
)
View Source
const (

	// BackendAllbackupsEnabled captures enum value "enabled"
	BackendAllbackupsEnabled string = "enabled"

	// BackendAllbackupsDisabled captures enum value "disabled"
	BackendAllbackupsDisabled string = "disabled"
)
View Source
const (

	// BackendExternalCheckEnabled captures enum value "enabled"
	BackendExternalCheckEnabled string = "enabled"

	// BackendExternalCheckDisabled captures enum value "disabled"
	BackendExternalCheckDisabled string = "disabled"
)
View Source
const (

	// BackendHTTPBufferRequestEnabled captures enum value "enabled"
	BackendHTTPBufferRequestEnabled string = "enabled"

	// BackendHTTPBufferRequestDisabled captures enum value "disabled"
	BackendHTTPBufferRequestDisabled string = "disabled"
)
View Source
const (

	// BackendHTTPUseHtxEnabled captures enum value "enabled"
	BackendHTTPUseHtxEnabled string = "enabled"

	// BackendHTTPUseHtxDisabled captures enum value "disabled"
	BackendHTTPUseHtxDisabled string = "disabled"
)
View Source
const (

	// BackendHTTPConnectionModeHttpclose captures enum value "httpclose"
	BackendHTTPConnectionModeHttpclose string = "httpclose"

	// BackendHTTPConnectionModeHTTPServerClose captures enum value "http-server-close"
	BackendHTTPConnectionModeHTTPServerClose string = "http-server-close"

	// BackendHTTPConnectionModeHTTPKeepAlive captures enum value "http-keep-alive"
	BackendHTTPConnectionModeHTTPKeepAlive string = "http-keep-alive"
)
View Source
const (

	// BackendHTTPPretendKeepaliveEnabled captures enum value "enabled"
	BackendHTTPPretendKeepaliveEnabled string = "enabled"

	// BackendHTTPPretendKeepaliveDisabled captures enum value "disabled"
	BackendHTTPPretendKeepaliveDisabled string = "disabled"
)
View Source
const (

	// BackendHTTPReuseAggressive captures enum value "aggressive"
	BackendHTTPReuseAggressive string = "aggressive"

	// BackendHTTPReuseAlways captures enum value "always"
	BackendHTTPReuseAlways string = "always"

	// BackendHTTPReuseNever captures enum value "never"
	BackendHTTPReuseNever string = "never"

	// BackendHTTPReuseSafe captures enum value "safe"
	BackendHTTPReuseSafe string = "safe"
)
View Source
const (

	// BackendModeHTTP captures enum value "http"
	BackendModeHTTP string = "http"

	// BackendModeTCP captures enum value "tcp"
	BackendModeTCP string = "tcp"
)
View Source
const (

	// BackendHashTypeFunctionSdbm captures enum value "sdbm"
	BackendHashTypeFunctionSdbm string = "sdbm"

	// BackendHashTypeFunctionDjb2 captures enum value "djb2"
	BackendHashTypeFunctionDjb2 string = "djb2"

	// BackendHashTypeFunctionWt6 captures enum value "wt6"
	BackendHashTypeFunctionWt6 string = "wt6"

	// BackendHashTypeFunctionCrc32 captures enum value "crc32"
	BackendHashTypeFunctionCrc32 string = "crc32"
)
View Source
const (

	// BackendHashTypeMethodMapBased captures enum value "map-based"
	BackendHashTypeMethodMapBased string = "map-based"

	// BackendHashTypeMethodConsistent captures enum value "consistent"
	BackendHashTypeMethodConsistent string = "consistent"
)
View Source
const (

	// BackendStickTableTypeIP captures enum value "ip"
	BackendStickTableTypeIP string = "ip"

	// BackendStickTableTypeIPV6 captures enum value "ipv6"
	BackendStickTableTypeIPV6 string = "ipv6"

	// BackendStickTableTypeInteger captures enum value "integer"
	BackendStickTableTypeInteger string = "integer"

	// BackendStickTableTypeString captures enum value "string"
	BackendStickTableTypeString string = "string"

	// BackendStickTableTypeBinary captures enum value "binary"
	BackendStickTableTypeBinary string = "binary"
)
View Source
const (

	// BackendSwitchingRuleCondIf captures enum value "if"
	BackendSwitchingRuleCondIf string = "if"

	// BackendSwitchingRuleCondUnless captures enum value "unless"
	BackendSwitchingRuleCondUnless string = "unless"
)
View Source
const (

	// BalanceAlgorithmRoundrobin captures enum value "roundrobin"
	BalanceAlgorithmRoundrobin string = "roundrobin"

	// BalanceAlgorithmStaticRr captures enum value "static-rr"
	BalanceAlgorithmStaticRr string = "static-rr"

	// BalanceAlgorithmLeastconn captures enum value "leastconn"
	BalanceAlgorithmLeastconn string = "leastconn"

	// BalanceAlgorithmFirst captures enum value "first"
	BalanceAlgorithmFirst string = "first"

	// BalanceAlgorithmSource captures enum value "source"
	BalanceAlgorithmSource string = "source"

	// BalanceAlgorithmURI captures enum value "uri"
	BalanceAlgorithmURI string = "uri"

	// BalanceAlgorithmURLParam captures enum value "url_param"
	BalanceAlgorithmURLParam string = "url_param"

	// BalanceAlgorithmHdr captures enum value "hdr"
	BalanceAlgorithmHdr string = "hdr"

	// BalanceAlgorithmRandom captures enum value "random"
	BalanceAlgorithmRandom string = "random"

	// BalanceAlgorithmRdpCookie captures enum value "rdp-cookie"
	BalanceAlgorithmRdpCookie string = "rdp-cookie"
)
View Source
const (

	// BindLevelUser captures enum value "user"
	BindLevelUser string = "user"

	// BindLevelOperator captures enum value "operator"
	BindLevelOperator string = "operator"

	// BindLevelAdmin captures enum value "admin"
	BindLevelAdmin string = "admin"
)
View Source
const (

	// BindSeverityOutputNone captures enum value "none"
	BindSeverityOutputNone string = "none"

	// BindSeverityOutputNumber captures enum value "number"
	BindSeverityOutputNumber string = "number"

	// BindSeverityOutputString captures enum value "string"
	BindSeverityOutputString string = "string"
)
View Source
const (

	// BindSslMaxVerSSLv3 captures enum value "SSLv3"
	BindSslMaxVerSSLv3 string = "SSLv3"

	// BindSslMaxVerTLSv10 captures enum value "TLSv1.0"
	BindSslMaxVerTLSv10 string = "TLSv1.0"

	// BindSslMaxVerTLSv11 captures enum value "TLSv1.1"
	BindSslMaxVerTLSv11 string = "TLSv1.1"

	// BindSslMaxVerTLSv12 captures enum value "TLSv1.2"
	BindSslMaxVerTLSv12 string = "TLSv1.2"

	// BindSslMaxVerTLSv13 captures enum value "TLSv1.3"
	BindSslMaxVerTLSv13 string = "TLSv1.3"
)
View Source
const (

	// BindSslMinVerSSLv3 captures enum value "SSLv3"
	BindSslMinVerSSLv3 string = "SSLv3"

	// BindSslMinVerTLSv10 captures enum value "TLSv1.0"
	BindSslMinVerTLSv10 string = "TLSv1.0"

	// BindSslMinVerTLSv11 captures enum value "TLSv1.1"
	BindSslMinVerTLSv11 string = "TLSv1.1"

	// BindSslMinVerTLSv12 captures enum value "TLSv1.2"
	BindSslMinVerTLSv12 string = "TLSv1.2"

	// BindSslMinVerTLSv13 captures enum value "TLSv1.3"
	BindSslMinVerTLSv13 string = "TLSv1.3"
)
View Source
const (

	// BindVerifyNone captures enum value "none"
	BindVerifyNone string = "none"

	// BindVerifyOptional captures enum value "optional"
	BindVerifyOptional string = "optional"

	// BindVerifyRequired captures enum value "required"
	BindVerifyRequired string = "required"
)
View Source
const (

	// ClusterSettingsModeSingle captures enum value "single"
	ClusterSettingsModeSingle string = "single"

	// ClusterSettingsModeCluster captures enum value "cluster"
	ClusterSettingsModeCluster string = "cluster"
)
View Source
const (

	// ClusterSettingsStatusActive captures enum value "active"
	ClusterSettingsStatusActive string = "active"

	// ClusterSettingsStatusUnreachable captures enum value "unreachable"
	ClusterSettingsStatusUnreachable string = "unreachable"

	// ClusterSettingsStatusWaitingApproval captures enum value "waiting_approval"
	ClusterSettingsStatusWaitingApproval string = "waiting_approval"
)
View Source
const (

	// ConsulServerSlotsGrowthTypeLinear captures enum value "linear"
	ConsulServerSlotsGrowthTypeLinear string = "linear"

	// ConsulServerSlotsGrowthTypeExponential captures enum value "exponential"
	ConsulServerSlotsGrowthTypeExponential string = "exponential"
)
View Source
const (

	// CookieTypeRewrite captures enum value "rewrite"
	CookieTypeRewrite string = "rewrite"

	// CookieTypeInsert captures enum value "insert"
	CookieTypeInsert string = "insert"

	// CookieTypePrefix captures enum value "prefix"
	CookieTypePrefix string = "prefix"
)
View Source
const (

	// DefaultServerAgentCheckEnabled captures enum value "enabled"
	DefaultServerAgentCheckEnabled string = "enabled"

	// DefaultServerAgentCheckDisabled captures enum value "disabled"
	DefaultServerAgentCheckDisabled string = "disabled"
)
View Source
const (

	// DefaultServerBackupEnabled captures enum value "enabled"
	DefaultServerBackupEnabled string = "enabled"

	// DefaultServerBackupDisabled captures enum value "disabled"
	DefaultServerBackupDisabled string = "disabled"
)
View Source
const (

	// DefaultServerCheckEnabled captures enum value "enabled"
	DefaultServerCheckEnabled string = "enabled"

	// DefaultServerCheckDisabled captures enum value "disabled"
	DefaultServerCheckDisabled string = "disabled"
)
View Source
const (

	// DefaultServerCheckSslEnabled captures enum value "enabled"
	DefaultServerCheckSslEnabled string = "enabled"

	// DefaultServerCheckSslDisabled captures enum value "disabled"
	DefaultServerCheckSslDisabled string = "disabled"
)
View Source
const (

	// DefaultServerCheckViaSocks4Enabled captures enum value "enabled"
	DefaultServerCheckViaSocks4Enabled string = "enabled"

	// DefaultServerCheckViaSocks4Disabled captures enum value "disabled"
	DefaultServerCheckViaSocks4Disabled string = "disabled"
)
View Source
const (

	// DefaultServerForceSslv3Enabled captures enum value "enabled"
	DefaultServerForceSslv3Enabled string = "enabled"

	// DefaultServerForceSslv3Disabled captures enum value "disabled"
	DefaultServerForceSslv3Disabled string = "disabled"
)
View Source
const (

	// DefaultServerForceTlsv10Enabled captures enum value "enabled"
	DefaultServerForceTlsv10Enabled string = "enabled"

	// DefaultServerForceTlsv10Disabled captures enum value "disabled"
	DefaultServerForceTlsv10Disabled string = "disabled"
)
View Source
const (

	// DefaultServerForceTlsv11Enabled captures enum value "enabled"
	DefaultServerForceTlsv11Enabled string = "enabled"

	// DefaultServerForceTlsv11Disabled captures enum value "disabled"
	DefaultServerForceTlsv11Disabled string = "disabled"
)
View Source
const (

	// DefaultServerForceTlsv12Enabled captures enum value "enabled"
	DefaultServerForceTlsv12Enabled string = "enabled"

	// DefaultServerForceTlsv12Disabled captures enum value "disabled"
	DefaultServerForceTlsv12Disabled string = "disabled"
)
View Source
const (

	// DefaultServerForceTlsv13Enabled captures enum value "enabled"
	DefaultServerForceTlsv13Enabled string = "enabled"

	// DefaultServerForceTlsv13Disabled captures enum value "disabled"
	DefaultServerForceTlsv13Disabled string = "disabled"
)
View Source
const (

	// DefaultServerLogProtoLegacy captures enum value "legacy"
	DefaultServerLogProtoLegacy string = "legacy"

	// DefaultServerLogProtoOctetCount captures enum value "octet-count"
	DefaultServerLogProtoOctetCount string = "octet-count"
)
View Source
const (

	// DefaultServerNoSslv3Enabled captures enum value "enabled"
	DefaultServerNoSslv3Enabled string = "enabled"

	// DefaultServerNoSslv3Disabled captures enum value "disabled"
	DefaultServerNoSslv3Disabled string = "disabled"
)
View Source
const (

	// DefaultServerNoTlsv10Enabled captures enum value "enabled"
	DefaultServerNoTlsv10Enabled string = "enabled"

	// DefaultServerNoTlsv10Disabled captures enum value "disabled"
	DefaultServerNoTlsv10Disabled string = "disabled"
)
View Source
const (

	// DefaultServerNoTlsv11Enabled captures enum value "enabled"
	DefaultServerNoTlsv11Enabled string = "enabled"

	// DefaultServerNoTlsv11Disabled captures enum value "disabled"
	DefaultServerNoTlsv11Disabled string = "disabled"
)
View Source
const (

	// DefaultServerNoTlsv12Enabled captures enum value "enabled"
	DefaultServerNoTlsv12Enabled string = "enabled"

	// DefaultServerNoTlsv12Disabled captures enum value "disabled"
	DefaultServerNoTlsv12Disabled string = "disabled"
)
View Source
const (

	// DefaultServerNoTlsv13Enabled captures enum value "enabled"
	DefaultServerNoTlsv13Enabled string = "enabled"

	// DefaultServerNoTlsv13Disabled captures enum value "disabled"
	DefaultServerNoTlsv13Disabled string = "disabled"
)
View Source
const (

	// DefaultServerNoVerifyhostEnabled captures enum value "enabled"
	DefaultServerNoVerifyhostEnabled string = "enabled"

	// DefaultServerNoVerifyhostDisabled captures enum value "disabled"
	DefaultServerNoVerifyhostDisabled string = "disabled"
)
View Source
const (

	// DefaultServerObserveLayer4 captures enum value "layer4"
	DefaultServerObserveLayer4 string = "layer4"

	// DefaultServerObserveLayer7 captures enum value "layer7"
	DefaultServerObserveLayer7 string = "layer7"
)
View Source
const (

	// DefaultServerOnErrorFastinter captures enum value "fastinter"
	DefaultServerOnErrorFastinter string = "fastinter"

	// DefaultServerOnErrorFailCheck captures enum value "fail-check"
	DefaultServerOnErrorFailCheck string = "fail-check"

	// DefaultServerOnErrorSuddenDeath captures enum value "sudden-death"
	DefaultServerOnErrorSuddenDeath string = "sudden-death"

	// DefaultServerOnErrorMarkDown captures enum value "mark-down"
	DefaultServerOnErrorMarkDown string = "mark-down"
)
View Source
const (

	// DefaultServerResolvePreferIPV4 captures enum value "ipv4"
	DefaultServerResolvePreferIPV4 string = "ipv4"

	// DefaultServerResolvePreferIPV6 captures enum value "ipv6"
	DefaultServerResolvePreferIPV6 string = "ipv6"
)
View Source
const (

	// DefaultServerSendProxyEnabled captures enum value "enabled"
	DefaultServerSendProxyEnabled string = "enabled"

	// DefaultServerSendProxyDisabled captures enum value "disabled"
	DefaultServerSendProxyDisabled string = "disabled"
)
View Source
const (

	// DefaultServerSendProxyV2Enabled captures enum value "enabled"
	DefaultServerSendProxyV2Enabled string = "enabled"

	// DefaultServerSendProxyV2Disabled captures enum value "disabled"
	DefaultServerSendProxyV2Disabled string = "disabled"
)
View Source
const (

	// DefaultServerSendProxyV2SslEnabled captures enum value "enabled"
	DefaultServerSendProxyV2SslEnabled string = "enabled"

	// DefaultServerSendProxyV2SslDisabled captures enum value "disabled"
	DefaultServerSendProxyV2SslDisabled string = "disabled"
)
View Source
const (

	// DefaultServerSendProxyV2SslCnEnabled captures enum value "enabled"
	DefaultServerSendProxyV2SslCnEnabled string = "enabled"

	// DefaultServerSendProxyV2SslCnDisabled captures enum value "disabled"
	DefaultServerSendProxyV2SslCnDisabled string = "disabled"
)
View Source
const (

	// DefaultServerSslEnabled captures enum value "enabled"
	DefaultServerSslEnabled string = "enabled"

	// DefaultServerSslDisabled captures enum value "disabled"
	DefaultServerSslDisabled string = "disabled"
)
View Source
const (

	// DefaultServerSslMaxVerSSLv3 captures enum value "SSLv3"
	DefaultServerSslMaxVerSSLv3 string = "SSLv3"

	// DefaultServerSslMaxVerTLSv10 captures enum value "TLSv1.0"
	DefaultServerSslMaxVerTLSv10 string = "TLSv1.0"

	// DefaultServerSslMaxVerTLSv11 captures enum value "TLSv1.1"
	DefaultServerSslMaxVerTLSv11 string = "TLSv1.1"

	// DefaultServerSslMaxVerTLSv12 captures enum value "TLSv1.2"
	DefaultServerSslMaxVerTLSv12 string = "TLSv1.2"

	// DefaultServerSslMaxVerTLSv13 captures enum value "TLSv1.3"
	DefaultServerSslMaxVerTLSv13 string = "TLSv1.3"
)
View Source
const (

	// DefaultServerSslMinVerSSLv3 captures enum value "SSLv3"
	DefaultServerSslMinVerSSLv3 string = "SSLv3"

	// DefaultServerSslMinVerTLSv10 captures enum value "TLSv1.0"
	DefaultServerSslMinVerTLSv10 string = "TLSv1.0"

	// DefaultServerSslMinVerTLSv11 captures enum value "TLSv1.1"
	DefaultServerSslMinVerTLSv11 string = "TLSv1.1"

	// DefaultServerSslMinVerTLSv12 captures enum value "TLSv1.2"
	DefaultServerSslMinVerTLSv12 string = "TLSv1.2"

	// DefaultServerSslMinVerTLSv13 captures enum value "TLSv1.3"
	DefaultServerSslMinVerTLSv13 string = "TLSv1.3"
)
View Source
const (

	// DefaultServerSslReuseEnabled captures enum value "enabled"
	DefaultServerSslReuseEnabled string = "enabled"

	// DefaultServerSslReuseDisabled captures enum value "disabled"
	DefaultServerSslReuseDisabled string = "disabled"
)
View Source
const (

	// DefaultServerStickEnabled captures enum value "enabled"
	DefaultServerStickEnabled string = "enabled"

	// DefaultServerStickDisabled captures enum value "disabled"
	DefaultServerStickDisabled string = "disabled"
)
View Source
const (

	// DefaultServerTfoEnabled captures enum value "enabled"
	DefaultServerTfoEnabled string = "enabled"

	// DefaultServerTfoDisabled captures enum value "disabled"
	DefaultServerTfoDisabled string = "disabled"
)
View Source
const (

	// DefaultServerTLSTicketsEnabled captures enum value "enabled"
	DefaultServerTLSTicketsEnabled string = "enabled"

	// DefaultServerTLSTicketsDisabled captures enum value "disabled"
	DefaultServerTLSTicketsDisabled string = "disabled"
)
View Source
const (

	// DefaultServerVerifyNone captures enum value "none"
	DefaultServerVerifyNone string = "none"

	// DefaultServerVerifyRequired captures enum value "required"
	DefaultServerVerifyRequired string = "required"
)
View Source
const (

	// DefaultsAbortoncloseEnabled captures enum value "enabled"
	DefaultsAbortoncloseEnabled string = "enabled"

	// DefaultsAbortoncloseDisabled captures enum value "disabled"
	DefaultsAbortoncloseDisabled string = "disabled"
)
View Source
const (

	// DefaultsAdvCheckSslHelloChk captures enum value "ssl-hello-chk"
	DefaultsAdvCheckSslHelloChk string = "ssl-hello-chk"

	// DefaultsAdvCheckSmtpchk captures enum value "smtpchk"
	DefaultsAdvCheckSmtpchk string = "smtpchk"

	// DefaultsAdvCheckLdapCheck captures enum value "ldap-check"
	DefaultsAdvCheckLdapCheck string = "ldap-check"

	// DefaultsAdvCheckMysqlCheck captures enum value "mysql-check"
	DefaultsAdvCheckMysqlCheck string = "mysql-check"

	// DefaultsAdvCheckPgsqlCheck captures enum value "pgsql-check"
	DefaultsAdvCheckPgsqlCheck string = "pgsql-check"

	// DefaultsAdvCheckTCPCheck captures enum value "tcp-check"
	DefaultsAdvCheckTCPCheck string = "tcp-check"

	// DefaultsAdvCheckRedisCheck captures enum value "redis-check"
	DefaultsAdvCheckRedisCheck string = "redis-check"

	// DefaultsAdvCheckHttpchk captures enum value "httpchk"
	DefaultsAdvCheckHttpchk string = "httpchk"
)
View Source
const (

	// DefaultsAllbackupsEnabled captures enum value "enabled"
	DefaultsAllbackupsEnabled string = "enabled"

	// DefaultsAllbackupsDisabled captures enum value "disabled"
	DefaultsAllbackupsDisabled string = "disabled"
)
View Source
const (

	// DefaultsClitcpkaEnabled captures enum value "enabled"
	DefaultsClitcpkaEnabled string = "enabled"

	// DefaultsClitcpkaDisabled captures enum value "disabled"
	DefaultsClitcpkaDisabled string = "disabled"
)
View Source
const (

	// DefaultsDontlognullEnabled captures enum value "enabled"
	DefaultsDontlognullEnabled string = "enabled"

	// DefaultsDontlognullDisabled captures enum value "disabled"
	DefaultsDontlognullDisabled string = "disabled"
)
View Source
const (

	// DefaultsExternalCheckEnabled captures enum value "enabled"
	DefaultsExternalCheckEnabled string = "enabled"

	// DefaultsExternalCheckDisabled captures enum value "disabled"
	DefaultsExternalCheckDisabled string = "disabled"
)
View Source
const (

	// DefaultsHTTPBufferRequestEnabled captures enum value "enabled"
	DefaultsHTTPBufferRequestEnabled string = "enabled"

	// DefaultsHTTPBufferRequestDisabled captures enum value "disabled"
	DefaultsHTTPBufferRequestDisabled string = "disabled"
)
View Source
const (

	// DefaultsHTTPUseHtxEnabled captures enum value "enabled"
	DefaultsHTTPUseHtxEnabled string = "enabled"

	// DefaultsHTTPUseHtxDisabled captures enum value "disabled"
	DefaultsHTTPUseHtxDisabled string = "disabled"
)
View Source
const (

	// DefaultsHTTPConnectionModeHttpclose captures enum value "httpclose"
	DefaultsHTTPConnectionModeHttpclose string = "httpclose"

	// DefaultsHTTPConnectionModeHTTPServerClose captures enum value "http-server-close"
	DefaultsHTTPConnectionModeHTTPServerClose string = "http-server-close"

	// DefaultsHTTPConnectionModeHTTPKeepAlive captures enum value "http-keep-alive"
	DefaultsHTTPConnectionModeHTTPKeepAlive string = "http-keep-alive"
)
View Source
const (

	// DefaultsHTTPPretendKeepaliveEnabled captures enum value "enabled"
	DefaultsHTTPPretendKeepaliveEnabled string = "enabled"

	// DefaultsHTTPPretendKeepaliveDisabled captures enum value "disabled"
	DefaultsHTTPPretendKeepaliveDisabled string = "disabled"
)
View Source
const (

	// DefaultsHTTPReuseAggressive captures enum value "aggressive"
	DefaultsHTTPReuseAggressive string = "aggressive"

	// DefaultsHTTPReuseAlways captures enum value "always"
	DefaultsHTTPReuseAlways string = "always"

	// DefaultsHTTPReuseNever captures enum value "never"
	DefaultsHTTPReuseNever string = "never"

	// DefaultsHTTPReuseSafe captures enum value "safe"
	DefaultsHTTPReuseSafe string = "safe"
)
View Source
const (

	// DefaultsLogSeparateErrorsEnabled captures enum value "enabled"
	DefaultsLogSeparateErrorsEnabled string = "enabled"

	// DefaultsLogSeparateErrorsDisabled captures enum value "disabled"
	DefaultsLogSeparateErrorsDisabled string = "disabled"
)
View Source
const (

	// DefaultsLogasapEnabled captures enum value "enabled"
	DefaultsLogasapEnabled string = "enabled"

	// DefaultsLogasapDisabled captures enum value "disabled"
	DefaultsLogasapDisabled string = "disabled"
)
View Source
const (

	// DefaultsModeTCP captures enum value "tcp"
	DefaultsModeTCP string = "tcp"

	// DefaultsModeHTTP captures enum value "http"
	DefaultsModeHTTP string = "http"
)
View Source
const (

	// FilterTypeTrace captures enum value "trace"
	FilterTypeTrace string = "trace"

	// FilterTypeCompression captures enum value "compression"
	FilterTypeCompression string = "compression"

	// FilterTypeSpoe captures enum value "spoe"
	FilterTypeSpoe string = "spoe"

	// FilterTypeCache captures enum value "cache"
	FilterTypeCache string = "cache"
)
View Source
const (

	// FrontendClitcpkaEnabled captures enum value "enabled"
	FrontendClitcpkaEnabled string = "enabled"

	// FrontendClitcpkaDisabled captures enum value "disabled"
	FrontendClitcpkaDisabled string = "disabled"
)
View Source
const (

	// FrontendDontlognullEnabled captures enum value "enabled"
	FrontendDontlognullEnabled string = "enabled"

	// FrontendDontlognullDisabled captures enum value "disabled"
	FrontendDontlognullDisabled string = "disabled"
)
View Source
const (

	// FrontendHTTPBufferRequestEnabled captures enum value "enabled"
	FrontendHTTPBufferRequestEnabled string = "enabled"

	// FrontendHTTPBufferRequestDisabled captures enum value "disabled"
	FrontendHTTPBufferRequestDisabled string = "disabled"
)
View Source
const (

	// FrontendHTTPUseHtxEnabled captures enum value "enabled"
	FrontendHTTPUseHtxEnabled string = "enabled"

	// FrontendHTTPUseHtxDisabled captures enum value "disabled"
	FrontendHTTPUseHtxDisabled string = "disabled"
)
View Source
const (

	// FrontendHTTPConnectionModeHttpclose captures enum value "httpclose"
	FrontendHTTPConnectionModeHttpclose string = "httpclose"

	// FrontendHTTPConnectionModeHTTPServerClose captures enum value "http-server-close"
	FrontendHTTPConnectionModeHTTPServerClose string = "http-server-close"

	// FrontendHTTPConnectionModeHTTPKeepAlive captures enum value "http-keep-alive"
	FrontendHTTPConnectionModeHTTPKeepAlive string = "http-keep-alive"
)
View Source
const (

	// FrontendLogSeparateErrorsEnabled captures enum value "enabled"
	FrontendLogSeparateErrorsEnabled string = "enabled"

	// FrontendLogSeparateErrorsDisabled captures enum value "disabled"
	FrontendLogSeparateErrorsDisabled string = "disabled"
)
View Source
const (

	// FrontendLogasapEnabled captures enum value "enabled"
	FrontendLogasapEnabled string = "enabled"

	// FrontendLogasapDisabled captures enum value "disabled"
	FrontendLogasapDisabled string = "disabled"
)
View Source
const (

	// FrontendModeHTTP captures enum value "http"
	FrontendModeHTTP string = "http"

	// FrontendModeTCP captures enum value "tcp"
	FrontendModeTCP string = "tcp"
)
View Source
const (

	// GlobalDaemonEnabled captures enum value "enabled"
	GlobalDaemonEnabled string = "enabled"

	// GlobalDaemonDisabled captures enum value "disabled"
	GlobalDaemonDisabled string = "disabled"
)
View Source
const (

	// GlobalSslModeAsyncEnabled captures enum value "enabled"
	GlobalSslModeAsyncEnabled string = "enabled"

	// GlobalSslModeAsyncDisabled captures enum value "disabled"
	GlobalSslModeAsyncDisabled string = "disabled"
)
View Source
const (

	// GlobalLogSendHostnameEnabledEnabled captures enum value "enabled"
	GlobalLogSendHostnameEnabledEnabled string = "enabled"

	// GlobalLogSendHostnameEnabledDisabled captures enum value "disabled"
	GlobalLogSendHostnameEnabledDisabled string = "disabled"
)
View Source
const (

	// RuntimeAPILevelUser captures enum value "user"
	RuntimeAPILevelUser string = "user"

	// RuntimeAPILevelOperator captures enum value "operator"
	RuntimeAPILevelOperator string = "operator"

	// RuntimeAPILevelAdmin captures enum value "admin"
	RuntimeAPILevelAdmin string = "admin"
)
View Source
const (

	// HTTPCheckMatchStatus captures enum value "status"
	HTTPCheckMatchStatus string = "status"

	// HTTPCheckMatchRstatus captures enum value "rstatus"
	HTTPCheckMatchRstatus string = "rstatus"

	// HTTPCheckMatchString captures enum value "string"
	HTTPCheckMatchString string = "string"

	// HTTPCheckMatchRstring captures enum value "rstring"
	HTTPCheckMatchRstring string = "rstring"
)
View Source
const (

	// HTTPCheckTypeDisableOn404 captures enum value "disable-on-404"
	HTTPCheckTypeDisableOn404 string = "disable-on-404"

	// HTTPCheckTypeExpect captures enum value "expect"
	HTTPCheckTypeExpect string = "expect"

	// HTTPCheckTypeSendState captures enum value "send-state"
	HTTPCheckTypeSendState string = "send-state"
)
View Source
const (

	// HTTPRequestRuleCondIf captures enum value "if"
	HTTPRequestRuleCondIf string = "if"

	// HTTPRequestRuleCondUnless captures enum value "unless"
	HTTPRequestRuleCondUnless string = "unless"
)
View Source
const (

	// HTTPRequestRuleLogLevelEmerg captures enum value "emerg"
	HTTPRequestRuleLogLevelEmerg string = "emerg"

	// HTTPRequestRuleLogLevelAlert captures enum value "alert"
	HTTPRequestRuleLogLevelAlert string = "alert"

	// HTTPRequestRuleLogLevelCrit captures enum value "crit"
	HTTPRequestRuleLogLevelCrit string = "crit"

	// HTTPRequestRuleLogLevelErr captures enum value "err"
	HTTPRequestRuleLogLevelErr string = "err"

	// HTTPRequestRuleLogLevelWarning captures enum value "warning"
	HTTPRequestRuleLogLevelWarning string = "warning"

	// HTTPRequestRuleLogLevelNotice captures enum value "notice"
	HTTPRequestRuleLogLevelNotice string = "notice"

	// HTTPRequestRuleLogLevelInfo captures enum value "info"
	HTTPRequestRuleLogLevelInfo string = "info"

	// HTTPRequestRuleLogLevelDebug captures enum value "debug"
	HTTPRequestRuleLogLevelDebug string = "debug"

	// HTTPRequestRuleLogLevelSilent captures enum value "silent"
	HTTPRequestRuleLogLevelSilent string = "silent"
)
View Source
const (

	// HTTPRequestRuleProtocolIPV4 captures enum value "ipv4"
	HTTPRequestRuleProtocolIPV4 string = "ipv4"

	// HTTPRequestRuleProtocolIPV6 captures enum value "ipv6"
	HTTPRequestRuleProtocolIPV6 string = "ipv6"
)
View Source
const (

	// HTTPRequestRuleRedirTypeLocation captures enum value "location"
	HTTPRequestRuleRedirTypeLocation string = "location"

	// HTTPRequestRuleRedirTypePrefix captures enum value "prefix"
	HTTPRequestRuleRedirTypePrefix string = "prefix"

	// HTTPRequestRuleRedirTypeScheme captures enum value "scheme"
	HTTPRequestRuleRedirTypeScheme string = "scheme"
)
View Source
const (

	// HTTPRequestRuleStrictModeOn captures enum value "on"
	HTTPRequestRuleStrictModeOn string = "on"

	// HTTPRequestRuleStrictModeOff captures enum value "off"
	HTTPRequestRuleStrictModeOff string = "off"
)
View Source
const (

	// HTTPRequestRuleTypeAllow captures enum value "allow"
	HTTPRequestRuleTypeAllow string = "allow"

	// HTTPRequestRuleTypeDeny captures enum value "deny"
	HTTPRequestRuleTypeDeny string = "deny"

	// HTTPRequestRuleTypeAuth captures enum value "auth"
	HTTPRequestRuleTypeAuth string = "auth"

	// HTTPRequestRuleTypeRedirect captures enum value "redirect"
	HTTPRequestRuleTypeRedirect string = "redirect"

	// HTTPRequestRuleTypeTarpit captures enum value "tarpit"
	HTTPRequestRuleTypeTarpit string = "tarpit"

	// HTTPRequestRuleTypeAddHeader captures enum value "add-header"
	HTTPRequestRuleTypeAddHeader string = "add-header"

	// HTTPRequestRuleTypeReplaceHeader captures enum value "replace-header"
	HTTPRequestRuleTypeReplaceHeader string = "replace-header"

	// HTTPRequestRuleTypeReplaceValue captures enum value "replace-value"
	HTTPRequestRuleTypeReplaceValue string = "replace-value"

	// HTTPRequestRuleTypeDelHeader captures enum value "del-header"
	HTTPRequestRuleTypeDelHeader string = "del-header"

	// HTTPRequestRuleTypeSetHeader captures enum value "set-header"
	HTTPRequestRuleTypeSetHeader string = "set-header"

	// HTTPRequestRuleTypeSetLogLevel captures enum value "set-log-level"
	HTTPRequestRuleTypeSetLogLevel string = "set-log-level"

	// HTTPRequestRuleTypeSetPath captures enum value "set-path"
	HTTPRequestRuleTypeSetPath string = "set-path"

	// HTTPRequestRuleTypeReplacePath captures enum value "replace-path"
	HTTPRequestRuleTypeReplacePath string = "replace-path"

	// HTTPRequestRuleTypeSetQuery captures enum value "set-query"
	HTTPRequestRuleTypeSetQuery string = "set-query"

	// HTTPRequestRuleTypeSetURI captures enum value "set-uri"
	HTTPRequestRuleTypeSetURI string = "set-uri"

	// HTTPRequestRuleTypeSetVar captures enum value "set-var"
	HTTPRequestRuleTypeSetVar string = "set-var"

	// HTTPRequestRuleTypeSendSpoeGroup captures enum value "send-spoe-group"
	HTTPRequestRuleTypeSendSpoeGroup string = "send-spoe-group"

	// HTTPRequestRuleTypeAddACL captures enum value "add-acl"
	HTTPRequestRuleTypeAddACL string = "add-acl"

	// HTTPRequestRuleTypeDelACL captures enum value "del-acl"
	HTTPRequestRuleTypeDelACL string = "del-acl"

	// HTTPRequestRuleTypeCapture captures enum value "capture"
	HTTPRequestRuleTypeCapture string = "capture"

	// HTTPRequestRuleTypeTrackSc0 captures enum value "track-sc0"
	HTTPRequestRuleTypeTrackSc0 string = "track-sc0"

	// HTTPRequestRuleTypeTrackSc1 captures enum value "track-sc1"
	HTTPRequestRuleTypeTrackSc1 string = "track-sc1"

	// HTTPRequestRuleTypeTrackSc2 captures enum value "track-sc2"
	HTTPRequestRuleTypeTrackSc2 string = "track-sc2"

	// HTTPRequestRuleTypeSetMap captures enum value "set-map"
	HTTPRequestRuleTypeSetMap string = "set-map"

	// HTTPRequestRuleTypeDelMap captures enum value "del-map"
	HTTPRequestRuleTypeDelMap string = "del-map"

	// HTTPRequestRuleTypeCacheUse captures enum value "cache-use"
	HTTPRequestRuleTypeCacheUse string = "cache-use"

	// HTTPRequestRuleTypeDisableL7Retry captures enum value "disable-l7-retry"
	HTTPRequestRuleTypeDisableL7Retry string = "disable-l7-retry"

	// HTTPRequestRuleTypeEarlyHint captures enum value "early-hint"
	HTTPRequestRuleTypeEarlyHint string = "early-hint"

	// HTTPRequestRuleTypeReplaceURI captures enum value "replace-uri"
	HTTPRequestRuleTypeReplaceURI string = "replace-uri"

	// HTTPRequestRuleTypeScIncGpc0 captures enum value "sc-inc-gpc0"
	HTTPRequestRuleTypeScIncGpc0 string = "sc-inc-gpc0"

	// HTTPRequestRuleTypeScIncGpc1 captures enum value "sc-inc-gpc1"
	HTTPRequestRuleTypeScIncGpc1 string = "sc-inc-gpc1"

	// HTTPRequestRuleTypeDoResolve captures enum value "do-resolve"
	HTTPRequestRuleTypeDoResolve string = "do-resolve"

	// HTTPRequestRuleTypeSetDst captures enum value "set-dst"
	HTTPRequestRuleTypeSetDst string = "set-dst"

	// HTTPRequestRuleTypeSetDstPort captures enum value "set-dst-port"
	HTTPRequestRuleTypeSetDstPort string = "set-dst-port"

	// HTTPRequestRuleTypeScSetGpt0 captures enum value "sc-set-gpt0"
	HTTPRequestRuleTypeScSetGpt0 string = "sc-set-gpt0"

	// HTTPRequestRuleTypeSetMark captures enum value "set-mark"
	HTTPRequestRuleTypeSetMark string = "set-mark"

	// HTTPRequestRuleTypeSetNice captures enum value "set-nice"
	HTTPRequestRuleTypeSetNice string = "set-nice"

	// HTTPRequestRuleTypeSetMethod captures enum value "set-method"
	HTTPRequestRuleTypeSetMethod string = "set-method"

	// HTTPRequestRuleTypeSetPriorityClass captures enum value "set-priority-class"
	HTTPRequestRuleTypeSetPriorityClass string = "set-priority-class"

	// HTTPRequestRuleTypeSetPriorityOffset captures enum value "set-priority-offset"
	HTTPRequestRuleTypeSetPriorityOffset string = "set-priority-offset"

	// HTTPRequestRuleTypeSetSrc captures enum value "set-src"
	HTTPRequestRuleTypeSetSrc string = "set-src"

	// HTTPRequestRuleTypeSetSrcPor captures enum value "set-src-por"
	HTTPRequestRuleTypeSetSrcPor string = "set-src-por"

	// HTTPRequestRuleTypeWaitForHandshake captures enum value "wait-for-handshake"
	HTTPRequestRuleTypeWaitForHandshake string = "wait-for-handshake"

	// HTTPRequestRuleTypeSetTos captures enum value "set-tos"
	HTTPRequestRuleTypeSetTos string = "set-tos"

	// HTTPRequestRuleTypeSilentDrop captures enum value "silent-drop"
	HTTPRequestRuleTypeSilentDrop string = "silent-drop"

	// HTTPRequestRuleTypeUnsetVar captures enum value "unset-var"
	HTTPRequestRuleTypeUnsetVar string = "unset-var"

	// HTTPRequestRuleTypeStrictMode captures enum value "strict-mode"
	HTTPRequestRuleTypeStrictMode string = "strict-mode"

	// HTTPRequestRuleTypeLua captures enum value "lua"
	HTTPRequestRuleTypeLua string = "lua"

	// HTTPRequestRuleTypeUseService captures enum value "use-service"
	HTTPRequestRuleTypeUseService string = "use-service"
)
View Source
const (

	// HTTPResponseRuleCondIf captures enum value "if"
	HTTPResponseRuleCondIf string = "if"

	// HTTPResponseRuleCondUnless captures enum value "unless"
	HTTPResponseRuleCondUnless string = "unless"
)
View Source
const (

	// HTTPResponseRuleLogLevelEmerg captures enum value "emerg"
	HTTPResponseRuleLogLevelEmerg string = "emerg"

	// HTTPResponseRuleLogLevelAlert captures enum value "alert"
	HTTPResponseRuleLogLevelAlert string = "alert"

	// HTTPResponseRuleLogLevelCrit captures enum value "crit"
	HTTPResponseRuleLogLevelCrit string = "crit"

	// HTTPResponseRuleLogLevelErr captures enum value "err"
	HTTPResponseRuleLogLevelErr string = "err"

	// HTTPResponseRuleLogLevelWarning captures enum value "warning"
	HTTPResponseRuleLogLevelWarning string = "warning"

	// HTTPResponseRuleLogLevelNotice captures enum value "notice"
	HTTPResponseRuleLogLevelNotice string = "notice"

	// HTTPResponseRuleLogLevelInfo captures enum value "info"
	HTTPResponseRuleLogLevelInfo string = "info"

	// HTTPResponseRuleLogLevelDebug captures enum value "debug"
	HTTPResponseRuleLogLevelDebug string = "debug"

	// HTTPResponseRuleLogLevelSilent captures enum value "silent"
	HTTPResponseRuleLogLevelSilent string = "silent"
)
View Source
const (

	// HTTPResponseRuleRedirTypeLocation captures enum value "location"
	HTTPResponseRuleRedirTypeLocation string = "location"

	// HTTPResponseRuleRedirTypePrefix captures enum value "prefix"
	HTTPResponseRuleRedirTypePrefix string = "prefix"

	// HTTPResponseRuleRedirTypeScheme captures enum value "scheme"
	HTTPResponseRuleRedirTypeScheme string = "scheme"
)
View Source
const (

	// HTTPResponseRuleStrictModeOn captures enum value "on"
	HTTPResponseRuleStrictModeOn string = "on"

	// HTTPResponseRuleStrictModeOff captures enum value "off"
	HTTPResponseRuleStrictModeOff string = "off"
)
View Source
const (

	// HTTPResponseRuleTypeAllow captures enum value "allow"
	HTTPResponseRuleTypeAllow string = "allow"

	// HTTPResponseRuleTypeDeny captures enum value "deny"
	HTTPResponseRuleTypeDeny string = "deny"

	// HTTPResponseRuleTypeRedirect captures enum value "redirect"
	HTTPResponseRuleTypeRedirect string = "redirect"

	// HTTPResponseRuleTypeAddHeader captures enum value "add-header"
	HTTPResponseRuleTypeAddHeader string = "add-header"

	// HTTPResponseRuleTypeSetHeader captures enum value "set-header"
	HTTPResponseRuleTypeSetHeader string = "set-header"

	// HTTPResponseRuleTypeDelHeader captures enum value "del-header"
	HTTPResponseRuleTypeDelHeader string = "del-header"

	// HTTPResponseRuleTypeSetLogLevel captures enum value "set-log-level"
	HTTPResponseRuleTypeSetLogLevel string = "set-log-level"

	// HTTPResponseRuleTypeSetVar captures enum value "set-var"
	HTTPResponseRuleTypeSetVar string = "set-var"

	// HTTPResponseRuleTypeSetStatus captures enum value "set-status"
	HTTPResponseRuleTypeSetStatus string = "set-status"

	// HTTPResponseRuleTypeSendSpoeGroup captures enum value "send-spoe-group"
	HTTPResponseRuleTypeSendSpoeGroup string = "send-spoe-group"

	// HTTPResponseRuleTypeReplaceHeader captures enum value "replace-header"
	HTTPResponseRuleTypeReplaceHeader string = "replace-header"

	// HTTPResponseRuleTypeReplaceValue captures enum value "replace-value"
	HTTPResponseRuleTypeReplaceValue string = "replace-value"

	// HTTPResponseRuleTypeAddACL captures enum value "add-acl"
	HTTPResponseRuleTypeAddACL string = "add-acl"

	// HTTPResponseRuleTypeDelACL captures enum value "del-acl"
	HTTPResponseRuleTypeDelACL string = "del-acl"

	// HTTPResponseRuleTypeCapture captures enum value "capture"
	HTTPResponseRuleTypeCapture string = "capture"

	// HTTPResponseRuleTypeSetMap captures enum value "set-map"
	HTTPResponseRuleTypeSetMap string = "set-map"

	// HTTPResponseRuleTypeDelMap captures enum value "del-map"
	HTTPResponseRuleTypeDelMap string = "del-map"

	// HTTPResponseRuleTypeScIncGpc0 captures enum value "sc-inc-gpc0"
	HTTPResponseRuleTypeScIncGpc0 string = "sc-inc-gpc0"

	// HTTPResponseRuleTypeScIncGpc1 captures enum value "sc-inc-gpc1"
	HTTPResponseRuleTypeScIncGpc1 string = "sc-inc-gpc1"

	// HTTPResponseRuleTypeScSetGpt0 captures enum value "sc-set-gpt0"
	HTTPResponseRuleTypeScSetGpt0 string = "sc-set-gpt0"

	// HTTPResponseRuleTypeSetMark captures enum value "set-mark"
	HTTPResponseRuleTypeSetMark string = "set-mark"

	// HTTPResponseRuleTypeSetNice captures enum value "set-nice"
	HTTPResponseRuleTypeSetNice string = "set-nice"

	// HTTPResponseRuleTypeSetTos captures enum value "set-tos"
	HTTPResponseRuleTypeSetTos string = "set-tos"

	// HTTPResponseRuleTypeSilentDrop captures enum value "silent-drop"
	HTTPResponseRuleTypeSilentDrop string = "silent-drop"

	// HTTPResponseRuleTypeUnsetVar captures enum value "unset-var"
	HTTPResponseRuleTypeUnsetVar string = "unset-var"

	// HTTPResponseRuleTypeTrackSc0 captures enum value "track-sc0"
	HTTPResponseRuleTypeTrackSc0 string = "track-sc0"

	// HTTPResponseRuleTypeTrackSc1 captures enum value "track-sc1"
	HTTPResponseRuleTypeTrackSc1 string = "track-sc1"

	// HTTPResponseRuleTypeTrackSc2 captures enum value "track-sc2"
	HTTPResponseRuleTypeTrackSc2 string = "track-sc2"

	// HTTPResponseRuleTypeStrictMode captures enum value "strict-mode"
	HTTPResponseRuleTypeStrictMode string = "strict-mode"

	// HTTPResponseRuleTypeLua captures enum value "lua"
	HTTPResponseRuleTypeLua string = "lua"
)
View Source
const (

	// HttpchkMethodHEAD captures enum value "HEAD"
	HttpchkMethodHEAD string = "HEAD"

	// HttpchkMethodPUT captures enum value "PUT"
	HttpchkMethodPUT string = "PUT"

	// HttpchkMethodPOST captures enum value "POST"
	HttpchkMethodPOST string = "POST"

	// HttpchkMethodGET captures enum value "GET"
	HttpchkMethodGET string = "GET"

	// HttpchkMethodTRACE captures enum value "TRACE"
	HttpchkMethodTRACE string = "TRACE"

	// HttpchkMethodPATCH captures enum value "PATCH"
	HttpchkMethodPATCH string = "PATCH"
)
View Source
const (

	// HttpchkParamsMethodHEAD captures enum value "HEAD"
	HttpchkParamsMethodHEAD string = "HEAD"

	// HttpchkParamsMethodPUT captures enum value "PUT"
	HttpchkParamsMethodPUT string = "PUT"

	// HttpchkParamsMethodPOST captures enum value "POST"
	HttpchkParamsMethodPOST string = "POST"

	// HttpchkParamsMethodGET captures enum value "GET"
	HttpchkParamsMethodGET string = "GET"

	// HttpchkParamsMethodTRACE captures enum value "TRACE"
	HttpchkParamsMethodTRACE string = "TRACE"

	// HttpchkParamsMethodPATCH captures enum value "PATCH"
	HttpchkParamsMethodPATCH string = "PATCH"
)
View Source
const (

	// LogTargetFacilityKern captures enum value "kern"
	LogTargetFacilityKern string = "kern"

	// LogTargetFacilityUser captures enum value "user"
	LogTargetFacilityUser string = "user"

	// LogTargetFacilityMail captures enum value "mail"
	LogTargetFacilityMail string = "mail"

	// LogTargetFacilityDaemon captures enum value "daemon"
	LogTargetFacilityDaemon string = "daemon"

	// LogTargetFacilityAuth captures enum value "auth"
	LogTargetFacilityAuth string = "auth"

	// LogTargetFacilitySyslog captures enum value "syslog"
	LogTargetFacilitySyslog string = "syslog"

	// LogTargetFacilityLpr captures enum value "lpr"
	LogTargetFacilityLpr string = "lpr"

	// LogTargetFacilityNews captures enum value "news"
	LogTargetFacilityNews string = "news"

	// LogTargetFacilityUucp captures enum value "uucp"
	LogTargetFacilityUucp string = "uucp"

	// LogTargetFacilityCron captures enum value "cron"
	LogTargetFacilityCron string = "cron"

	// LogTargetFacilityAuth2 captures enum value "auth2"
	LogTargetFacilityAuth2 string = "auth2"

	// LogTargetFacilityFtp captures enum value "ftp"
	LogTargetFacilityFtp string = "ftp"

	// LogTargetFacilityNtp captures enum value "ntp"
	LogTargetFacilityNtp string = "ntp"

	// LogTargetFacilityAudit captures enum value "audit"
	LogTargetFacilityAudit string = "audit"

	// LogTargetFacilityAlert captures enum value "alert"
	LogTargetFacilityAlert string = "alert"

	// LogTargetFacilityCron2 captures enum value "cron2"
	LogTargetFacilityCron2 string = "cron2"

	// LogTargetFacilityLocal0 captures enum value "local0"
	LogTargetFacilityLocal0 string = "local0"

	// LogTargetFacilityLocal1 captures enum value "local1"
	LogTargetFacilityLocal1 string = "local1"

	// LogTargetFacilityLocal2 captures enum value "local2"
	LogTargetFacilityLocal2 string = "local2"

	// LogTargetFacilityLocal3 captures enum value "local3"
	LogTargetFacilityLocal3 string = "local3"

	// LogTargetFacilityLocal4 captures enum value "local4"
	LogTargetFacilityLocal4 string = "local4"

	// LogTargetFacilityLocal5 captures enum value "local5"
	LogTargetFacilityLocal5 string = "local5"

	// LogTargetFacilityLocal6 captures enum value "local6"
	LogTargetFacilityLocal6 string = "local6"

	// LogTargetFacilityLocal7 captures enum value "local7"
	LogTargetFacilityLocal7 string = "local7"
)
View Source
const (

	// LogTargetFormatRfc3164 captures enum value "rfc3164"
	LogTargetFormatRfc3164 string = "rfc3164"

	// LogTargetFormatRfc5424 captures enum value "rfc5424"
	LogTargetFormatRfc5424 string = "rfc5424"

	// LogTargetFormatShort captures enum value "short"
	LogTargetFormatShort string = "short"

	// LogTargetFormatRaw captures enum value "raw"
	LogTargetFormatRaw string = "raw"
)
View Source
const (

	// LogTargetLevelEmerg captures enum value "emerg"
	LogTargetLevelEmerg string = "emerg"

	// LogTargetLevelAlert captures enum value "alert"
	LogTargetLevelAlert string = "alert"

	// LogTargetLevelCrit captures enum value "crit"
	LogTargetLevelCrit string = "crit"

	// LogTargetLevelErr captures enum value "err"
	LogTargetLevelErr string = "err"

	// LogTargetLevelWarning captures enum value "warning"
	LogTargetLevelWarning string = "warning"

	// LogTargetLevelNotice captures enum value "notice"
	LogTargetLevelNotice string = "notice"

	// LogTargetLevelInfo captures enum value "info"
	LogTargetLevelInfo string = "info"

	// LogTargetLevelDebug captures enum value "debug"
	LogTargetLevelDebug string = "debug"
)
View Source
const (

	// LogTargetMinlevelEmerg captures enum value "emerg"
	LogTargetMinlevelEmerg string = "emerg"

	// LogTargetMinlevelAlert captures enum value "alert"
	LogTargetMinlevelAlert string = "alert"

	// LogTargetMinlevelCrit captures enum value "crit"
	LogTargetMinlevelCrit string = "crit"

	// LogTargetMinlevelErr captures enum value "err"
	LogTargetMinlevelErr string = "err"

	// LogTargetMinlevelWarning captures enum value "warning"
	LogTargetMinlevelWarning string = "warning"

	// LogTargetMinlevelNotice captures enum value "notice"
	LogTargetMinlevelNotice string = "notice"

	// LogTargetMinlevelInfo captures enum value "info"
	LogTargetMinlevelInfo string = "info"

	// LogTargetMinlevelDebug captures enum value "debug"
	LogTargetMinlevelDebug string = "debug"
)
View Source
const (

	// MonitorFailCondIf captures enum value "if"
	MonitorFailCondIf string = "if"

	// MonitorFailCondUnless captures enum value "unless"
	MonitorFailCondUnless string = "unless"
)
View Source
const (

	// MysqlCheckParamsClientVersionPre41 captures enum value "pre-41"
	MysqlCheckParamsClientVersionPre41 string = "pre-41"

	// MysqlCheckParamsClientVersionPost41 captures enum value "post-41"
	MysqlCheckParamsClientVersionPost41 string = "post-41"
)
View Source
const (

	// NativeStatTypeBackend captures enum value "backend"
	NativeStatTypeBackend string = "backend"

	// NativeStatTypeServer captures enum value "server"
	NativeStatTypeServer string = "server"

	// NativeStatTypeFrontend captures enum value "frontend"
	NativeStatTypeFrontend string = "frontend"
)
View Source
const (

	// NativeStatStatsAgentStatusUNK captures enum value "UNK"
	NativeStatStatsAgentStatusUNK string = "UNK"

	// NativeStatStatsAgentStatusINI captures enum value "INI"
	NativeStatStatsAgentStatusINI string = "INI"

	// NativeStatStatsAgentStatusSOCKERR captures enum value "SOCKERR"
	NativeStatStatsAgentStatusSOCKERR string = "SOCKERR"

	// NativeStatStatsAgentStatusL40K captures enum value "L40K"
	NativeStatStatsAgentStatusL40K string = "L40K"

	// NativeStatStatsAgentStatusL4TOUT captures enum value "L4TOUT"
	NativeStatStatsAgentStatusL4TOUT string = "L4TOUT"

	// NativeStatStatsAgentStatusL4CON captures enum value "L4CON"
	NativeStatStatsAgentStatusL4CON string = "L4CON"

	// NativeStatStatsAgentStatusL7OK captures enum value "L7OK"
	NativeStatStatsAgentStatusL7OK string = "L7OK"

	// NativeStatStatsAgentStatusL7STS captures enum value "L7STS"
	NativeStatStatsAgentStatusL7STS string = "L7STS"
)
View Source
const (

	// NativeStatStatsCheckStatusUNK captures enum value "UNK"
	NativeStatStatsCheckStatusUNK string = "UNK"

	// NativeStatStatsCheckStatusINI captures enum value "INI"
	NativeStatStatsCheckStatusINI string = "INI"

	// NativeStatStatsCheckStatusSOCKERR captures enum value "SOCKERR"
	NativeStatStatsCheckStatusSOCKERR string = "SOCKERR"

	// NativeStatStatsCheckStatusL40K captures enum value "L40K"
	NativeStatStatsCheckStatusL40K string = "L40K"

	// NativeStatStatsCheckStatusL4TOUT captures enum value "L4TOUT"
	NativeStatStatsCheckStatusL4TOUT string = "L4TOUT"

	// NativeStatStatsCheckStatusL4CON captures enum value "L4CON"
	NativeStatStatsCheckStatusL4CON string = "L4CON"

	// NativeStatStatsCheckStatusL6OK captures enum value "L6OK"
	NativeStatStatsCheckStatusL6OK string = "L6OK"

	// NativeStatStatsCheckStatusL6TOUT captures enum value "L6TOUT"
	NativeStatStatsCheckStatusL6TOUT string = "L6TOUT"

	// NativeStatStatsCheckStatusL6RSP captures enum value "L6RSP"
	NativeStatStatsCheckStatusL6RSP string = "L6RSP"

	// NativeStatStatsCheckStatusL7OK captures enum value "L7OK"
	NativeStatStatsCheckStatusL7OK string = "L7OK"

	// NativeStatStatsCheckStatusL7OKC captures enum value "L7OKC"
	NativeStatStatsCheckStatusL7OKC string = "L7OKC"

	// NativeStatStatsCheckStatusL7TOUT captures enum value "L7TOUT"
	NativeStatStatsCheckStatusL7TOUT string = "L7TOUT"

	// NativeStatStatsCheckStatusL7RSP captures enum value "L7RSP"
	NativeStatStatsCheckStatusL7RSP string = "L7RSP"

	// NativeStatStatsCheckStatusL7STS captures enum value "L7STS"
	NativeStatStatsCheckStatusL7STS string = "L7STS"
)
View Source
const (

	// NativeStatStatsModeTCP captures enum value "tcp"
	NativeStatStatsModeTCP string = "tcp"

	// NativeStatStatsModeHTTP captures enum value "http"
	NativeStatStatsModeHTTP string = "http"

	// NativeStatStatsModeHealth captures enum value "health"
	NativeStatStatsModeHealth string = "health"

	// NativeStatStatsModeUnknown captures enum value "unknown"
	NativeStatStatsModeUnknown string = "unknown"
)
View Source
const (

	// NativeStatStatsStatusUP captures enum value "UP"
	NativeStatStatsStatusUP string = "UP"

	// NativeStatStatsStatusDOWN captures enum value "DOWN"
	NativeStatStatsStatusDOWN string = "DOWN"

	// NativeStatStatsStatusNOLB captures enum value "NOLB"
	NativeStatStatsStatusNOLB string = "NOLB"

	// NativeStatStatsStatusMAINT captures enum value "MAINT"
	NativeStatStatsStatusMAINT string = "MAINT"

	// NativeStatStatsStatusNoCheck captures enum value "no check"
	NativeStatStatsStatusNoCheck string = "no check"
)
View Source
const (

	// RedispatchEnabledEnabled captures enum value "enabled"
	RedispatchEnabledEnabled string = "enabled"

	// RedispatchEnabledDisabled captures enum value "disabled"
	RedispatchEnabledDisabled string = "disabled"
)
View Source
const (

	// ReloadStatusFailed captures enum value "failed"
	ReloadStatusFailed string = "failed"

	// ReloadStatusInProgress captures enum value "in_progress"
	ReloadStatusInProgress string = "in_progress"

	// ReloadStatusSucceeded captures enum value "succeeded"
	ReloadStatusSucceeded string = "succeeded"
)
View Source
const (

	// RuntimeServerAdminStateReady captures enum value "ready"
	RuntimeServerAdminStateReady string = "ready"

	// RuntimeServerAdminStateMaint captures enum value "maint"
	RuntimeServerAdminStateMaint string = "maint"

	// RuntimeServerAdminStateDrain captures enum value "drain"
	RuntimeServerAdminStateDrain string = "drain"
)
View Source
const (

	// RuntimeServerOperationalStateUp captures enum value "up"
	RuntimeServerOperationalStateUp string = "up"

	// RuntimeServerOperationalStateDown captures enum value "down"
	RuntimeServerOperationalStateDown string = "down"

	// RuntimeServerOperationalStateStopping captures enum value "stopping"
	RuntimeServerOperationalStateStopping string = "stopping"
)
View Source
const (

	// ServerAgentCheckEnabled captures enum value "enabled"
	ServerAgentCheckEnabled string = "enabled"

	// ServerAgentCheckDisabled captures enum value "disabled"
	ServerAgentCheckDisabled string = "disabled"
)
View Source
const (

	// ServerBackupEnabled captures enum value "enabled"
	ServerBackupEnabled string = "enabled"

	// ServerBackupDisabled captures enum value "disabled"
	ServerBackupDisabled string = "disabled"
)
View Source
const (

	// ServerCheckEnabled captures enum value "enabled"
	ServerCheckEnabled string = "enabled"

	// ServerCheckDisabled captures enum value "disabled"
	ServerCheckDisabled string = "disabled"
)
View Source
const (

	// ServerCheckSslEnabled captures enum value "enabled"
	ServerCheckSslEnabled string = "enabled"

	// ServerCheckSslDisabled captures enum value "disabled"
	ServerCheckSslDisabled string = "disabled"
)
View Source
const (

	// ServerCheckViaSocks4Enabled captures enum value "enabled"
	ServerCheckViaSocks4Enabled string = "enabled"

	// ServerCheckViaSocks4Disabled captures enum value "disabled"
	ServerCheckViaSocks4Disabled string = "disabled"
)
View Source
const (

	// ServerForceSslv3Enabled captures enum value "enabled"
	ServerForceSslv3Enabled string = "enabled"

	// ServerForceSslv3Disabled captures enum value "disabled"
	ServerForceSslv3Disabled string = "disabled"
)
View Source
const (

	// ServerForceTlsv10Enabled captures enum value "enabled"
	ServerForceTlsv10Enabled string = "enabled"

	// ServerForceTlsv10Disabled captures enum value "disabled"
	ServerForceTlsv10Disabled string = "disabled"
)
View Source
const (

	// ServerForceTlsv11Enabled captures enum value "enabled"
	ServerForceTlsv11Enabled string = "enabled"

	// ServerForceTlsv11Disabled captures enum value "disabled"
	ServerForceTlsv11Disabled string = "disabled"
)
View Source
const (

	// ServerForceTlsv12Enabled captures enum value "enabled"
	ServerForceTlsv12Enabled string = "enabled"

	// ServerForceTlsv12Disabled captures enum value "disabled"
	ServerForceTlsv12Disabled string = "disabled"
)
View Source
const (

	// ServerForceTlsv13Enabled captures enum value "enabled"
	ServerForceTlsv13Enabled string = "enabled"

	// ServerForceTlsv13Disabled captures enum value "disabled"
	ServerForceTlsv13Disabled string = "disabled"
)
View Source
const (

	// ServerLogProtoLegacy captures enum value "legacy"
	ServerLogProtoLegacy string = "legacy"

	// ServerLogProtoOctetCount captures enum value "octet-count"
	ServerLogProtoOctetCount string = "octet-count"
)
View Source
const (

	// ServerMaintenanceEnabled captures enum value "enabled"
	ServerMaintenanceEnabled string = "enabled"

	// ServerMaintenanceDisabled captures enum value "disabled"
	ServerMaintenanceDisabled string = "disabled"
)
View Source
const (

	// ServerNoSslv3Enabled captures enum value "enabled"
	ServerNoSslv3Enabled string = "enabled"

	// ServerNoSslv3Disabled captures enum value "disabled"
	ServerNoSslv3Disabled string = "disabled"
)
View Source
const (

	// ServerNoTlsv10Enabled captures enum value "enabled"
	ServerNoTlsv10Enabled string = "enabled"

	// ServerNoTlsv10Disabled captures enum value "disabled"
	ServerNoTlsv10Disabled string = "disabled"
)
View Source
const (

	// ServerNoTlsv11Enabled captures enum value "enabled"
	ServerNoTlsv11Enabled string = "enabled"

	// ServerNoTlsv11Disabled captures enum value "disabled"
	ServerNoTlsv11Disabled string = "disabled"
)
View Source
const (

	// ServerNoTlsv12Enabled captures enum value "enabled"
	ServerNoTlsv12Enabled string = "enabled"

	// ServerNoTlsv12Disabled captures enum value "disabled"
	ServerNoTlsv12Disabled string = "disabled"
)
View Source
const (

	// ServerNoTlsv13Enabled captures enum value "enabled"
	ServerNoTlsv13Enabled string = "enabled"

	// ServerNoTlsv13Disabled captures enum value "disabled"
	ServerNoTlsv13Disabled string = "disabled"
)
View Source
const (

	// ServerNoVerifyhostEnabled captures enum value "enabled"
	ServerNoVerifyhostEnabled string = "enabled"

	// ServerNoVerifyhostDisabled captures enum value "disabled"
	ServerNoVerifyhostDisabled string = "disabled"
)
View Source
const (

	// ServerObserveLayer4 captures enum value "layer4"
	ServerObserveLayer4 string = "layer4"

	// ServerObserveLayer7 captures enum value "layer7"
	ServerObserveLayer7 string = "layer7"
)
View Source
const (

	// ServerOnErrorFastinter captures enum value "fastinter"
	ServerOnErrorFastinter string = "fastinter"

	// ServerOnErrorFailCheck captures enum value "fail-check"
	ServerOnErrorFailCheck string = "fail-check"

	// ServerOnErrorSuddenDeath captures enum value "sudden-death"
	ServerOnErrorSuddenDeath string = "sudden-death"

	// ServerOnErrorMarkDown captures enum value "mark-down"
	ServerOnErrorMarkDown string = "mark-down"
)
View Source
const (

	// ServerResolvePreferIPV4 captures enum value "ipv4"
	ServerResolvePreferIPV4 string = "ipv4"

	// ServerResolvePreferIPV6 captures enum value "ipv6"
	ServerResolvePreferIPV6 string = "ipv6"
)
View Source
const (

	// ServerSendProxyEnabled captures enum value "enabled"
	ServerSendProxyEnabled string = "enabled"

	// ServerSendProxyDisabled captures enum value "disabled"
	ServerSendProxyDisabled string = "disabled"
)
View Source
const (

	// ServerSendProxyV2Enabled captures enum value "enabled"
	ServerSendProxyV2Enabled string = "enabled"

	// ServerSendProxyV2Disabled captures enum value "disabled"
	ServerSendProxyV2Disabled string = "disabled"
)
View Source
const (

	// ServerSendProxyV2SslEnabled captures enum value "enabled"
	ServerSendProxyV2SslEnabled string = "enabled"

	// ServerSendProxyV2SslDisabled captures enum value "disabled"
	ServerSendProxyV2SslDisabled string = "disabled"
)
View Source
const (

	// ServerSendProxyV2SslCnEnabled captures enum value "enabled"
	ServerSendProxyV2SslCnEnabled string = "enabled"

	// ServerSendProxyV2SslCnDisabled captures enum value "disabled"
	ServerSendProxyV2SslCnDisabled string = "disabled"
)
View Source
const (

	// ServerSslEnabled captures enum value "enabled"
	ServerSslEnabled string = "enabled"

	// ServerSslDisabled captures enum value "disabled"
	ServerSslDisabled string = "disabled"
)
View Source
const (

	// ServerSslMaxVerSSLv3 captures enum value "SSLv3"
	ServerSslMaxVerSSLv3 string = "SSLv3"

	// ServerSslMaxVerTLSv10 captures enum value "TLSv1.0"
	ServerSslMaxVerTLSv10 string = "TLSv1.0"

	// ServerSslMaxVerTLSv11 captures enum value "TLSv1.1"
	ServerSslMaxVerTLSv11 string = "TLSv1.1"

	// ServerSslMaxVerTLSv12 captures enum value "TLSv1.2"
	ServerSslMaxVerTLSv12 string = "TLSv1.2"

	// ServerSslMaxVerTLSv13 captures enum value "TLSv1.3"
	ServerSslMaxVerTLSv13 string = "TLSv1.3"
)
View Source
const (

	// ServerSslMinVerSSLv3 captures enum value "SSLv3"
	ServerSslMinVerSSLv3 string = "SSLv3"

	// ServerSslMinVerTLSv10 captures enum value "TLSv1.0"
	ServerSslMinVerTLSv10 string = "TLSv1.0"

	// ServerSslMinVerTLSv11 captures enum value "TLSv1.1"
	ServerSslMinVerTLSv11 string = "TLSv1.1"

	// ServerSslMinVerTLSv12 captures enum value "TLSv1.2"
	ServerSslMinVerTLSv12 string = "TLSv1.2"

	// ServerSslMinVerTLSv13 captures enum value "TLSv1.3"
	ServerSslMinVerTLSv13 string = "TLSv1.3"
)
View Source
const (

	// ServerSslReuseEnabled captures enum value "enabled"
	ServerSslReuseEnabled string = "enabled"

	// ServerSslReuseDisabled captures enum value "disabled"
	ServerSslReuseDisabled string = "disabled"
)
View Source
const (

	// ServerStickEnabled captures enum value "enabled"
	ServerStickEnabled string = "enabled"

	// ServerStickDisabled captures enum value "disabled"
	ServerStickDisabled string = "disabled"
)
View Source
const (

	// ServerTfoEnabled captures enum value "enabled"
	ServerTfoEnabled string = "enabled"

	// ServerTfoDisabled captures enum value "disabled"
	ServerTfoDisabled string = "disabled"
)
View Source
const (

	// ServerTLSTicketsEnabled captures enum value "enabled"
	ServerTLSTicketsEnabled string = "enabled"

	// ServerTLSTicketsDisabled captures enum value "disabled"
	ServerTLSTicketsDisabled string = "disabled"
)
View Source
const (

	// ServerVerifyNone captures enum value "none"
	ServerVerifyNone string = "none"

	// ServerVerifyRequired captures enum value "required"
	ServerVerifyRequired string = "required"
)
View Source
const (

	// ServerSwitchingRuleCondIf captures enum value "if"
	ServerSwitchingRuleCondIf string = "if"

	// ServerSwitchingRuleCondUnless captures enum value "unless"
	ServerSwitchingRuleCondUnless string = "unless"
)
View Source
const (

	// SiteFarmCondIf captures enum value "if"
	SiteFarmCondIf string = "if"

	// SiteFarmCondUnless captures enum value "unless"
	SiteFarmCondUnless string = "unless"
)
View Source
const (

	// SiteFarmModeHTTP captures enum value "http"
	SiteFarmModeHTTP string = "http"

	// SiteFarmModeTCP captures enum value "tcp"
	SiteFarmModeTCP string = "tcp"
)
View Source
const (

	// SiteFarmUseAsDefault captures enum value "default"
	SiteFarmUseAsDefault string = "default"

	// SiteFarmUseAsConditional captures enum value "conditional"
	SiteFarmUseAsConditional string = "conditional"
)
View Source
const (

	// SiteServiceHTTPConnectionModeHTTPTunnel captures enum value "http-tunnel"
	SiteServiceHTTPConnectionModeHTTPTunnel string = "http-tunnel"

	// SiteServiceHTTPConnectionModeHttpclose captures enum value "httpclose"
	SiteServiceHTTPConnectionModeHttpclose string = "httpclose"

	// SiteServiceHTTPConnectionModeForcedClose captures enum value "forced-close"
	SiteServiceHTTPConnectionModeForcedClose string = "forced-close"

	// SiteServiceHTTPConnectionModeHTTPServerClose captures enum value "http-server-close"
	SiteServiceHTTPConnectionModeHTTPServerClose string = "http-server-close"

	// SiteServiceHTTPConnectionModeHTTPKeepAlive captures enum value "http-keep-alive"
	SiteServiceHTTPConnectionModeHTTPKeepAlive string = "http-keep-alive"
)
View Source
const (

	// SiteServiceModeHTTP captures enum value "http"
	SiteServiceModeHTTP string = "http"

	// SiteServiceModeTCP captures enum value "tcp"
	SiteServiceModeTCP string = "tcp"
)
View Source
const (

	// SpoeAgentAsyncEnabled captures enum value "enabled"
	SpoeAgentAsyncEnabled string = "enabled"

	// SpoeAgentAsyncDisabled captures enum value "disabled"
	SpoeAgentAsyncDisabled string = "disabled"
)
View Source
const (

	// SpoeAgentDontlogNormalEnabled captures enum value "enabled"
	SpoeAgentDontlogNormalEnabled string = "enabled"

	// SpoeAgentDontlogNormalDisabled captures enum value "disabled"
	SpoeAgentDontlogNormalDisabled string = "disabled"
)
View Source
const (

	// SpoeAgentPipeliningEnabled captures enum value "enabled"
	SpoeAgentPipeliningEnabled string = "enabled"

	// SpoeAgentPipeliningDisabled captures enum value "disabled"
	SpoeAgentPipeliningDisabled string = "disabled"
)
View Source
const (

	// SpoeAgentSendFragPayloadEnabled captures enum value "enabled"
	SpoeAgentSendFragPayloadEnabled string = "enabled"

	// SpoeAgentSendFragPayloadDisabled captures enum value "disabled"
	SpoeAgentSendFragPayloadDisabled string = "disabled"
)
View Source
const (

	// SpoeMessageEventCondIf captures enum value "if"
	SpoeMessageEventCondIf string = "if"

	// SpoeMessageEventCondUnless captures enum value "unless"
	SpoeMessageEventCondUnless string = "unless"
)
View Source
const (

	// SpoeMessageEventNameOnClientSession captures enum value "on-client-session"
	SpoeMessageEventNameOnClientSession string = "on-client-session"

	// SpoeMessageEventNameOnServerSession captures enum value "on-server-session"
	SpoeMessageEventNameOnServerSession string = "on-server-session"

	// SpoeMessageEventNameOnFrontendTCPRequest captures enum value "on-frontend-tcp-request"
	SpoeMessageEventNameOnFrontendTCPRequest string = "on-frontend-tcp-request"

	// SpoeMessageEventNameOnBackendTCPRequest captures enum value "on-backend-tcp-request"
	SpoeMessageEventNameOnBackendTCPRequest string = "on-backend-tcp-request"

	// SpoeMessageEventNameOnTCPResponse captures enum value "on-tcp-response"
	SpoeMessageEventNameOnTCPResponse string = "on-tcp-response"

	// SpoeMessageEventNameOnFrontendHTTPRequest captures enum value "on-frontend-http-request"
	SpoeMessageEventNameOnFrontendHTTPRequest string = "on-frontend-http-request"

	// SpoeMessageEventNameOnBackendHTTPRequest captures enum value "on-backend-http-request"
	SpoeMessageEventNameOnBackendHTTPRequest string = "on-backend-http-request"

	// SpoeMessageEventNameOnHTTPResponse captures enum value "on-http-response"
	SpoeMessageEventNameOnHTTPResponse string = "on-http-response"
)
View Source
const (

	// SpoeTransactionStatusFailed captures enum value "failed"
	SpoeTransactionStatusFailed string = "failed"

	// SpoeTransactionStatusInProgress captures enum value "in_progress"
	SpoeTransactionStatusInProgress string = "in_progress"

	// SpoeTransactionStatusSuccess captures enum value "success"
	SpoeTransactionStatusSuccess string = "success"
)
View Source
const (

	// StickRuleCondIf captures enum value "if"
	StickRuleCondIf string = "if"

	// StickRuleCondUnless captures enum value "unless"
	StickRuleCondUnless string = "unless"
)
View Source
const (

	// StickRuleTypeMatch captures enum value "match"
	StickRuleTypeMatch string = "match"

	// StickRuleTypeOn captures enum value "on"
	StickRuleTypeOn string = "on"

	// StickRuleTypeStoreRequest captures enum value "store-request"
	StickRuleTypeStoreRequest string = "store-request"

	// StickRuleTypeStoreResponse captures enum value "store-response"
	StickRuleTypeStoreResponse string = "store-response"
)
View Source
const (

	// StickTableTypeIP captures enum value "ip"
	StickTableTypeIP string = "ip"

	// StickTableTypeIPV6 captures enum value "ipv6"
	StickTableTypeIPV6 string = "ipv6"

	// StickTableTypeInteger captures enum value "integer"
	StickTableTypeInteger string = "integer"

	// StickTableTypeString captures enum value "string"
	StickTableTypeString string = "string"

	// StickTableTypeBinary captures enum value "binary"
	StickTableTypeBinary string = "binary"
)
View Source
const (

	// StickTableFieldFieldServerID captures enum value "server_id"
	StickTableFieldFieldServerID string = "server_id"

	// StickTableFieldFieldGpc0 captures enum value "gpc0"
	StickTableFieldFieldGpc0 string = "gpc0"

	// StickTableFieldFieldGpc0Rate captures enum value "gpc0_rate"
	StickTableFieldFieldGpc0Rate string = "gpc0_rate"

	// StickTableFieldFieldGpc1 captures enum value "gpc1"
	StickTableFieldFieldGpc1 string = "gpc1"

	// StickTableFieldFieldGpc1Rate captures enum value "gpc1_rate"
	StickTableFieldFieldGpc1Rate string = "gpc1_rate"

	// StickTableFieldFieldGpt0 captures enum value "gpt0"
	StickTableFieldFieldGpt0 string = "gpt0"

	// StickTableFieldFieldConnCnt captures enum value "conn_cnt"
	StickTableFieldFieldConnCnt string = "conn_cnt"

	// StickTableFieldFieldConnCur captures enum value "conn_cur"
	StickTableFieldFieldConnCur string = "conn_cur"

	// StickTableFieldFieldConnRate captures enum value "conn_rate"
	StickTableFieldFieldConnRate string = "conn_rate"

	// StickTableFieldFieldSessCnt captures enum value "sess_cnt"
	StickTableFieldFieldSessCnt string = "sess_cnt"

	// StickTableFieldFieldSessRate captures enum value "sess_rate"
	StickTableFieldFieldSessRate string = "sess_rate"

	// StickTableFieldFieldHTTPReqCnt captures enum value "http_req_cnt"
	StickTableFieldFieldHTTPReqCnt string = "http_req_cnt"

	// StickTableFieldFieldHTTPReqRate captures enum value "http_req_rate"
	StickTableFieldFieldHTTPReqRate string = "http_req_rate"

	// StickTableFieldFieldHTTPErrCnt captures enum value "http_err_cnt"
	StickTableFieldFieldHTTPErrCnt string = "http_err_cnt"

	// StickTableFieldFieldHTTPErrRate captures enum value "http_err_rate"
	StickTableFieldFieldHTTPErrRate string = "http_err_rate"

	// StickTableFieldFieldBytesInCnt captures enum value "bytes_in_cnt"
	StickTableFieldFieldBytesInCnt string = "bytes_in_cnt"

	// StickTableFieldFieldBytesInRate captures enum value "bytes_in_rate"
	StickTableFieldFieldBytesInRate string = "bytes_in_rate"

	// StickTableFieldFieldBytesOutCnt captures enum value "bytes_out_cnt"
	StickTableFieldFieldBytesOutCnt string = "bytes_out_cnt"

	// StickTableFieldFieldBytesOutRate captures enum value "bytes_out_rate"
	StickTableFieldFieldBytesOutRate string = "bytes_out_rate"
)
View Source
const (

	// StickTableFieldTypeRate captures enum value "rate"
	StickTableFieldTypeRate string = "rate"

	// StickTableFieldTypeCounter captures enum value "counter"
	StickTableFieldTypeCounter string = "counter"
)
View Source
const (

	// TCPRequestRuleActionAccept captures enum value "accept"
	TCPRequestRuleActionAccept string = "accept"

	// TCPRequestRuleActionCapture captures enum value "capture"
	TCPRequestRuleActionCapture string = "capture"

	// TCPRequestRuleActionDoResolve captures enum value "do-resolve"
	TCPRequestRuleActionDoResolve string = "do-resolve"

	// TCPRequestRuleActionExpectNetscalerCip captures enum value "expect-netscaler-cip"
	TCPRequestRuleActionExpectNetscalerCip string = "expect-netscaler-cip"

	// TCPRequestRuleActionExpectProxy captures enum value "expect-proxy"
	TCPRequestRuleActionExpectProxy string = "expect-proxy"

	// TCPRequestRuleActionReject captures enum value "reject"
	TCPRequestRuleActionReject string = "reject"

	// TCPRequestRuleActionScIncGpc0 captures enum value "sc-inc-gpc0"
	TCPRequestRuleActionScIncGpc0 string = "sc-inc-gpc0"

	// TCPRequestRuleActionScIncGpc1 captures enum value "sc-inc-gpc1"
	TCPRequestRuleActionScIncGpc1 string = "sc-inc-gpc1"

	// TCPRequestRuleActionScSetGpt0 captures enum value "sc-set-gpt0"
	TCPRequestRuleActionScSetGpt0 string = "sc-set-gpt0"

	// TCPRequestRuleActionSendSpoeGroup captures enum value "send-spoe-group"
	TCPRequestRuleActionSendSpoeGroup string = "send-spoe-group"

	// TCPRequestRuleActionSetDstPort captures enum value "set-dst-port"
	TCPRequestRuleActionSetDstPort string = "set-dst-port"

	// TCPRequestRuleActionSetDst captures enum value "set-dst"
	TCPRequestRuleActionSetDst string = "set-dst"

	// TCPRequestRuleActionSetPriority captures enum value "set-priority"
	TCPRequestRuleActionSetPriority string = "set-priority"

	// TCPRequestRuleActionSetSrc captures enum value "set-src"
	TCPRequestRuleActionSetSrc string = "set-src"

	// TCPRequestRuleActionSetVar captures enum value "set-var"
	TCPRequestRuleActionSetVar string = "set-var"

	// TCPRequestRuleActionSilentDrop captures enum value "silent-drop"
	TCPRequestRuleActionSilentDrop string = "silent-drop"

	// TCPRequestRuleActionTrackSc0 captures enum value "track-sc0"
	TCPRequestRuleActionTrackSc0 string = "track-sc0"

	// TCPRequestRuleActionTrackSc1 captures enum value "track-sc1"
	TCPRequestRuleActionTrackSc1 string = "track-sc1"

	// TCPRequestRuleActionTrackSc2 captures enum value "track-sc2"
	TCPRequestRuleActionTrackSc2 string = "track-sc2"

	// TCPRequestRuleActionUnsetVar captures enum value "unset-var"
	TCPRequestRuleActionUnsetVar string = "unset-var"

	// TCPRequestRuleActionUseService captures enum value "use-service"
	TCPRequestRuleActionUseService string = "use-service"

	// TCPRequestRuleActionLua captures enum value "lua"
	TCPRequestRuleActionLua string = "lua"
)
View Source
const (

	// TCPRequestRuleCondIf captures enum value "if"
	TCPRequestRuleCondIf string = "if"

	// TCPRequestRuleCondUnless captures enum value "unless"
	TCPRequestRuleCondUnless string = "unless"
)
View Source
const (

	// TCPRequestRulePriorityTypeClass captures enum value "class"
	TCPRequestRulePriorityTypeClass string = "class"

	// TCPRequestRulePriorityTypeOffset captures enum value "offset"
	TCPRequestRulePriorityTypeOffset string = "offset"
)
View Source
const (

	// TCPRequestRuleResolveProtocolIPV4 captures enum value "ipv4"
	TCPRequestRuleResolveProtocolIPV4 string = "ipv4"

	// TCPRequestRuleResolveProtocolIPV6 captures enum value "ipv6"
	TCPRequestRuleResolveProtocolIPV6 string = "ipv6"
)
View Source
const (

	// TCPRequestRuleTypeConnection captures enum value "connection"
	TCPRequestRuleTypeConnection string = "connection"

	// TCPRequestRuleTypeContent captures enum value "content"
	TCPRequestRuleTypeContent string = "content"

	// TCPRequestRuleTypeInspectDelay captures enum value "inspect-delay"
	TCPRequestRuleTypeInspectDelay string = "inspect-delay"

	// TCPRequestRuleTypeSession captures enum value "session"
	TCPRequestRuleTypeSession string = "session"
)
View Source
const (

	// TCPResponseRuleActionAccept captures enum value "accept"
	TCPResponseRuleActionAccept string = "accept"

	// TCPResponseRuleActionReject captures enum value "reject"
	TCPResponseRuleActionReject string = "reject"

	// TCPResponseRuleActionLua captures enum value "lua"
	TCPResponseRuleActionLua string = "lua"
)
View Source
const (

	// TCPResponseRuleCondIf captures enum value "if"
	TCPResponseRuleCondIf string = "if"

	// TCPResponseRuleCondUnless captures enum value "unless"
	TCPResponseRuleCondUnless string = "unless"
)
View Source
const (

	// TCPResponseRuleTypeContent captures enum value "content"
	TCPResponseRuleTypeContent string = "content"

	// TCPResponseRuleTypeInspectDelay captures enum value "inspect-delay"
	TCPResponseRuleTypeInspectDelay string = "inspect-delay"
)
View Source
const (

	// TransactionStatusFailed captures enum value "failed"
	TransactionStatusFailed string = "failed"

	// TransactionStatusInProgress captures enum value "in_progress"
	TransactionStatusInProgress string = "in_progress"

	// TransactionStatusSuccess captures enum value "success"
	TransactionStatusSuccess string = "success"
)
View Source
const (

	// BackendHashTypeModifierAvalanche captures enum value "avalanche"
	BackendHashTypeModifierAvalanche string = "avalanche"
)
View Source
const (

	// DefaultServerOnMarkedDownShutdownSessions captures enum value "shutdown-sessions"
	DefaultServerOnMarkedDownShutdownSessions string = "shutdown-sessions"
)
View Source
const (

	// DefaultServerOnMarkedUpShutdownBackupSessions captures enum value "shutdown-backup-sessions"
	DefaultServerOnMarkedUpShutdownBackupSessions string = "shutdown-backup-sessions"
)
View Source
const (

	// DefaultsContstatsEnabled captures enum value "enabled"
	DefaultsContstatsEnabled string = "enabled"
)
View Source
const (

	// ForwardforEnabledEnabled captures enum value "enabled"
	ForwardforEnabledEnabled string = "enabled"
)
View Source
const (

	// FrontendContstatsEnabled captures enum value "enabled"
	FrontendContstatsEnabled string = "enabled"
)
View Source
const (

	// ServerOnMarkedDownShutdownSessions captures enum value "shutdown-sessions"
	ServerOnMarkedDownShutdownSessions string = "shutdown-sessions"
)
View Source
const (

	// ServerOnMarkedUpShutdownBackupSessions captures enum value "shutdown-backup-sessions"
	ServerOnMarkedUpShutdownBackupSessions string = "shutdown-backup-sessions"
)
View Source
const (

	// SpoeAgentContinueOnErrorEnabled captures enum value "enabled"
	SpoeAgentContinueOnErrorEnabled string = "enabled"
)
View Source
const (

	// SpoeAgentForceSetVarEnabled captures enum value "enabled"
	SpoeAgentForceSetVarEnabled string = "enabled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL

type ACL struct {

	// acl name
	// Required: true
	// Pattern: ^[^\s]+$
	ACLName string `json:"acl_name"`

	// criterion
	// Required: true
	// Pattern: ^[^\s]+$
	Criterion string `json:"criterion"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// value
	// Required: true
	Value string `json:"value"`
}

ACL ACL Lines

The use of Access Control Lists (ACL) provides a flexible solution to perform content switching and generally to take decisions based on content extracted from the request, the response or any environmental status.

swagger:model acl

func (*ACL) MarshalBinary

func (m *ACL) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ACL) UnmarshalBinary

func (m *ACL) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ACL) Validate

func (m *ACL) Validate(formats strfmt.Registry) error

Validate validates this acl

type ACLFile added in v2.2.0

type ACLFile struct {

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// storage name
	StorageName string `json:"storage_name,omitempty"`
}

ACLFile ACL File

ACL File

swagger:model acl_file

func (*ACLFile) MarshalBinary added in v2.2.0

func (m *ACLFile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ACLFile) UnmarshalBinary added in v2.2.0

func (m *ACLFile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ACLFile) Validate added in v2.2.0

func (m *ACLFile) Validate(formats strfmt.Registry) error

Validate validates this acl file

type ACLFileEntry added in v2.2.0

type ACLFileEntry struct {

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ACLFileEntry One ACL File Entry

One ACL File Entry

swagger:model acl_file_entry

func (*ACLFileEntry) MarshalBinary added in v2.2.0

func (m *ACLFileEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ACLFileEntry) UnmarshalBinary added in v2.2.0

func (m *ACLFileEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ACLFileEntry) Validate added in v2.2.0

func (m *ACLFileEntry) Validate(formats strfmt.Registry) error

Validate validates this acl file entry

type ACLFiles added in v2.2.0

type ACLFiles []*ACLFile

ACLFiles ACL Files Array

Array of runtime acl files

swagger:model acl_files

func (ACLFiles) Validate added in v2.2.0

func (m ACLFiles) Validate(formats strfmt.Registry) error

Validate validates this acl files

type ACLFilesEntries added in v2.2.0

type ACLFilesEntries []*ACLFileEntry

ACLFilesEntries ACL Files Entries

Array of entries of one runtime acl file

swagger:model acl_files_entries

func (ACLFilesEntries) Validate added in v2.2.0

func (m ACLFilesEntries) Validate(formats strfmt.Registry) error

Validate validates this acl files entries

type Acls

type Acls []*ACL

Acls ACL Lines Array

HAProxy ACL lines array (corresponds to acl directives)

swagger:model acls

func (Acls) Validate

func (m Acls) Validate(formats strfmt.Registry) error

Validate validates this acls

type Backend

type Backend struct {

	// abortonclose
	// Enum: [enabled disabled]
	Abortonclose string `json:"abortonclose,omitempty"`

	// adv check
	// Enum: [ssl-hello-chk smtpchk ldap-check mysql-check pgsql-check tcp-check redis-check httpchk]
	AdvCheck string `json:"adv_check,omitempty"`

	// allbackups
	// Enum: [enabled disabled]
	Allbackups string `json:"allbackups,omitempty"`

	// balance
	Balance *Balance `json:"balance,omitempty"`

	// bind process
	// Pattern: ^[^\s]+$
	BindProcess string `json:"bind_process,omitempty"`

	// check timeout
	CheckTimeout *int64 `json:"check_timeout,omitempty"`

	// connect timeout
	ConnectTimeout *int64 `json:"connect_timeout,omitempty"`

	// cookie
	Cookie *Cookie `json:"cookie,omitempty"`

	// default server
	DefaultServer *DefaultServer `json:"default_server,omitempty"`

	// external check
	// Enum: [enabled disabled]
	ExternalCheck string `json:"external_check,omitempty"`

	// external check command
	// Pattern: ^[^\s]+$
	ExternalCheckCommand string `json:"external_check_command,omitempty"`

	// external check path
	// Pattern: ^[^\s]+$
	ExternalCheckPath string `json:"external_check_path,omitempty"`

	// forwardfor
	Forwardfor *Forwardfor `json:"forwardfor,omitempty"`

	// hash type
	HashType *BackendHashType `json:"hash_type,omitempty"`

	// http buffer request
	// Enum: [enabled disabled]
	HTTPBufferRequest string `json:"http-buffer-request,omitempty"`

	// http check
	HTTPCheck *HTTPCheck `json:"http-check,omitempty"`

	// http use htx
	// Pattern: ^[^\s]+$
	// Enum: [enabled disabled]
	HTTPUseHtx string `json:"http-use-htx,omitempty"`

	// http connection mode
	// Enum: [httpclose http-server-close http-keep-alive]
	HTTPConnectionMode string `json:"http_connection_mode,omitempty"`

	// http keep alive timeout
	HTTPKeepAliveTimeout *int64 `json:"http_keep_alive_timeout,omitempty"`

	// http pretend keepalive
	// Enum: [enabled disabled]
	HTTPPretendKeepalive string `json:"http_pretend_keepalive,omitempty"`

	// http request timeout
	HTTPRequestTimeout *int64 `json:"http_request_timeout,omitempty"`

	// http reuse
	// Enum: [aggressive always never safe]
	HTTPReuse string `json:"http_reuse,omitempty"`

	// httpchk params
	HttpchkParams *HttpchkParams `json:"httpchk_params,omitempty"`

	// log tag
	// Pattern: ^[^\s]+$
	LogTag string `json:"log_tag,omitempty"`

	// mode
	// Enum: [http tcp]
	Mode string `json:"mode,omitempty"`

	// mysql check params
	MysqlCheckParams *MysqlCheckParams `json:"mysql_check_params,omitempty"`

	// name
	// Required: true
	// Pattern: ^[A-Za-z0-9-_.:]+$
	Name string `json:"name"`

	// pgsql check params
	PgsqlCheckParams *PgsqlCheckParams `json:"pgsql_check_params,omitempty"`

	// queue timeout
	QueueTimeout *int64 `json:"queue_timeout,omitempty"`

	// redispatch
	Redispatch *Redispatch `json:"redispatch,omitempty"`

	// retries
	Retries *int64 `json:"retries,omitempty"`

	// server timeout
	ServerTimeout *int64 `json:"server_timeout,omitempty"`

	// smtpchk params
	SmtpchkParams *SmtpchkParams `json:"smtpchk_params,omitempty"`

	// stats options
	StatsOptions *StatsOptions `json:"stats_options,omitempty"`

	// stick table
	StickTable *BackendStickTable `json:"stick_table,omitempty"`

	// tunnel timeout
	TunnelTimeout *int64 `json:"tunnel_timeout,omitempty"`
}

Backend Backend

HAProxy backend configuration

swagger:model backend

func (*Backend) MarshalBinary

func (m *Backend) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Backend) UnmarshalBinary

func (m *Backend) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Backend) Validate

func (m *Backend) Validate(formats strfmt.Registry) error

Validate validates this backend

type BackendHashType

type BackendHashType struct {

	// function
	// Enum: [sdbm djb2 wt6 crc32]
	Function string `json:"function,omitempty"`

	// method
	// Enum: [map-based consistent]
	Method string `json:"method,omitempty"`

	// modifier
	// Enum: [avalanche]
	Modifier string `json:"modifier,omitempty"`
}

BackendHashType backend hash type

swagger:model BackendHashType

func (*BackendHashType) MarshalBinary

func (m *BackendHashType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackendHashType) UnmarshalBinary

func (m *BackendHashType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackendHashType) Validate

func (m *BackendHashType) Validate(formats strfmt.Registry) error

Validate validates this backend hash type

type BackendStickTable

type BackendStickTable struct {

	// expire
	Expire *int64 `json:"expire,omitempty"`

	// keylen
	Keylen *int64 `json:"keylen,omitempty"`

	// nopurge
	Nopurge bool `json:"nopurge,omitempty"`

	// peers
	// Pattern: ^[^\s]+$
	Peers string `json:"peers,omitempty"`

	// size
	Size *int64 `json:"size,omitempty"`

	// store
	// Pattern: ^[^\s]+$
	Store string `json:"store,omitempty"`

	// type
	// Enum: [ip ipv6 integer string binary]
	Type string `json:"type,omitempty"`
}

BackendStickTable backend stick table

swagger:model BackendStickTable

func (*BackendStickTable) MarshalBinary

func (m *BackendStickTable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackendStickTable) UnmarshalBinary

func (m *BackendStickTable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackendStickTable) Validate

func (m *BackendStickTable) Validate(formats strfmt.Registry) error

Validate validates this backend stick table

type BackendSwitchingRule

type BackendSwitchingRule struct {

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// name
	// Required: true
	// Pattern: ^[^\s]+$
	Name string `json:"name"`
}

BackendSwitchingRule Backend Switching Rule

HAProxy backend switching rule configuration (corresponds to use_backend directive)

swagger:model backend_switching_rule

func (*BackendSwitchingRule) MarshalBinary

func (m *BackendSwitchingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackendSwitchingRule) UnmarshalBinary

func (m *BackendSwitchingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackendSwitchingRule) Validate

func (m *BackendSwitchingRule) Validate(formats strfmt.Registry) error

Validate validates this backend switching rule

type BackendSwitchingRules

type BackendSwitchingRules []*BackendSwitchingRule

BackendSwitchingRules Backend Switching Rules Array

HAProxy backend switching rules array (corresponds to use_backend directives)

swagger:model backend_switching_rules

func (BackendSwitchingRules) Validate

func (m BackendSwitchingRules) Validate(formats strfmt.Registry) error

Validate validates this backend switching rules

type Backends

type Backends []*Backend

Backends Backends

HAProxy backends array

swagger:model backends

func (Backends) Validate

func (m Backends) Validate(formats strfmt.Registry) error

Validate validates this backends

type Balance

type Balance struct {

	// algorithm
	// Required: true
	// Enum: [roundrobin static-rr leastconn first source uri url_param hdr random rdp-cookie]
	Algorithm *string `json:"algorithm"`

	// hdr name
	HdrName string `json:"hdr_name,omitempty"`

	// hdr use domain only
	HdrUseDomainOnly bool `json:"hdr_use_domain_only,omitempty"`

	// random draws
	RandomDraws int64 `json:"random_draws,omitempty"`

	// rdp cookie name
	// Pattern: ^[^\s]+$
	RdpCookieName string `json:"rdp_cookie_name,omitempty"`

	// uri depth
	// Pattern: ^[^\d+$]
	URIDepth int64 `json:"uri_depth,omitempty"`

	// uri len
	// Pattern: ^[^\d+$]
	URILen int64 `json:"uri_len,omitempty"`

	// uri whole
	URIWhole bool `json:"uri_whole,omitempty"`

	// url param
	// Pattern: ^[^\s]+$
	URLParam string `json:"url_param,omitempty"`

	// url param check post
	URLParamCheckPost int64 `json:"url_param_check_post,omitempty"`

	// url param max wait
	// Pattern: ^[^\d+$]
	URLParamMaxWait int64 `json:"url_param_max_wait,omitempty"`
}

Balance balance

swagger:model balance

func (*Balance) MarshalBinary

func (m *Balance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Balance) UnmarshalBinary

func (m *Balance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Balance) Validate

func (m *Balance) Validate(formats strfmt.Registry) error

Validate validates this balance

type Bind

type Bind struct {

	// accept netscaler cip
	AcceptNetscalerCip int64 `json:"accept_netscaler_cip,omitempty"`

	// accept proxy
	AcceptProxy bool `json:"accept_proxy,omitempty"`

	// address
	// Pattern: ^[^\s]+$
	Address string `json:"address,omitempty"`

	// allow 0rtt
	Allow0rtt bool `json:"allow_0rtt,omitempty"`

	// alpn
	// Pattern: ^[^\s]+$
	Alpn string `json:"alpn,omitempty"`

	// backlog
	Backlog string `json:"backlog,omitempty"`

	// ca ignore err
	CaIgnoreErr string `json:"ca_ignore_err,omitempty"`

	// ca sign file
	CaSignFile string `json:"ca_sign_file,omitempty"`

	// ca sign pass
	CaSignPass string `json:"ca_sign_pass,omitempty"`

	// ca verify file
	CaVerifyFile string `json:"ca_verify_file,omitempty"`

	// ciphers
	Ciphers string `json:"ciphers,omitempty"`

	// ciphersuites
	Ciphersuites string `json:"ciphersuites,omitempty"`

	// crl file
	CrlFile string `json:"crl_file,omitempty"`

	// crt ignore err
	CrtIgnoreErr string `json:"crt_ignore_err,omitempty"`

	// crt list
	CrtList string `json:"crt_list,omitempty"`

	// curves
	Curves string `json:"curves,omitempty"`

	// defer accept
	DeferAccept bool `json:"defer_accept,omitempty"`

	// ecdhe
	Ecdhe string `json:"ecdhe,omitempty"`

	// expose fd listeners
	ExposeFdListeners bool `json:"expose_fd_listeners,omitempty"`

	// force sslv3
	ForceSslv3 bool `json:"force_sslv3,omitempty"`

	// force tlsv10
	ForceTlsv10 bool `json:"force_tlsv10,omitempty"`

	// force tlsv11
	ForceTlsv11 bool `json:"force_tlsv11,omitempty"`

	// force tlsv12
	ForceTlsv12 bool `json:"force_tlsv12,omitempty"`

	// force tlsv13
	ForceTlsv13 bool `json:"force_tlsv13,omitempty"`

	// generate certificates
	GenerateCertificates bool `json:"generate_certificates,omitempty"`

	// gid
	Gid int64 `json:"gid,omitempty"`

	// group
	Group string `json:"group,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// interface
	Interface string `json:"interface,omitempty"`

	// level
	// Enum: [user operator admin]
	Level string `json:"level,omitempty"`

	// maxconn
	Maxconn int64 `json:"maxconn,omitempty"`

	// mode
	Mode string `json:"mode,omitempty"`

	// mss
	Mss string `json:"mss,omitempty"`

	// name
	// Required: true
	// Pattern: ^[^\s]+$
	Name string `json:"name"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// nice
	Nice int64 `json:"nice,omitempty"`

	// no ca names
	NoCaNames bool `json:"no_ca_names,omitempty"`

	// no sslv3
	NoSslv3 bool `json:"no_sslv3,omitempty"`

	// no tls tickets
	NoTLSTickets bool `json:"no_tls_tickets,omitempty"`

	// no tlsv10
	NoTlsv10 bool `json:"no_tlsv10,omitempty"`

	// no tlsv11
	NoTlsv11 bool `json:"no_tlsv11,omitempty"`

	// no tlsv12
	NoTlsv12 bool `json:"no_tlsv12,omitempty"`

	// no tlsv13
	NoTlsv13 bool `json:"no_tlsv13,omitempty"`

	// npn
	Npn string `json:"npn,omitempty"`

	// port
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port,omitempty"`

	// port range end
	// Maximum: 65535
	// Minimum: 1
	PortRangeEnd *int64 `json:"port-range-end,omitempty"`

	// prefer client ciphers
	PreferClientCiphers bool `json:"prefer_client_ciphers,omitempty"`

	// process
	// Pattern: ^[^\s]+$
	Process string `json:"process,omitempty"`

	// proto
	Proto string `json:"proto,omitempty"`

	// severity output
	// Enum: [none number string]
	SeverityOutput string `json:"severity_output,omitempty"`

	// ssl
	Ssl bool `json:"ssl,omitempty"`

	// ssl cafile
	// Pattern: ^[^\s]+$
	SslCafile string `json:"ssl_cafile,omitempty"`

	// ssl certificate
	// Pattern: ^[^\s]+$
	SslCertificate string `json:"ssl_certificate,omitempty"`

	// ssl max ver
	// Enum: [SSLv3 TLSv1.0 TLSv1.1 TLSv1.2 TLSv1.3]
	SslMaxVer string `json:"ssl_max_ver,omitempty"`

	// ssl min ver
	// Enum: [SSLv3 TLSv1.0 TLSv1.1 TLSv1.2 TLSv1.3]
	SslMinVer string `json:"ssl_min_ver,omitempty"`

	// strict sni
	StrictSni bool `json:"strict_sni,omitempty"`

	// tcp user timeout
	TCPUserTimeout *int64 `json:"tcp_user_timeout,omitempty"`

	// tfo
	Tfo bool `json:"tfo,omitempty"`

	// tls ticket keys
	TLSTicketKeys string `json:"tls_ticket_keys,omitempty"`

	// transparent
	Transparent bool `json:"transparent,omitempty"`

	// uid
	UID string `json:"uid,omitempty"`

	// user
	User string `json:"user,omitempty"`

	// v4v6
	V4v6 bool `json:"v4v6,omitempty"`

	// v6only
	V6only bool `json:"v6only,omitempty"`

	// verify
	// Enum: [none optional required]
	Verify string `json:"verify,omitempty"`
}

Bind Bind

HAProxy frontend bind configuration

swagger:model bind

func (*Bind) MarshalBinary

func (m *Bind) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Bind) UnmarshalBinary

func (m *Bind) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Bind) Validate

func (m *Bind) Validate(formats strfmt.Registry) error

Validate validates this bind

type Binds

type Binds []*Bind

Binds Binds

HAProxy frontend binds array (corresponds to bind directives)

swagger:model binds

func (Binds) Validate

func (m Binds) Validate(formats strfmt.Registry) error

Validate validates this binds

type CPUMap

type CPUMap struct {

	// cpu set
	// Required: true
	CPUSet *string `json:"cpu_set"`

	// process
	// Required: true
	Process *string `json:"process"`
}

CPUMap CPU map

swagger:model CPUMap

func (*CPUMap) MarshalBinary

func (m *CPUMap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUMap) UnmarshalBinary

func (m *CPUMap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUMap) Validate

func (m *CPUMap) Validate(formats strfmt.Registry) error

Validate validates this CPU map

type ClusterSettings

type ClusterSettings struct {

	// bootstrap key
	BootstrapKey string `json:"bootstrap_key,omitempty"`

	// cluster
	Cluster *ClusterSettingsCluster `json:"cluster,omitempty"`

	// mode
	// Enum: [single cluster]
	Mode string `json:"mode,omitempty"`

	// status
	// Read Only: true
	// Enum: [active unreachable waiting_approval]
	Status string `json:"status,omitempty"`
}

ClusterSettings Cluster Settings

Settings related to a cluster.

swagger:model cluster_settings

func (*ClusterSettings) MarshalBinary

func (m *ClusterSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSettings) UnmarshalBinary

func (m *ClusterSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSettings) Validate

func (m *ClusterSettings) Validate(formats strfmt.Registry) error

Validate validates this cluster settings

type ClusterSettingsCluster

type ClusterSettingsCluster struct {

	// address
	// Read Only: true
	// Pattern: ^[^\s]+$
	Address string `json:"address,omitempty"`

	// api base path
	// Read Only: true
	APIBasePath string `json:"api_base_path,omitempty"`

	// description
	// Read Only: true
	Description string `json:"description,omitempty"`

	// name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// port
	// Read Only: true
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port,omitempty"`
}

ClusterSettingsCluster Cluster controller information

swagger:model ClusterSettingsCluster

func (*ClusterSettingsCluster) MarshalBinary

func (m *ClusterSettingsCluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSettingsCluster) UnmarshalBinary

func (m *ClusterSettingsCluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSettingsCluster) Validate

func (m *ClusterSettingsCluster) Validate(formats strfmt.Registry) error

Validate validates this cluster settings cluster

type Consul added in v2.2.0

type Consul struct {

	// address
	// Required: true
	// Pattern: ^[^\s]+$
	Address *string `json:"address"`

	// description
	Description string `json:"description,omitempty"`

	// enabled
	// Required: true
	Enabled *bool `json:"enabled"`

	// Auto generated ID.
	// Pattern: ^[^\s]+$
	ID *string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// port
	// Required: true
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port"`

	// Duration in seconds in-between data pulling requests to the consul server
	// Required: true
	// Minimum: 1
	RetryTimeout *int64 `json:"retry_timeout"`

	// server slots base
	ServerSlotsBase *int64 `json:"server_slots_base,omitempty"`

	// server slots growth increment
	ServerSlotsGrowthIncrement int64 `json:"server_slots_growth_increment,omitempty"`

	// server slots growth type
	// Enum: [linear exponential]
	ServerSlotsGrowthType *string `json:"server_slots_growth_type,omitempty"`

	// service blacklist
	ServiceBlacklist []string `json:"service-blacklist"`

	// service whitelist
	ServiceWhitelist []string `json:"service-whitelist"`

	// token
	// Pattern: ^[^\s]+$
	Token string `json:"token,omitempty"`
}

Consul Consul server

Consul server configuration

swagger:model consul

func (*Consul) MarshalBinary added in v2.2.0

func (m *Consul) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Consul) UnmarshalBinary added in v2.2.0

func (m *Consul) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Consul) Validate added in v2.2.0

func (m *Consul) Validate(formats strfmt.Registry) error

Validate validates this consul

type Consuls added in v2.2.0

type Consuls []*Consul

Consuls Consuls

Consuls array

swagger:model consuls

func (Consuls) Validate added in v2.2.0

func (m Consuls) Validate(formats strfmt.Registry) error

Validate validates this consuls

type Cookie struct {

	// domains
	Domains []*Domain `json:"domain"`

	// dynamic
	Dynamic bool `json:"dynamic,omitempty"`

	// httponly
	Httponly bool `json:"httponly,omitempty"`

	// indirect
	Indirect bool `json:"indirect,omitempty"`

	// maxidle
	// Pattern: ^[^\d+$]
	Maxidle int64 `json:"maxidle,omitempty"`

	// maxlife
	// Pattern: ^[^\d+$]
	Maxlife int64 `json:"maxlife,omitempty"`

	// name
	// Required: true
	// Pattern: ^[^\s]+$
	Name *string `json:"name"`

	// nocache
	Nocache bool `json:"nocache,omitempty"`

	// postonly
	Postonly bool `json:"postonly,omitempty"`

	// preserve
	Preserve bool `json:"preserve,omitempty"`

	// secure
	Secure bool `json:"secure,omitempty"`

	// type
	// Enum: [rewrite insert prefix]
	Type string `json:"type,omitempty"`
}

Cookie cookie

swagger:model cookie

func (*Cookie) MarshalBinary

func (m *Cookie) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Cookie) UnmarshalBinary

func (m *Cookie) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cookie) Validate

func (m *Cookie) Validate(formats strfmt.Registry) error

Validate validates this cookie

type DefaultServer

type DefaultServer struct {

	// address
	// Pattern: ^[^\s]+$
	Address string `json:"address,omitempty"`

	// agent addr
	// Pattern: ^[^\s]+$
	AgentAddr string `json:"agent-addr,omitempty"`

	// agent check
	// Enum: [enabled disabled]
	AgentCheck string `json:"agent-check,omitempty"`

	// agent inter
	AgentInter *int64 `json:"agent-inter,omitempty"`

	// agent port
	// Maximum: 65535
	// Minimum: 1
	AgentPort *int64 `json:"agent-port,omitempty"`

	// agent send
	AgentSend string `json:"agent-send,omitempty"`

	// allow 0rtt
	Allow0rtt bool `json:"allow_0rtt,omitempty"`

	// alpn
	// Pattern: ^[^\s]+$
	Alpn string `json:"alpn,omitempty"`

	// backup
	// Enum: [enabled disabled]
	Backup string `json:"backup,omitempty"`

	// check
	// Enum: [enabled disabled]
	Check string `json:"check,omitempty"`

	// check sni
	// Pattern: ^[^\s]+$
	CheckSni string `json:"check-sni,omitempty"`

	// check ssl
	// Enum: [enabled disabled]
	CheckSsl string `json:"check-ssl,omitempty"`

	// check alpn
	// Pattern: ^[^\s]+$
	CheckAlpn string `json:"check_alpn,omitempty"`

	// check proto
	// Pattern: ^[^\s]+$
	CheckProto string `json:"check_proto,omitempty"`

	// check via socks4
	// Enum: [enabled disabled]
	CheckViaSocks4 string `json:"check_via_socks4,omitempty"`

	// ciphers
	Ciphers string `json:"ciphers,omitempty"`

	// ciphersuites
	Ciphersuites string `json:"ciphersuites,omitempty"`

	// cookie
	// Pattern: ^[^\s]+$
	Cookie string `json:"cookie,omitempty"`

	// crl file
	CrlFile string `json:"crl_file,omitempty"`

	// downinter
	Downinter *int64 `json:"downinter,omitempty"`

	// error limit
	ErrorLimit int64 `json:"error_limit,omitempty"`

	// fall
	Fall *int64 `json:"fall,omitempty"`

	// fastinter
	Fastinter *int64 `json:"fastinter,omitempty"`

	// force sslv3
	// Enum: [enabled disabled]
	ForceSslv3 string `json:"force_sslv3,omitempty"`

	// force tlsv10
	// Enum: [enabled disabled]
	ForceTlsv10 string `json:"force_tlsv10,omitempty"`

	// force tlsv11
	// Enum: [enabled disabled]
	ForceTlsv11 string `json:"force_tlsv11,omitempty"`

	// force tlsv12
	// Enum: [enabled disabled]
	ForceTlsv12 string `json:"force_tlsv12,omitempty"`

	// force tlsv13
	// Enum: [enabled disabled]
	ForceTlsv13 string `json:"force_tlsv13,omitempty"`

	// health check port
	// Maximum: 65535
	// Minimum: 1
	HealthCheckPort *int64 `json:"health_check_port,omitempty"`

	// init addr
	// Pattern: ^[^\s]+$
	InitAddr string `json:"init-addr,omitempty"`

	// inter
	Inter *int64 `json:"inter,omitempty"`

	// log proto
	// Enum: [legacy octet-count]
	LogProto string `json:"log_proto,omitempty"`

	// max reuse
	MaxReuse *int64 `json:"max_reuse,omitempty"`

	// maxconn
	Maxconn *int64 `json:"maxconn,omitempty"`

	// maxqueue
	Maxqueue *int64 `json:"maxqueue,omitempty"`

	// minconn
	Minconn *int64 `json:"minconn,omitempty"`

	// name
	// Pattern: ^[^\s]+$
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// no sslv3
	// Enum: [enabled disabled]
	NoSslv3 string `json:"no_sslv3,omitempty"`

	// no tlsv10
	// Enum: [enabled disabled]
	NoTlsv10 string `json:"no_tlsv10,omitempty"`

	// no tlsv11
	// Enum: [enabled disabled]
	NoTlsv11 string `json:"no_tlsv11,omitempty"`

	// no tlsv12
	// Enum: [enabled disabled]
	NoTlsv12 string `json:"no_tlsv12,omitempty"`

	// no tlsv13
	// Enum: [enabled disabled]
	NoTlsv13 string `json:"no_tlsv13,omitempty"`

	// no verifyhost
	// Enum: [enabled disabled]
	NoVerifyhost string `json:"no_verifyhost,omitempty"`

	// npn
	Npn string `json:"npn,omitempty"`

	// observe
	// Enum: [layer4 layer7]
	Observe string `json:"observe,omitempty"`

	// on error
	// Enum: [fastinter fail-check sudden-death mark-down]
	OnError string `json:"on-error,omitempty"`

	// on marked down
	// Enum: [shutdown-sessions]
	OnMarkedDown string `json:"on-marked-down,omitempty"`

	// on marked up
	// Enum: [shutdown-backup-sessions]
	OnMarkedUp string `json:"on-marked-up,omitempty"`

	// pool low conn
	PoolLowConn *int64 `json:"pool_low_conn,omitempty"`

	// pool max conn
	PoolMaxConn *int64 `json:"pool_max_conn,omitempty"`

	// pool purge delay
	PoolPurgeDelay *int64 `json:"pool_purge_delay,omitempty"`

	// port
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port,omitempty"`

	// proto
	// Pattern: ^[^\s]+$
	Proto string `json:"proto,omitempty"`

	// proxy v2 options
	ProxyV2Options []string `json:"proxy-v2-options"`

	// redir
	Redir string `json:"redir,omitempty"`

	// resolve net
	// Pattern: ^[^\s]+$
	ResolveNet string `json:"resolve-net,omitempty"`

	// resolve prefer
	// Pattern: ^[^\s]+$
	// Enum: [ipv4 ipv6]
	ResolvePrefer string `json:"resolve-prefer,omitempty"`

	// resolve opts
	// Pattern: ^[^,\s][^\,]*[^,\s]*$
	ResolveOpts string `json:"resolve_opts,omitempty"`

	// resolvers
	// Pattern: ^[^\s]+$
	Resolvers string `json:"resolvers,omitempty"`

	// rise
	Rise *int64 `json:"rise,omitempty"`

	// send proxy
	// Enum: [enabled disabled]
	SendProxy string `json:"send-proxy,omitempty"`

	// send proxy v2
	// Enum: [enabled disabled]
	SendProxyV2 string `json:"send-proxy-v2,omitempty"`

	// send proxy v2 ssl
	// Enum: [enabled disabled]
	SendProxyV2Ssl string `json:"send_proxy_v2_ssl,omitempty"`

	// send proxy v2 ssl cn
	// Enum: [enabled disabled]
	SendProxyV2SslCn string `json:"send_proxy_v2_ssl_cn,omitempty"`

	// slowstart
	Slowstart *int64 `json:"slowstart,omitempty"`

	// sni
	// Pattern: ^[^\s]+$
	Sni string `json:"sni,omitempty"`

	// socks4
	// Pattern: ^[^\s]+$
	Socks4 string `json:"socks4,omitempty"`

	// source
	Source string `json:"source,omitempty"`

	// ssl
	// Enum: [enabled disabled]
	Ssl string `json:"ssl,omitempty"`

	// ssl certificate
	// Pattern: ^[^\s]+$
	SslCertificate string `json:"ssl_certificate,omitempty"`

	// ssl max ver
	// Enum: [SSLv3 TLSv1.0 TLSv1.1 TLSv1.2 TLSv1.3]
	SslMaxVer string `json:"ssl_max_ver,omitempty"`

	// ssl min ver
	// Enum: [SSLv3 TLSv1.0 TLSv1.1 TLSv1.2 TLSv1.3]
	SslMinVer string `json:"ssl_min_ver,omitempty"`

	// ssl reuse
	// Enum: [enabled disabled]
	SslReuse string `json:"ssl_reuse,omitempty"`

	// stick
	// Enum: [enabled disabled]
	Stick string `json:"stick,omitempty"`

	// tcp ut
	TCPUt int64 `json:"tcp_ut,omitempty"`

	// tfo
	// Enum: [enabled disabled]
	Tfo string `json:"tfo,omitempty"`

	// tls tickets
	// Enum: [enabled disabled]
	TLSTickets string `json:"tls_tickets,omitempty"`

	// track
	Track string `json:"track,omitempty"`

	// verify
	// Enum: [none required]
	Verify string `json:"verify,omitempty"`

	// verifyhost
	Verifyhost string `json:"verifyhost,omitempty"`

	// weight
	Weight *int64 `json:"weight,omitempty"`
}

DefaultServer Default Server

swagger:model default_server

func (*DefaultServer) MarshalBinary

func (m *DefaultServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DefaultServer) UnmarshalBinary

func (m *DefaultServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DefaultServer) Validate

func (m *DefaultServer) Validate(formats strfmt.Registry) error

Validate validates this default server

type Defaults

type Defaults struct {

	// error files
	ErrorFiles []*Errorfile `json:"error_files"`

	// abortonclose
	// Enum: [enabled disabled]
	Abortonclose string `json:"abortonclose,omitempty"`

	// adv check
	// Enum: [ssl-hello-chk smtpchk ldap-check mysql-check pgsql-check tcp-check redis-check httpchk]
	AdvCheck string `json:"adv_check,omitempty"`

	// allbackups
	// Enum: [enabled disabled]
	Allbackups string `json:"allbackups,omitempty"`

	// balance
	Balance *Balance `json:"balance,omitempty"`

	// bind process
	// Pattern: ^[^\s]+$
	BindProcess string `json:"bind_process,omitempty"`

	// check timeout
	CheckTimeout *int64 `json:"check_timeout,omitempty"`

	// clflog
	Clflog bool `json:"clflog,omitempty"`

	// client timeout
	ClientTimeout *int64 `json:"client_timeout,omitempty"`

	// clitcpka
	// Enum: [enabled disabled]
	Clitcpka string `json:"clitcpka,omitempty"`

	// connect timeout
	ConnectTimeout *int64 `json:"connect_timeout,omitempty"`

	// contstats
	// Enum: [enabled]
	Contstats string `json:"contstats,omitempty"`

	// cookie
	Cookie *Cookie `json:"cookie,omitempty"`

	// default backend
	// Pattern: ^[A-Za-z0-9-_.:]+$
	DefaultBackend string `json:"default_backend,omitempty"`

	// default server
	DefaultServer *DefaultServer `json:"default_server,omitempty"`

	// dontlognull
	// Enum: [enabled disabled]
	Dontlognull string `json:"dontlognull,omitempty"`

	// external check
	// Enum: [enabled disabled]
	ExternalCheck string `json:"external_check,omitempty"`

	// external check command
	// Pattern: ^[^\s]+$
	ExternalCheckCommand string `json:"external_check_command,omitempty"`

	// external check path
	// Pattern: ^[^\s]+$
	ExternalCheckPath string `json:"external_check_path,omitempty"`

	// forwardfor
	Forwardfor *Forwardfor `json:"forwardfor,omitempty"`

	// http buffer request
	// Enum: [enabled disabled]
	HTTPBufferRequest string `json:"http-buffer-request,omitempty"`

	// http check
	HTTPCheck *HTTPCheck `json:"http-check,omitempty"`

	// http use htx
	// Enum: [enabled disabled]
	HTTPUseHtx string `json:"http-use-htx,omitempty"`

	// http connection mode
	// Enum: [httpclose http-server-close http-keep-alive]
	HTTPConnectionMode string `json:"http_connection_mode,omitempty"`

	// http keep alive timeout
	HTTPKeepAliveTimeout *int64 `json:"http_keep_alive_timeout,omitempty"`

	// http pretend keepalive
	// Enum: [enabled disabled]
	HTTPPretendKeepalive string `json:"http_pretend_keepalive,omitempty"`

	// http request timeout
	HTTPRequestTimeout *int64 `json:"http_request_timeout,omitempty"`

	// http reuse
	// Enum: [aggressive always never safe]
	HTTPReuse string `json:"http_reuse,omitempty"`

	// httpchk params
	HttpchkParams *HttpchkParams `json:"httpchk_params,omitempty"`

	// httplog
	Httplog bool `json:"httplog,omitempty"`

	// log format
	LogFormat string `json:"log_format,omitempty"`

	// log format sd
	LogFormatSd string `json:"log_format_sd,omitempty"`

	// log separate errors
	// Enum: [enabled disabled]
	LogSeparateErrors string `json:"log_separate_errors,omitempty"`

	// log tag
	// Pattern: ^[^\s]+$
	LogTag string `json:"log_tag,omitempty"`

	// logasap
	// Enum: [enabled disabled]
	Logasap string `json:"logasap,omitempty"`

	// maxconn
	Maxconn *int64 `json:"maxconn,omitempty"`

	// mode
	// Enum: [tcp http]
	Mode string `json:"mode,omitempty"`

	// monitor uri
	MonitorURI MonitorURI `json:"monitor_uri,omitempty"`

	// mysql check params
	MysqlCheckParams *MysqlCheckParams `json:"mysql_check_params,omitempty"`

	// pgsql check params
	PgsqlCheckParams *PgsqlCheckParams `json:"pgsql_check_params,omitempty"`

	// queue timeout
	QueueTimeout *int64 `json:"queue_timeout,omitempty"`

	// redispatch
	Redispatch *Redispatch `json:"redispatch,omitempty"`

	// retries
	Retries *int64 `json:"retries,omitempty"`

	// server timeout
	ServerTimeout *int64 `json:"server_timeout,omitempty"`

	// smtpchk params
	SmtpchkParams *SmtpchkParams `json:"smtpchk_params,omitempty"`

	// stats options
	StatsOptions *StatsOptions `json:"stats_options,omitempty"`

	// tcplog
	Tcplog bool `json:"tcplog,omitempty"`

	// tunnel timeout
	TunnelTimeout *int64 `json:"tunnel_timeout,omitempty"`

	// unique id format
	UniqueIDFormat string `json:"unique_id_format,omitempty"`

	// unique id header
	UniqueIDHeader string `json:"unique_id_header,omitempty"`
}

Defaults Defaults

HAProxy defaults configuration

swagger:model defaults

func (*Defaults) MarshalBinary

func (m *Defaults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Defaults) UnmarshalBinary

func (m *Defaults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Defaults) Validate

func (m *Defaults) Validate(formats strfmt.Registry) error

Validate validates this defaults

type Domain

type Domain struct {

	// value
	// Pattern: ^[^\s]+$
	Value string `json:"value,omitempty"`
}

Domain domain

swagger:model Domain

func (*Domain) MarshalBinary

func (m *Domain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Domain) UnmarshalBinary

func (m *Domain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Domain) Validate

func (m *Domain) Validate(formats strfmt.Registry) error

Validate validates this domain

type Endpoint

type Endpoint struct {

	// Endpoint description
	Description string `json:"description,omitempty"`

	// Endpoint title
	Title string `json:"title,omitempty"`

	// Path to the endpoint
	URL string `json:"url,omitempty"`
}

Endpoint Endpoint

Endpoint definition

swagger:model endpoint

func (*Endpoint) MarshalBinary

func (m *Endpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Endpoint) UnmarshalBinary

func (m *Endpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Endpoint) Validate

func (m *Endpoint) Validate(formats strfmt.Registry) error

Validate validates this endpoint

type Endpoints

type Endpoints []*Endpoint

Endpoints Endpoints Array

Collection of endpoints

swagger:model endpoints

func (Endpoints) Validate

func (m Endpoints) Validate(formats strfmt.Registry) error

Validate validates this endpoints

type Error

type Error struct {

	// code
	// Required: true
	Code *int64 `json:"code"`

	// message
	// Required: true
	Message *string `json:"message"`

	// error
	Error map[string]string `json:"-"`
}

Error Error

API Error

swagger:model error

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Error) MarshalJSON

func (m Error) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) UnmarshalJSON

func (m *Error) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Errorfile

type Errorfile struct {

	// code
	// Enum: [200 400 403 405 408 425 429 500 502 503 504]
	Code int64 `json:"code,omitempty"`

	// file
	File string `json:"file,omitempty"`
}

Errorfile errorfile

swagger:model errorfile

func (*Errorfile) MarshalBinary

func (m *Errorfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Errorfile) UnmarshalBinary

func (m *Errorfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Errorfile) Validate

func (m *Errorfile) Validate(formats strfmt.Registry) error

Validate validates this errorfile

type Filter

type Filter struct {

	// cache name
	// Pattern: ^[^\s]+$
	CacheName string `json:"cache_name,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// spoe config
	// Pattern: ^[^\s]+$
	SpoeConfig string `json:"spoe_config,omitempty"`

	// spoe engine
	// Pattern: ^[^\s]+$
	SpoeEngine string `json:"spoe_engine,omitempty"`

	// trace hexdump
	TraceHexdump bool `json:"trace_hexdump,omitempty"`

	// trace name
	// Pattern: ^[^\s]+$
	TraceName string `json:"trace_name,omitempty"`

	// trace rnd forwarding
	TraceRndForwarding bool `json:"trace_rnd_forwarding,omitempty"`

	// trace rnd parsing
	TraceRndParsing bool `json:"trace_rnd_parsing,omitempty"`

	// type
	// Required: true
	// Enum: [trace compression spoe cache]
	Type string `json:"type"`
}

Filter Filter

HAProxy filters

swagger:model filter

func (*Filter) MarshalBinary

func (m *Filter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Filter) UnmarshalBinary

func (m *Filter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Filter) Validate

func (m *Filter) Validate(formats strfmt.Registry) error

Validate validates this filter

type Filters

type Filters []*Filter

Filters Filters Array

HAProxy filters array (corresponds to filter directive)

swagger:model filters

func (Filters) Validate

func (m Filters) Validate(formats strfmt.Registry) error

Validate validates this filters

type Forwardfor

type Forwardfor struct {

	// enabled
	// Required: true
	// Enum: [enabled]
	Enabled *string `json:"enabled"`

	// except
	// Pattern: ^[^\s]+$
	Except string `json:"except,omitempty"`

	// header
	// Pattern: ^[^\s]+$
	Header string `json:"header,omitempty"`

	// ifnone
	Ifnone bool `json:"ifnone,omitempty"`
}

Forwardfor forwardfor

swagger:model forwardfor

func (*Forwardfor) MarshalBinary

func (m *Forwardfor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Forwardfor) UnmarshalBinary

func (m *Forwardfor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Forwardfor) Validate

func (m *Forwardfor) Validate(formats strfmt.Registry) error

Validate validates this forwardfor

type Frontend

type Frontend struct {

	// bind process
	// Pattern: ^[^\s]+$
	BindProcess string `json:"bind_process,omitempty"`

	// clflog
	Clflog bool `json:"clflog,omitempty"`

	// client timeout
	ClientTimeout *int64 `json:"client_timeout,omitempty"`

	// clitcpka
	// Enum: [enabled disabled]
	Clitcpka string `json:"clitcpka,omitempty"`

	// contstats
	// Enum: [enabled]
	Contstats string `json:"contstats,omitempty"`

	// default backend
	// Pattern: ^[A-Za-z0-9-_.:]+$
	DefaultBackend string `json:"default_backend,omitempty"`

	// dontlognull
	// Enum: [enabled disabled]
	Dontlognull string `json:"dontlognull,omitempty"`

	// forwardfor
	Forwardfor *Forwardfor `json:"forwardfor,omitempty"`

	// http buffer request
	// Enum: [enabled disabled]
	HTTPBufferRequest string `json:"http-buffer-request,omitempty"`

	// http use htx
	// Enum: [enabled disabled]
	HTTPUseHtx string `json:"http-use-htx,omitempty"`

	// http connection mode
	// Enum: [httpclose http-server-close http-keep-alive]
	HTTPConnectionMode string `json:"http_connection_mode,omitempty"`

	// http keep alive timeout
	HTTPKeepAliveTimeout *int64 `json:"http_keep_alive_timeout,omitempty"`

	// http request timeout
	HTTPRequestTimeout *int64 `json:"http_request_timeout,omitempty"`

	// httplog
	Httplog bool `json:"httplog,omitempty"`

	// log format
	LogFormat string `json:"log_format,omitempty"`

	// log format sd
	LogFormatSd string `json:"log_format_sd,omitempty"`

	// log separate errors
	// Enum: [enabled disabled]
	LogSeparateErrors string `json:"log_separate_errors,omitempty"`

	// log tag
	// Pattern: ^[A-Za-z0-9-_.:]+$
	LogTag string `json:"log_tag,omitempty"`

	// logasap
	// Enum: [enabled disabled]
	Logasap string `json:"logasap,omitempty"`

	// maxconn
	Maxconn *int64 `json:"maxconn,omitempty"`

	// mode
	// Enum: [http tcp]
	Mode string `json:"mode,omitempty"`

	// monitor fail
	MonitorFail *MonitorFail `json:"monitor_fail,omitempty"`

	// monitor uri
	MonitorURI MonitorURI `json:"monitor_uri,omitempty"`

	// name
	// Required: true
	// Pattern: ^[A-Za-z0-9-_.:]+$
	Name string `json:"name"`

	// stats options
	StatsOptions *StatsOptions `json:"stats_options,omitempty"`

	// tcplog
	Tcplog bool `json:"tcplog,omitempty"`

	// unique id format
	UniqueIDFormat string `json:"unique_id_format,omitempty"`

	// unique id header
	UniqueIDHeader string `json:"unique_id_header,omitempty"`
}

Frontend Frontend

HAProxy frontend configuration

swagger:model frontend

func (*Frontend) MarshalBinary

func (m *Frontend) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Frontend) UnmarshalBinary

func (m *Frontend) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Frontend) Validate

func (m *Frontend) Validate(formats strfmt.Registry) error

Validate validates this frontend

type Frontends

type Frontends []*Frontend

Frontends Frontends

HAProxy frontends array

swagger:model frontends

func (Frontends) Validate

func (m Frontends) Validate(formats strfmt.Registry) error

Validate validates this frontends

type Global

type Global struct {

	// CPU maps
	CPUMaps []*CPUMap `json:"cpu_maps"`

	// runtime a p is
	RuntimeAPIs []*RuntimeAPI `json:"runtime_apis"`

	// chroot
	// Pattern: ^[^\s]+$
	Chroot string `json:"chroot,omitempty"`

	// daemon
	// Enum: [enabled disabled]
	Daemon string `json:"daemon,omitempty"`

	// external check
	ExternalCheck bool `json:"external_check,omitempty"`

	// group
	// Pattern: ^[^\s]+$
	Group string `json:"group,omitempty"`

	// log send hostname
	LogSendHostname *GlobalLogSendHostname `json:"log_send_hostname,omitempty"`

	// lua loads
	LuaLoads []*LuaLoad `json:"lua_loads"`

	// master worker
	MasterWorker bool `json:"master-worker,omitempty"`

	// maxconn
	Maxconn int64 `json:"maxconn,omitempty"`

	// nbproc
	Nbproc int64 `json:"nbproc,omitempty"`

	// nbthread
	Nbthread int64 `json:"nbthread,omitempty"`

	// pidfile
	Pidfile string `json:"pidfile,omitempty"`

	// ssl default bind ciphers
	SslDefaultBindCiphers string `json:"ssl_default_bind_ciphers,omitempty"`

	// ssl default bind ciphersuites
	SslDefaultBindCiphersuites string `json:"ssl_default_bind_ciphersuites,omitempty"`

	// ssl default bind options
	SslDefaultBindOptions string `json:"ssl_default_bind_options,omitempty"`

	// ssl default server ciphers
	SslDefaultServerCiphers string `json:"ssl_default_server_ciphers,omitempty"`

	// ssl default server ciphersuites
	SslDefaultServerCiphersuites string `json:"ssl_default_server_ciphersuites,omitempty"`

	// ssl default server options
	SslDefaultServerOptions string `json:"ssl_default_server_options,omitempty"`

	// ssl mode async
	// Enum: [enabled disabled]
	SslModeAsync string `json:"ssl_mode_async,omitempty"`

	// stats timeout
	StatsTimeout *int64 `json:"stats_timeout,omitempty"`

	// tune ssl default dh param
	TuneSslDefaultDhParam int64 `json:"tune_ssl_default_dh_param,omitempty"`

	// user
	// Pattern: ^[^\s]+$
	User string `json:"user,omitempty"`
}

Global Global

HAProxy global configuration

swagger:model global

func (*Global) MarshalBinary

func (m *Global) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Global) UnmarshalBinary

func (m *Global) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Global) Validate

func (m *Global) Validate(formats strfmt.Registry) error

Validate validates this global

type GlobalLogSendHostname added in v2.2.0

type GlobalLogSendHostname struct {

	// enabled
	// Required: true
	// Enum: [enabled disabled]
	Enabled *string `json:"enabled"`

	// param
	// Pattern: ^[^\s]+$
	Param string `json:"param,omitempty"`
}

GlobalLogSendHostname global log send hostname

swagger:model GlobalLogSendHostname

func (*GlobalLogSendHostname) MarshalBinary added in v2.2.0

func (m *GlobalLogSendHostname) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GlobalLogSendHostname) UnmarshalBinary added in v2.2.0

func (m *GlobalLogSendHostname) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GlobalLogSendHostname) Validate added in v2.2.0

func (m *GlobalLogSendHostname) Validate(formats strfmt.Registry) error

Validate validates this global log send hostname

type HTTPCheck

type HTTPCheck struct {

	// exclamation mark
	ExclamationMark bool `json:"exclamation_mark,omitempty"`

	// match
	// Pattern: ^[^\s]+$
	// Enum: [status rstatus string rstring]
	Match string `json:"match,omitempty"`

	// pattern
	// Pattern: ^[^\s]+$
	Pattern string `json:"pattern,omitempty"`

	// type
	// Required: true
	// Enum: [disable-on-404 expect send-state]
	Type *string `json:"type"`
}

HTTPCheck http check

swagger:model http-check

func (*HTTPCheck) MarshalBinary

func (m *HTTPCheck) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPCheck) UnmarshalBinary

func (m *HTTPCheck) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPCheck) Validate

func (m *HTTPCheck) Validate(formats strfmt.Registry) error

Validate validates this http check

type HTTPRequestRule

type HTTPRequestRule struct {

	// acl file
	// Pattern: ^[^\s]+$
	ACLFile string `json:"acl_file,omitempty"`

	// acl keyfmt
	// Pattern: ^[^\s]+$
	ACLKeyfmt string `json:"acl_keyfmt,omitempty"`

	// auth realm
	// Pattern: ^[^\s]+$
	AuthRealm string `json:"auth_realm,omitempty"`

	// cache name
	// Pattern: ^[^\s]+$
	CacheName string `json:"cache_name,omitempty"`

	// capture id
	CaptureID *int64 `json:"capture_id,omitempty"`

	// capture len
	CaptureLen int64 `json:"capture_len,omitempty"`

	// capture sample
	// Pattern: ^[^\s]+$
	CaptureSample string `json:"capture_sample,omitempty"`

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// deny status
	// Enum: [200 400 403 405 408 425 429 500 502 503 504]
	DenyStatus *int64 `json:"deny_status,omitempty"`

	// expr
	Expr string `json:"expr,omitempty"`

	// hdr format
	HdrFormat string `json:"hdr_format,omitempty"`

	// hdr match
	HdrMatch string `json:"hdr_match,omitempty"`

	// hdr name
	HdrName string `json:"hdr_name,omitempty"`

	// hint format
	// Pattern: ^[^\s]+$
	HintFormat string `json:"hint_format,omitempty"`

	// hint name
	// Pattern: ^[^\s]+$
	HintName string `json:"hint_name,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// log level
	// Enum: [emerg alert crit err warning notice info debug silent]
	LogLevel string `json:"log_level,omitempty"`

	// lua action
	// Pattern: ^[^\s]+$
	LuaAction string `json:"lua_action,omitempty"`

	// lua params
	LuaParams string `json:"lua_params,omitempty"`

	// map file
	// Pattern: ^[^\s]+$
	MapFile string `json:"map_file,omitempty"`

	// map keyfmt
	// Pattern: ^[^\s]+$
	MapKeyfmt string `json:"map_keyfmt,omitempty"`

	// map valuefmt
	// Pattern: ^[^\s]+$
	MapValuefmt string `json:"map_valuefmt,omitempty"`

	// mark value
	// Pattern: ^(0x[0-9A-Fa-f]+|[0-9]+)$
	MarkValue string `json:"mark_value,omitempty"`

	// method fmt
	// Pattern: ^[^\s]+$
	MethodFmt string `json:"method_fmt,omitempty"`

	// nice value
	// Maximum: 1024
	// Minimum: -1024
	NiceValue int64 `json:"nice_value,omitempty"`

	// path fmt
	// Pattern: ^[^\s]+$
	PathFmt string `json:"path_fmt,omitempty"`

	// path match
	// Pattern: ^[^\s]+$
	PathMatch string `json:"path_match,omitempty"`

	// protocol
	// Enum: [ipv4 ipv6]
	Protocol string `json:"protocol,omitempty"`

	// query fmt
	QueryFmt string `json:"query-fmt,omitempty"`

	// redir code
	// Enum: [301 302 303 307 308]
	RedirCode *int64 `json:"redir_code,omitempty"`

	// redir option
	RedirOption string `json:"redir_option,omitempty"`

	// redir type
	// Enum: [location prefix scheme]
	RedirType string `json:"redir_type,omitempty"`

	// redir value
	// Pattern: ^[^\s]+$
	RedirValue string `json:"redir_value,omitempty"`

	// resolvers
	Resolvers string `json:"resolvers,omitempty"`

	// sc expr
	ScExpr string `json:"sc_expr,omitempty"`

	// sc id
	ScID int64 `json:"sc_id,omitempty"`

	// sc int
	ScInt *int64 `json:"sc_int,omitempty"`

	// service name
	ServiceName string `json:"service_name,omitempty"`

	// spoe engine
	// Pattern: ^[^\s]+$
	SpoeEngine string `json:"spoe_engine,omitempty"`

	// spoe group
	// Pattern: ^[^\s]+$
	SpoeGroup string `json:"spoe_group,omitempty"`

	// strict mode
	// Enum: [on off]
	StrictMode string `json:"strict_mode,omitempty"`

	// tos value
	// Pattern: ^(0x[0-9A-Fa-f]+|[0-9]+)$
	TosValue string `json:"tos_value,omitempty"`

	// track sc0 key
	// Pattern: ^[^\s]+$
	TrackSc0Key string `json:"track-sc0-key,omitempty"`

	// track sc0 table
	// Pattern: ^[^\s]+$
	TrackSc0Table string `json:"track-sc0-table,omitempty"`

	// track sc1 key
	// Pattern: ^[^\s]+$
	TrackSc1Key string `json:"track-sc1-key,omitempty"`

	// track sc1 table
	// Pattern: ^[^\s]+$
	TrackSc1Table string `json:"track-sc1-table,omitempty"`

	// track sc2 key
	// Pattern: ^[^\s]+$
	TrackSc2Key string `json:"track-sc2-key,omitempty"`

	// track sc2 table
	// Pattern: ^[^\s]+$
	TrackSc2Table string `json:"track-sc2-table,omitempty"`

	// type
	// Required: true
	// Enum: [allow deny auth redirect tarpit add-header replace-header replace-value del-header set-header set-log-level set-path replace-path set-query set-uri set-var send-spoe-group add-acl del-acl capture track-sc0 track-sc1 track-sc2 set-map del-map cache-use disable-l7-retry early-hint replace-uri sc-inc-gpc0 sc-inc-gpc1 do-resolve set-dst set-dst-port sc-set-gpt0 set-mark set-nice set-method set-priority-class set-priority-offset set-src set-src-por wait-for-handshake set-tos silent-drop unset-var strict-mode lua use-service]
	Type string `json:"type"`

	// uri fmt
	URIFmt string `json:"uri-fmt,omitempty"`

	// uri match
	URIMatch string `json:"uri-match,omitempty"`

	// var expr
	VarExpr string `json:"var_expr,omitempty"`

	// var name
	// Pattern: ^[^\s]+$
	VarName string `json:"var_name,omitempty"`

	// var scope
	// Pattern: ^[^\s]+$
	VarScope string `json:"var_scope,omitempty"`
}

HTTPRequestRule HTTP Request Rule

HAProxy HTTP request rule configuration (corresponds to http-request directives)

swagger:model http_request_rule

func (*HTTPRequestRule) MarshalBinary

func (m *HTTPRequestRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPRequestRule) UnmarshalBinary

func (m *HTTPRequestRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPRequestRule) Validate

func (m *HTTPRequestRule) Validate(formats strfmt.Registry) error

Validate validates this http request rule

type HTTPRequestRules

type HTTPRequestRules []*HTTPRequestRule

HTTPRequestRules HTTP Request Rules Array

HAProxy HTTP request rules array (corresponds to http-request directives)

swagger:model http_request_rules

func (HTTPRequestRules) Validate

func (m HTTPRequestRules) Validate(formats strfmt.Registry) error

Validate validates this http request rules

type HTTPResponseRule

type HTTPResponseRule struct {

	// acl file
	// Pattern: ^[^\s]+$
	ACLFile string `json:"acl_file,omitempty"`

	// acl keyfmt
	// Pattern: ^[^\s]+$
	ACLKeyfmt string `json:"acl_keyfmt,omitempty"`

	// capture id
	CaptureID *int64 `json:"capture_id,omitempty"`

	// capture sample
	// Pattern: ^[^\s]+$
	CaptureSample string `json:"capture_sample,omitempty"`

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// hdr format
	HdrFormat string `json:"hdr_format,omitempty"`

	// hdr match
	HdrMatch string `json:"hdr_match,omitempty"`

	// hdr name
	HdrName string `json:"hdr_name,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// log level
	// Enum: [emerg alert crit err warning notice info debug silent]
	LogLevel string `json:"log_level,omitempty"`

	// lua action
	// Pattern: ^[^\s]+$
	LuaAction string `json:"lua_action,omitempty"`

	// lua params
	LuaParams string `json:"lua_params,omitempty"`

	// map file
	// Pattern: ^[^\s]+$
	MapFile string `json:"map_file,omitempty"`

	// map keyfmt
	// Pattern: ^[^\s]+$
	MapKeyfmt string `json:"map_keyfmt,omitempty"`

	// map valuefmt
	// Pattern: ^[^\s]+$
	MapValuefmt string `json:"map_valuefmt,omitempty"`

	// mark value
	// Pattern: ^(0x[0-9A-Fa-f]+|[0-9]+)$
	MarkValue string `json:"mark_value,omitempty"`

	// nice value
	// Maximum: 1024
	// Minimum: -1024
	NiceValue int64 `json:"nice_value,omitempty"`

	// redir code
	// Enum: [301 302 303 307 308]
	RedirCode *int64 `json:"redir_code,omitempty"`

	// redir option
	RedirOption string `json:"redir_option,omitempty"`

	// redir type
	// Enum: [location prefix scheme]
	RedirType string `json:"redir_type,omitempty"`

	// redir value
	// Pattern: ^[^\s]+$
	RedirValue string `json:"redir_value,omitempty"`

	// sc expr
	ScExpr string `json:"sc_expr,omitempty"`

	// sc id
	ScID int64 `json:"sc_id,omitempty"`

	// sc int
	ScInt *int64 `json:"sc_int,omitempty"`

	// spoe engine
	// Pattern: ^[^\s]+$
	SpoeEngine string `json:"spoe_engine,omitempty"`

	// spoe group
	// Pattern: ^[^\s]+$
	SpoeGroup string `json:"spoe_group,omitempty"`

	// status
	// Maximum: 999
	// Minimum: 100
	Status int64 `json:"status,omitempty"`

	// status reason
	StatusReason string `json:"status_reason,omitempty"`

	// strict mode
	// Enum: [on off]
	StrictMode string `json:"strict_mode,omitempty"`

	// tos value
	// Pattern: ^(0x[0-9A-Fa-f]+|[0-9]+)$
	TosValue string `json:"tos_value,omitempty"`

	// track sc0 key
	// Pattern: ^[^\s]+$
	TrackSc0Key string `json:"track-sc0-key,omitempty"`

	// track sc0 table
	// Pattern: ^[^\s]+$
	TrackSc0Table string `json:"track-sc0-table,omitempty"`

	// track sc1 key
	// Pattern: ^[^\s]+$
	TrackSc1Key string `json:"track-sc1-key,omitempty"`

	// track sc1 table
	// Pattern: ^[^\s]+$
	TrackSc1Table string `json:"track-sc1-table,omitempty"`

	// track sc2 key
	// Pattern: ^[^\s]+$
	TrackSc2Key string `json:"track-sc2-key,omitempty"`

	// track sc2 table
	// Pattern: ^[^\s]+$
	TrackSc2Table string `json:"track-sc2-table,omitempty"`

	// type
	// Required: true
	// Enum: [allow deny redirect add-header set-header del-header set-log-level set-var set-status send-spoe-group replace-header replace-value add-acl del-acl capture set-map del-map sc-inc-gpc0 sc-inc-gpc1 sc-set-gpt0 set-mark set-nice set-tos silent-drop unset-var track-sc0 track-sc1 track-sc2 strict-mode lua]
	Type string `json:"type"`

	// var expr
	VarExpr string `json:"var_expr,omitempty"`

	// var name
	// Pattern: ^[^\s]+$
	VarName string `json:"var_name,omitempty"`

	// var scope
	// Pattern: ^[^\s]+$
	VarScope string `json:"var_scope,omitempty"`
}

HTTPResponseRule HTTP Response Rule

HAProxy HTTP response rule configuration (corresponds to http-response directives)

swagger:model http_response_rule

func (*HTTPResponseRule) MarshalBinary

func (m *HTTPResponseRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPResponseRule) UnmarshalBinary

func (m *HTTPResponseRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPResponseRule) Validate

func (m *HTTPResponseRule) Validate(formats strfmt.Registry) error

Validate validates this http response rule

type HTTPResponseRules

type HTTPResponseRules []*HTTPResponseRule

HTTPResponseRules HTTP Response Rules Array

HAProxy HTTP response rules array (corresponds to http-response directives)

swagger:model http_response_rules

func (HTTPResponseRules) Validate

func (m HTTPResponseRules) Validate(formats strfmt.Registry) error

Validate validates this http response rules

type Httpchk

type Httpchk struct {

	// method
	// Enum: [HEAD PUT POST GET TRACE PATCH]
	Method string `json:"method,omitempty"`

	// uri
	// Pattern: ^[^\s]+$
	URI string `json:"uri,omitempty"`

	// version
	// Pattern: ^[^\s]+$
	Version string `json:"version,omitempty"`
}

Httpchk httpchk

swagger:model httpchk

func (*Httpchk) MarshalBinary

func (m *Httpchk) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Httpchk) UnmarshalBinary

func (m *Httpchk) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Httpchk) Validate

func (m *Httpchk) Validate(formats strfmt.Registry) error

Validate validates this httpchk

type HttpchkParams added in v2.2.0

type HttpchkParams struct {

	// method
	// Enum: [HEAD PUT POST GET TRACE PATCH]
	Method string `json:"method,omitempty"`

	// uri
	// Pattern: ^[^\s]+$
	URI string `json:"uri,omitempty"`

	// version
	// Pattern: ^[^\s]+$
	Version string `json:"version,omitempty"`
}

HttpchkParams httpchk params

swagger:model httpchk_params

func (*HttpchkParams) MarshalBinary added in v2.2.0

func (m *HttpchkParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HttpchkParams) UnmarshalBinary added in v2.2.0

func (m *HttpchkParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HttpchkParams) Validate added in v2.2.0

func (m *HttpchkParams) Validate(formats strfmt.Registry) error

Validate validates this httpchk params

type Info

type Info struct {

	// api
	API *InfoAPI `json:"api,omitempty"`

	// system
	System *InfoSystem `json:"system,omitempty"`
}

Info Information

General API, OS and hardware information

swagger:model info

func (*Info) MarshalBinary

func (m *Info) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Info) UnmarshalBinary

func (m *Info) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Info) Validate

func (m *Info) Validate(formats strfmt.Registry) error

Validate validates this info

type InfoAPI

type InfoAPI struct {

	// HAProxy Dataplane API build date
	// Format: date-time
	BuildDate strfmt.DateTime `json:"build_date,omitempty"`

	// HAProxy Dataplane API version string
	Version string `json:"version,omitempty"`
}

InfoAPI info API

swagger:model InfoAPI

func (*InfoAPI) MarshalBinary

func (m *InfoAPI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InfoAPI) UnmarshalBinary

func (m *InfoAPI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InfoAPI) Validate

func (m *InfoAPI) Validate(formats strfmt.Registry) error

Validate validates this info API

type InfoSystem

type InfoSystem struct {

	// cpu info
	CPUInfo *InfoSystemCPUInfo `json:"cpu_info,omitempty"`

	// Hostname where the HAProxy is running
	Hostname string `json:"hostname,omitempty"`

	// mem info
	MemInfo *InfoSystemMemInfo `json:"mem_info,omitempty"`

	// OS string
	OsString string `json:"os_string,omitempty"`

	// Current time in milliseconds since Epoch.
	Time int64 `json:"time,omitempty"`

	// System uptime
	Uptime *int64 `json:"uptime,omitempty"`
}

InfoSystem info system

swagger:model InfoSystem

func (*InfoSystem) MarshalBinary

func (m *InfoSystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InfoSystem) UnmarshalBinary

func (m *InfoSystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InfoSystem) Validate

func (m *InfoSystem) Validate(formats strfmt.Registry) error

Validate validates this info system

type InfoSystemCPUInfo

type InfoSystemCPUInfo struct {

	// model
	Model string `json:"model,omitempty"`

	// Number of logical CPUs
	NumCpus int64 `json:"num_cpus,omitempty"`
}

InfoSystemCPUInfo info system CPU info

swagger:model InfoSystemCPUInfo

func (*InfoSystemCPUInfo) MarshalBinary

func (m *InfoSystemCPUInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InfoSystemCPUInfo) UnmarshalBinary

func (m *InfoSystemCPUInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InfoSystemCPUInfo) Validate

func (m *InfoSystemCPUInfo) Validate(formats strfmt.Registry) error

Validate validates this info system CPU info

type InfoSystemMemInfo

type InfoSystemMemInfo struct {

	// dataplaneapi memory
	DataplaneapiMemory int64 `json:"dataplaneapi_memory,omitempty"`

	// free memory
	FreeMemory int64 `json:"free_memory,omitempty"`

	// total memory
	TotalMemory int64 `json:"total_memory,omitempty"`
}

InfoSystemMemInfo info system mem info

swagger:model InfoSystemMemInfo

func (*InfoSystemMemInfo) MarshalBinary

func (m *InfoSystemMemInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InfoSystemMemInfo) UnmarshalBinary

func (m *InfoSystemMemInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InfoSystemMemInfo) Validate

func (m *InfoSystemMemInfo) Validate(formats strfmt.Registry) error

Validate validates this info system mem info

type LogTarget

type LogTarget struct {

	// address
	// Pattern: ^[^\s]+$
	Address string `json:"address,omitempty"`

	// facility
	// Enum: [kern user mail daemon auth syslog lpr news uucp cron auth2 ftp ntp audit alert cron2 local0 local1 local2 local3 local4 local5 local6 local7]
	Facility string `json:"facility,omitempty"`

	// format
	// Enum: [rfc3164 rfc5424 short raw]
	Format string `json:"format,omitempty"`

	// global
	Global bool `json:"global,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// length
	Length int64 `json:"length,omitempty"`

	// level
	// Enum: [emerg alert crit err warning notice info debug]
	Level string `json:"level,omitempty"`

	// minlevel
	// Enum: [emerg alert crit err warning notice info debug]
	Minlevel string `json:"minlevel,omitempty"`

	// nolog
	Nolog bool `json:"nolog,omitempty"`
}

LogTarget Log Target

Per-instance logging of events and traffic.

swagger:model log_target

func (*LogTarget) MarshalBinary

func (m *LogTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogTarget) UnmarshalBinary

func (m *LogTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogTarget) Validate

func (m *LogTarget) Validate(formats strfmt.Registry) error

Validate validates this log target

type LogTargets

type LogTargets []*LogTarget

LogTargets Log Target Array

HAProxy log target array (corresponds to log directives)

swagger:model log_targets

func (LogTargets) Validate

func (m LogTargets) Validate(formats strfmt.Registry) error

Validate validates this log targets

type LuaLoad added in v2.1.0

type LuaLoad struct {

	// file
	// Required: true
	// Pattern: ^[^\s]+$
	File *string `json:"file"`
}

LuaLoad lua load

swagger:model LuaLoad

func (*LuaLoad) MarshalBinary added in v2.1.0

func (m *LuaLoad) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LuaLoad) UnmarshalBinary added in v2.1.0

func (m *LuaLoad) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LuaLoad) Validate added in v2.1.0

func (m *LuaLoad) Validate(formats strfmt.Registry) error

Validate validates this lua load

type Map

type Map struct {

	// description
	Description string `json:"description,omitempty"`

	// file
	File string `json:"file,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// storage name
	StorageName string `json:"storage_name,omitempty"`
}

Map Map File

Map File

swagger:model map

func (*Map) MarshalBinary

func (m *Map) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Map) UnmarshalBinary

func (m *Map) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Map) Validate

func (m *Map) Validate(formats strfmt.Registry) error

Validate validates this map

type MapEntries

type MapEntries []*MapEntry

MapEntries Maps Entries

Entries of one runtime map

swagger:model map_entries

func (MapEntries) Validate

func (m MapEntries) Validate(formats strfmt.Registry) error

Validate validates this map entries

type MapEntry

type MapEntry struct {

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

MapEntry One Map Entry

One Map Entry

swagger:model map_entry

func (*MapEntry) MarshalBinary

func (m *MapEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MapEntry) UnmarshalBinary

func (m *MapEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MapEntry) Validate

func (m *MapEntry) Validate(formats strfmt.Registry) error

Validate validates this map entry

type Maps

type Maps []*Map

Maps Map Files Array

Array of runtime map files

swagger:model maps

func (Maps) Validate

func (m Maps) Validate(formats strfmt.Registry) error

Validate validates this maps

type MonitorFail added in v2.2.0

type MonitorFail struct {

	// cond
	// Required: true
	// Enum: [if unless]
	Cond *string `json:"cond"`

	// cond test
	// Required: true
	CondTest *string `json:"cond_test"`
}

MonitorFail monitor fail

swagger:model monitor_fail

func (*MonitorFail) MarshalBinary added in v2.2.0

func (m *MonitorFail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorFail) UnmarshalBinary added in v2.2.0

func (m *MonitorFail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorFail) Validate added in v2.2.0

func (m *MonitorFail) Validate(formats strfmt.Registry) error

Validate validates this monitor fail

type MonitorURI added in v2.2.0

type MonitorURI string

MonitorURI monitor uri

swagger:model monitor_uri

func (MonitorURI) Validate added in v2.2.0

func (m MonitorURI) Validate(formats strfmt.Registry) error

Validate validates this monitor uri

type MysqlCheckParams added in v2.2.0

type MysqlCheckParams struct {

	// client version
	// Enum: [pre-41 post-41]
	ClientVersion string `json:"client_version,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

MysqlCheckParams mysql check params

swagger:model mysql_check_params

func (*MysqlCheckParams) MarshalBinary added in v2.2.0

func (m *MysqlCheckParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MysqlCheckParams) UnmarshalBinary added in v2.2.0

func (m *MysqlCheckParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MysqlCheckParams) Validate added in v2.2.0

func (m *MysqlCheckParams) Validate(formats strfmt.Registry) error

Validate validates this mysql check params

type Nameserver

type Nameserver struct {

	// address
	// Required: true
	// Pattern: ^[^\s]+$
	Address *string `json:"address"`

	// name
	// Required: true
	// Pattern: ^[A-Za-z0-9-_.:]+$
	Name string `json:"name"`

	// port
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port,omitempty"`
}

Nameserver Nameserver

Nameserver used in Runtime DNS configuration

swagger:model nameserver

func (*Nameserver) MarshalBinary

func (m *Nameserver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Nameserver) UnmarshalBinary

func (m *Nameserver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Nameserver) Validate

func (m *Nameserver) Validate(formats strfmt.Registry) error

Validate validates this nameserver

type Nameservers

type Nameservers []*Nameserver

Nameservers Nameservers

Nameservers array

swagger:model nameservers

func (Nameservers) Validate

func (m Nameservers) Validate(formats strfmt.Registry) error

Validate validates this nameservers

type NativeStat

type NativeStat struct {

	// backend name
	BackendName string `json:"backend_name,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// stats
	Stats *NativeStatStats `json:"stats,omitempty"`

	// type
	// Enum: [backend server frontend]
	Type string `json:"type,omitempty"`
}

NativeStat Stats

Current stats for one object.

swagger:model native_stat

func (*NativeStat) MarshalBinary

func (m *NativeStat) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NativeStat) UnmarshalBinary

func (m *NativeStat) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NativeStat) Validate

func (m *NativeStat) Validate(formats strfmt.Registry) error

Validate validates this native stat

type NativeStatStats

type NativeStatStats struct {

	// act
	Act *int64 `json:"act,omitempty"`

	// addr
	Addr string `json:"addr,omitempty"`

	// agent code
	AgentCode *int64 `json:"agent_code,omitempty"`

	// agent desc
	AgentDesc string `json:"agent_desc,omitempty"`

	// agent duration
	AgentDuration *int64 `json:"agent_duration,omitempty"`

	// agent fall
	AgentFall *int64 `json:"agent_fall,omitempty"`

	// agent health
	AgentHealth *int64 `json:"agent_health,omitempty"`

	// agent rise
	AgentRise *int64 `json:"agent_rise,omitempty"`

	// agent status
	// Enum: [UNK INI SOCKERR L40K L4TOUT L4CON L7OK L7STS]
	AgentStatus string `json:"agent_status,omitempty"`

	// algo
	Algo string `json:"algo,omitempty"`

	// bck
	Bck *int64 `json:"bck,omitempty"`

	// bin
	Bin *int64 `json:"bin,omitempty"`

	// bout
	Bout *int64 `json:"bout,omitempty"`

	// check code
	CheckCode *int64 `json:"check_code,omitempty"`

	// check desc
	CheckDesc string `json:"check_desc,omitempty"`

	// check duration
	CheckDuration *int64 `json:"check_duration,omitempty"`

	// check fall
	CheckFall *int64 `json:"check_fall,omitempty"`

	// check health
	CheckHealth *int64 `json:"check_health,omitempty"`

	// check rise
	CheckRise *int64 `json:"check_rise,omitempty"`

	// check status
	// Enum: [UNK INI SOCKERR L40K L4TOUT L4CON L6OK L6TOUT L6RSP L7OK L7OKC L7TOUT L7RSP L7STS]
	CheckStatus string `json:"check_status,omitempty"`

	// chkdown
	Chkdown *int64 `json:"chkdown,omitempty"`

	// chkfail
	Chkfail *int64 `json:"chkfail,omitempty"`

	// cli abrt
	CliAbrt *int64 `json:"cli_abrt,omitempty"`

	// comp byp
	CompByp *int64 `json:"comp_byp,omitempty"`

	// comp in
	CompIn *int64 `json:"comp_in,omitempty"`

	// comp out
	CompOut *int64 `json:"comp_out,omitempty"`

	// comp rsp
	CompRsp *int64 `json:"comp_rsp,omitempty"`

	// conn rate
	ConnRate *int64 `json:"conn_rate,omitempty"`

	// conn rate max
	ConnRateMax *int64 `json:"conn_rate_max,omitempty"`

	// conn tot
	ConnTot *int64 `json:"conn_tot,omitempty"`

	// cookie
	Cookie string `json:"cookie,omitempty"`

	// ctime
	Ctime *int64 `json:"ctime,omitempty"`

	// dcon
	Dcon *int64 `json:"dcon,omitempty"`

	// downtime
	Downtime *int64 `json:"downtime,omitempty"`

	// dreq
	Dreq *int64 `json:"dreq,omitempty"`

	// dresp
	Dresp *int64 `json:"dresp,omitempty"`

	// dses
	Dses *int64 `json:"dses,omitempty"`

	// econ
	Econ *int64 `json:"econ,omitempty"`

	// ereq
	Ereq *int64 `json:"ereq,omitempty"`

	// eresp
	Eresp *int64 `json:"eresp,omitempty"`

	// hanafail
	Hanafail string `json:"hanafail,omitempty"`

	// hrsp 1xx
	Hrsp1xx *int64 `json:"hrsp_1xx,omitempty"`

	// hrsp 2xx
	Hrsp2xx *int64 `json:"hrsp_2xx,omitempty"`

	// hrsp 3xx
	Hrsp3xx *int64 `json:"hrsp_3xx,omitempty"`

	// hrsp 4xx
	Hrsp4xx *int64 `json:"hrsp_4xx,omitempty"`

	// hrsp 5xx
	Hrsp5xx *int64 `json:"hrsp_5xx,omitempty"`

	// hrsp other
	HrspOther *int64 `json:"hrsp_other,omitempty"`

	// iid
	Iid *int64 `json:"iid,omitempty"`

	// intercepted
	Intercepted *int64 `json:"intercepted,omitempty"`

	// lastchg
	Lastchg *int64 `json:"lastchg,omitempty"`

	// lastsess
	Lastsess *int64 `json:"lastsess,omitempty"`

	// lbtot
	Lbtot *int64 `json:"lbtot,omitempty"`

	// mode
	// Enum: [tcp http health unknown]
	Mode string `json:"mode,omitempty"`

	// pid
	Pid *int64 `json:"pid,omitempty"`

	// qcur
	Qcur *int64 `json:"qcur,omitempty"`

	// qlimit
	Qlimit *int64 `json:"qlimit,omitempty"`

	// qmax
	Qmax *int64 `json:"qmax,omitempty"`

	// qtime
	Qtime *int64 `json:"qtime,omitempty"`

	// rate
	Rate *int64 `json:"rate,omitempty"`

	// rate lim
	RateLim *int64 `json:"rate_lim,omitempty"`

	// rate max
	RateMax *int64 `json:"rate_max,omitempty"`

	// req rate
	ReqRate *int64 `json:"req_rate,omitempty"`

	// req rate max
	ReqRateMax *int64 `json:"req_rate_max,omitempty"`

	// req tot
	ReqTot *int64 `json:"req_tot,omitempty"`

	// rtime
	Rtime *int64 `json:"rtime,omitempty"`

	// scur
	Scur *int64 `json:"scur,omitempty"`

	// sid
	Sid *int64 `json:"sid,omitempty"`

	// slim
	Slim *int64 `json:"slim,omitempty"`

	// smax
	Smax *int64 `json:"smax,omitempty"`

	// srv abrt
	SrvAbrt *int64 `json:"srv_abrt,omitempty"`

	// status
	// Enum: [UP DOWN NOLB MAINT no check]
	Status string `json:"status,omitempty"`

	// stot
	Stot *int64 `json:"stot,omitempty"`

	// throttle
	Throttle *int64 `json:"throttle,omitempty"`

	// tracked
	Tracked string `json:"tracked,omitempty"`

	// ttime
	Ttime *int64 `json:"ttime,omitempty"`

	// weight
	Weight *int64 `json:"weight,omitempty"`

	// wredis
	Wredis *int64 `json:"wredis,omitempty"`

	// wretr
	Wretr *int64 `json:"wretr,omitempty"`
}

NativeStatStats native stat stats

swagger:model native_stat_stats

func (*NativeStatStats) MarshalBinary

func (m *NativeStatStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NativeStatStats) UnmarshalBinary

func (m *NativeStatStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NativeStatStats) Validate

func (m *NativeStatStats) Validate(formats strfmt.Registry) error

Validate validates this native stat stats

type NativeStats

type NativeStats []*NativeStatsCollection

NativeStats Stats Array

HAProxy stats array

swagger:model native_stats

func (NativeStats) Validate

func (m NativeStats) Validate(formats strfmt.Registry) error

Validate validates this native stats

type NativeStatsCollection

type NativeStatsCollection struct {

	// error
	Error string `json:"error,omitempty"`

	// runtime API
	RuntimeAPI string `json:"runtimeAPI,omitempty"`

	// stats
	Stats []*NativeStat `json:"stats"`
}

NativeStatsCollection Stats collection

Stats from one runtime API

swagger:model native_stats_collection

func (*NativeStatsCollection) MarshalBinary

func (m *NativeStatsCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NativeStatsCollection) UnmarshalBinary

func (m *NativeStatsCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NativeStatsCollection) Validate

func (m *NativeStatsCollection) Validate(formats strfmt.Registry) error

Validate validates this native stats collection

type PeerEntries

type PeerEntries []*PeerEntry

PeerEntries Peer entries

HAProxy peer entries array

swagger:model peer_entries

func (PeerEntries) Validate

func (m PeerEntries) Validate(formats strfmt.Registry) error

Validate validates this peer entries

type PeerEntry

type PeerEntry struct {

	// address
	// Required: true
	// Pattern: ^[^\s]+$
	Address *string `json:"address"`

	// name
	// Required: true
	// Pattern: ^[A-Za-z0-9-_.:]+$
	Name string `json:"name"`

	// port
	// Required: true
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port"`
}

PeerEntry Peer Entry

Peer Entry from peers table

swagger:model peer_entry

func (*PeerEntry) MarshalBinary

func (m *PeerEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeerEntry) UnmarshalBinary

func (m *PeerEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeerEntry) Validate

func (m *PeerEntry) Validate(formats strfmt.Registry) error

Validate validates this peer entry

type PeerSection

type PeerSection struct {

	// name
	// Required: true
	// Pattern: ^[A-Za-z0-9-_.:]+$
	Name string `json:"name"`
}

PeerSection Peer Section

HAProxy peer_section configuration

swagger:model peer_section

func (*PeerSection) MarshalBinary

func (m *PeerSection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PeerSection) UnmarshalBinary

func (m *PeerSection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PeerSection) Validate

func (m *PeerSection) Validate(formats strfmt.Registry) error

Validate validates this peer section

type PeerSections

type PeerSections []*PeerSection

PeerSections Peer_Section

HAProxy peer_section array

swagger:model peer_sections

func (PeerSections) Validate

func (m PeerSections) Validate(formats strfmt.Registry) error

Validate validates this peer sections

type PgsqlCheckParams added in v2.2.0

type PgsqlCheckParams struct {

	// username
	Username string `json:"username,omitempty"`
}

PgsqlCheckParams pgsql check params

swagger:model pgsql_check_params

func (*PgsqlCheckParams) MarshalBinary added in v2.2.0

func (m *PgsqlCheckParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PgsqlCheckParams) UnmarshalBinary added in v2.2.0

func (m *PgsqlCheckParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PgsqlCheckParams) Validate added in v2.2.0

func (m *PgsqlCheckParams) Validate(formats strfmt.Registry) error

Validate validates this pgsql check params

type ProcessInfo

type ProcessInfo struct {

	// error
	Error string `json:"error,omitempty"`

	// info
	Info *ProcessInfoItem `json:"info,omitempty"`

	// runtime API
	RuntimeAPI string `json:"runtimeAPI,omitempty"`
}

ProcessInfo process info

swagger:model process_info

func (*ProcessInfo) MarshalBinary

func (m *ProcessInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProcessInfo) UnmarshalBinary

func (m *ProcessInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProcessInfo) Validate

func (m *ProcessInfo) Validate(formats strfmt.Registry) error

Validate validates this process info

type ProcessInfoItem

type ProcessInfoItem struct {

	// active peers
	ActivePeers *int64 `json:"active_peers,omitempty"`

	// busy polling
	BusyPolling *int64 `json:"busy_polling,omitempty"`

	// bytes out rate
	BytesOutRate *int64 `json:"bytes_out_rate,omitempty"`

	// compress bps in
	CompressBpsIn *int64 `json:"compress_bps_in,omitempty"`

	// compress bps out
	CompressBpsOut *int64 `json:"compress_bps_out,omitempty"`

	// compress bps rate lim
	CompressBpsRateLim *int64 `json:"compress_bps_rate_lim,omitempty"`

	// conn rate
	ConnRate *int64 `json:"conn_rate,omitempty"`

	// conn rate limit
	ConnRateLimit *int64 `json:"conn_rate_limit,omitempty"`

	// connected peers
	ConnectedPeers *int64 `json:"connected_peers,omitempty"`

	// cum conns
	CumConns *int64 `json:"cum_conns,omitempty"`

	// cum req
	CumReq *int64 `json:"cum_req,omitempty"`

	// cum ssl conns
	CumSslConns *int64 `json:"cum_ssl_conns,omitempty"`

	// curr conns
	CurrConns *int64 `json:"curr_conns,omitempty"`

	// curr ssl conns
	CurrSslConns *int64 `json:"curr_ssl_conns,omitempty"`

	// dropped logs
	DroppedLogs *int64 `json:"dropped_logs,omitempty"`

	// failed resolutions
	FailedResolutions *int64 `json:"failed_resolutions,omitempty"`

	// hard max conn
	HardMaxConn *int64 `json:"hard_max_conn,omitempty"`

	// idle pct
	IdlePct *int64 `json:"idle_pct,omitempty"`

	// jobs
	Jobs *int64 `json:"jobs,omitempty"`

	// listeners
	Listeners *int64 `json:"listeners,omitempty"`

	// max conn
	MaxConn *int64 `json:"max_conn,omitempty"`

	// max conn rate
	MaxConnRate *int64 `json:"max_conn_rate,omitempty"`

	// max pipes
	MaxPipes *int64 `json:"max_pipes,omitempty"`

	// max sess rate
	MaxSessRate *int64 `json:"max_sess_rate,omitempty"`

	// max sock
	MaxSock *int64 `json:"max_sock,omitempty"`

	// max ssl conns
	MaxSslConns *int64 `json:"max_ssl_conns,omitempty"`

	// max ssl rate
	MaxSslRate *int64 `json:"max_ssl_rate,omitempty"`

	// max zlib mem usage
	MaxZlibMemUsage *int64 `json:"max_zlib_mem_usage,omitempty"`

	// mem max mb
	MemMaxMb *int64 `json:"mem_max_mb,omitempty"`

	// Number of threads
	Nbthread *int64 `json:"nbthread,omitempty"`

	// node
	Node string `json:"node,omitempty"`

	// Process id of the replying worker process
	Pid *int64 `json:"pid,omitempty"`

	// pipes free
	PipesFree *int64 `json:"pipes_free,omitempty"`

	// pipes used
	PipesUsed *int64 `json:"pipes_used,omitempty"`

	// pool alloc mb
	PoolAllocMb *int64 `json:"pool_alloc_mb,omitempty"`

	// pool failed
	PoolFailed *int64 `json:"pool_failed,omitempty"`

	// pool used mb
	PoolUsedMb *int64 `json:"pool_used_mb,omitempty"`

	// Process number
	ProcessNum *int64 `json:"process_num,omitempty"`

	// Number of spawned processes
	Processes *int64 `json:"processes,omitempty"`

	// HAProxy version release date
	// Format: date
	ReleaseDate strfmt.Date `json:"release_date,omitempty"`

	// run queue
	RunQueue *int64 `json:"run_queue,omitempty"`

	// sess rate
	SessRate *int64 `json:"sess_rate,omitempty"`

	// sess rate limit
	SessRateLimit *int64 `json:"sess_rate_limit,omitempty"`

	// ssl backend key rate
	SslBackendKeyRate *int64 `json:"ssl_backend_key_rate,omitempty"`

	// ssl backend max key rate
	SslBackendMaxKeyRate *int64 `json:"ssl_backend_max_key_rate,omitempty"`

	// ssl cache lookups
	SslCacheLookups *int64 `json:"ssl_cache_lookups,omitempty"`

	// ssl cache misses
	SslCacheMisses *int64 `json:"ssl_cache_misses,omitempty"`

	// ssl frontend key rate
	SslFrontendKeyRate *int64 `json:"ssl_frontend_key_rate,omitempty"`

	// ssl frontend max key rate
	SslFrontendMaxKeyRate *int64 `json:"ssl_frontend_max_key_rate,omitempty"`

	// ssl frontend session reuse
	SslFrontendSessionReuse *int64 `json:"ssl_frontend_session_reuse,omitempty"`

	// ssl rate
	SslRate *int64 `json:"ssl_rate,omitempty"`

	// ssl rate limit
	SslRateLimit *int64 `json:"ssl_rate_limit,omitempty"`

	// stopping
	Stopping *int64 `json:"stopping,omitempty"`

	// tasks
	Tasks *int64 `json:"tasks,omitempty"`

	// total bytes out
	TotalBytesOut *int64 `json:"total_bytes_out,omitempty"`

	// ulimit n
	Ulimitn *int64 `json:"ulimit_n,omitempty"`

	// unstoppable
	Unstoppable *int64 `json:"unstoppable,omitempty"`

	// HAProxy uptime in s
	Uptime *int64 `json:"uptime,omitempty"`

	// HAProxy version string
	Version string `json:"version,omitempty"`

	// zlib mem usage
	ZlibMemUsage *int64 `json:"zlib_mem_usage,omitempty"`
}

ProcessInfoItem process info item

swagger:model process_info_item

func (*ProcessInfoItem) MarshalBinary

func (m *ProcessInfoItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProcessInfoItem) UnmarshalBinary

func (m *ProcessInfoItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProcessInfoItem) Validate

func (m *ProcessInfoItem) Validate(formats strfmt.Registry) error

Validate validates this process info item

type ProcessInfos

type ProcessInfos []*ProcessInfo

ProcessInfos HAProxy Information

General HAProxy process information

swagger:model process_infos

func (ProcessInfos) Validate

func (m ProcessInfos) Validate(formats strfmt.Registry) error

Validate validates this process infos

type Redispatch

type Redispatch struct {

	// enabled
	// Required: true
	// Enum: [enabled disabled]
	Enabled *string `json:"enabled"`

	// interval
	Interval int64 `json:"interval,omitempty"`
}

Redispatch redispatch

swagger:model redispatch

func (*Redispatch) MarshalBinary

func (m *Redispatch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Redispatch) UnmarshalBinary

func (m *Redispatch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Redispatch) Validate

func (m *Redispatch) Validate(formats strfmt.Registry) error

Validate validates this redispatch

type Reload

type Reload struct {

	// id
	// Pattern: ^\d{4}-\d{2}-\d{2}-\d+$
	ID string `json:"id,omitempty"`

	// reload timestamp
	ReloadTimestamp int64 `json:"reload_timestamp,omitempty"`

	// response
	Response string `json:"response,omitempty"`

	// status
	// Enum: [failed in_progress succeeded]
	Status string `json:"status,omitempty"`
}

Reload HAProxy reload

HAProxy reload

swagger:model reload

func (*Reload) MarshalBinary

func (m *Reload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Reload) UnmarshalBinary

func (m *Reload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Reload) Validate

func (m *Reload) Validate(formats strfmt.Registry) error

Validate validates this reload

type Reloads

type Reloads []*Reload

Reloads HAProxy Reloads Array

HAProxy reloads array

swagger:model reloads

func (Reloads) Validate

func (m Reloads) Validate(formats strfmt.Registry) error

Validate validates this reloads

type Resolver

type Resolver struct {

	// accepted payload size
	// Maximum: 8192
	// Minimum: 512
	AcceptedPayloadSize int64 `json:"accepted_payload_size,omitempty"`

	// hold nx
	HoldNx *int64 `json:"hold_nx,omitempty"`

	// hold obsolete
	HoldObsolete *int64 `json:"hold_obsolete,omitempty"`

	// hold other
	HoldOther *int64 `json:"hold_other,omitempty"`

	// hold refused
	HoldRefused *int64 `json:"hold_refused,omitempty"`

	// hold timeout
	HoldTimeout *int64 `json:"hold_timeout,omitempty"`

	// hold valid
	HoldValid *int64 `json:"hold_valid,omitempty"`

	// name
	// Required: true
	// Pattern: ^[A-Za-z0-9-_.:]+$
	Name string `json:"name"`

	// parse resolv conf
	ParseResolvConf bool `json:"parse-resolv-conf,omitempty"`

	// resolve retries
	// Minimum: 1
	ResolveRetries int64 `json:"resolve_retries,omitempty"`

	// timeout resolve
	TimeoutResolve int64 `json:"timeout_resolve,omitempty"`

	// timeout retry
	TimeoutRetry int64 `json:"timeout_retry,omitempty"`
}

Resolver Resolver

Runtime DNS configuration

swagger:model resolver

func (*Resolver) MarshalBinary

func (m *Resolver) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Resolver) UnmarshalBinary

func (m *Resolver) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Resolver) Validate

func (m *Resolver) Validate(formats strfmt.Registry) error

Validate validates this resolver

type Resolvers

type Resolvers []*Resolver

Resolvers Resolvers

HAProxy resolvers array

swagger:model resolvers

func (Resolvers) Validate

func (m Resolvers) Validate(formats strfmt.Registry) error

Validate validates this resolvers

type RuntimeAPI

type RuntimeAPI struct {

	// address
	// Required: true
	// Pattern: ^[^\s]+$
	Address *string `json:"address"`

	// expose fd listeners
	ExposeFdListeners bool `json:"exposeFdListeners,omitempty"`

	// level
	// Enum: [user operator admin]
	Level string `json:"level,omitempty"`

	// mode
	// Pattern: ^[^\s]+$
	Mode string `json:"mode,omitempty"`

	// process
	// Pattern: ^[^\s]+$
	Process string `json:"process,omitempty"`
}

RuntimeAPI runtime API

swagger:model RuntimeAPI

func (*RuntimeAPI) MarshalBinary

func (m *RuntimeAPI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RuntimeAPI) UnmarshalBinary

func (m *RuntimeAPI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RuntimeAPI) Validate

func (m *RuntimeAPI) Validate(formats strfmt.Registry) error

Validate validates this runtime API

type RuntimeServer

type RuntimeServer struct {

	// address
	// Read Only: true
	// Pattern: ^[^\s]+$
	Address string `json:"address,omitempty"`

	// admin state
	// Enum: [ready maint drain]
	AdminState string `json:"admin_state,omitempty"`

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// operational state
	// Enum: [up down stopping]
	OperationalState string `json:"operational_state,omitempty"`

	// port
	// Read Only: true
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port,omitempty"`
}

RuntimeServer Runtime Server

Runtime transient server properties

swagger:model runtime_server

func (*RuntimeServer) MarshalBinary

func (m *RuntimeServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RuntimeServer) UnmarshalBinary

func (m *RuntimeServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RuntimeServer) Validate

func (m *RuntimeServer) Validate(formats strfmt.Registry) error

Validate validates this runtime server

type RuntimeServers

type RuntimeServers []*RuntimeServer

RuntimeServers HAProxy Runtime Servers Array

HAProxy runtime servers array

swagger:model runtime_servers

func (RuntimeServers) Validate

func (m RuntimeServers) Validate(formats strfmt.Registry) error

Validate validates this runtime servers

type Server

type Server struct {

	// address
	// Pattern: ^[^\s]+$
	Address string `json:"address,omitempty"`

	// agent addr
	// Pattern: ^[^\s]+$
	AgentAddr string `json:"agent-addr,omitempty"`

	// agent check
	// Enum: [enabled disabled]
	AgentCheck string `json:"agent-check,omitempty"`

	// agent inter
	AgentInter *int64 `json:"agent-inter,omitempty"`

	// agent port
	// Maximum: 65535
	// Minimum: 1
	AgentPort *int64 `json:"agent-port,omitempty"`

	// agent send
	AgentSend string `json:"agent-send,omitempty"`

	// allow 0rtt
	Allow0rtt bool `json:"allow_0rtt,omitempty"`

	// alpn
	// Pattern: ^[^\s]+$
	Alpn string `json:"alpn,omitempty"`

	// backup
	// Enum: [enabled disabled]
	Backup string `json:"backup,omitempty"`

	// check
	// Enum: [enabled disabled]
	Check string `json:"check,omitempty"`

	// check sni
	// Pattern: ^[^\s]+$
	CheckSni string `json:"check-sni,omitempty"`

	// check ssl
	// Enum: [enabled disabled]
	CheckSsl string `json:"check-ssl,omitempty"`

	// check alpn
	// Pattern: ^[^\s]+$
	CheckAlpn string `json:"check_alpn,omitempty"`

	// check proto
	// Pattern: ^[^\s]+$
	CheckProto string `json:"check_proto,omitempty"`

	// check via socks4
	// Enum: [enabled disabled]
	CheckViaSocks4 string `json:"check_via_socks4,omitempty"`

	// ciphers
	Ciphers string `json:"ciphers,omitempty"`

	// ciphersuites
	Ciphersuites string `json:"ciphersuites,omitempty"`

	// cookie
	// Pattern: ^[^\s]+$
	Cookie string `json:"cookie,omitempty"`

	// crl file
	CrlFile string `json:"crl_file,omitempty"`

	// downinter
	Downinter *int64 `json:"downinter,omitempty"`

	// error limit
	ErrorLimit int64 `json:"error_limit,omitempty"`

	// fall
	Fall *int64 `json:"fall,omitempty"`

	// fastinter
	Fastinter *int64 `json:"fastinter,omitempty"`

	// force sslv3
	// Enum: [enabled disabled]
	ForceSslv3 string `json:"force_sslv3,omitempty"`

	// force tlsv10
	// Enum: [enabled disabled]
	ForceTlsv10 string `json:"force_tlsv10,omitempty"`

	// force tlsv11
	// Enum: [enabled disabled]
	ForceTlsv11 string `json:"force_tlsv11,omitempty"`

	// force tlsv12
	// Enum: [enabled disabled]
	ForceTlsv12 string `json:"force_tlsv12,omitempty"`

	// force tlsv13
	// Enum: [enabled disabled]
	ForceTlsv13 string `json:"force_tlsv13,omitempty"`

	// health check port
	// Maximum: 65535
	// Minimum: 1
	HealthCheckPort *int64 `json:"health_check_port,omitempty"`

	// id
	ID *int64 `json:"id,omitempty"`

	// init addr
	// Pattern: ^[^\s]+$
	InitAddr *string `json:"init-addr,omitempty"`

	// inter
	Inter *int64 `json:"inter,omitempty"`

	// log proto
	// Enum: [legacy octet-count]
	LogProto string `json:"log_proto,omitempty"`

	// maintenance
	// Enum: [enabled disabled]
	Maintenance string `json:"maintenance,omitempty"`

	// max reuse
	MaxReuse *int64 `json:"max_reuse,omitempty"`

	// maxconn
	Maxconn *int64 `json:"maxconn,omitempty"`

	// maxqueue
	Maxqueue *int64 `json:"maxqueue,omitempty"`

	// minconn
	Minconn *int64 `json:"minconn,omitempty"`

	// name
	// Required: true
	// Pattern: ^[^\s]+$
	Name string `json:"name"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// no sslv3
	// Enum: [enabled disabled]
	NoSslv3 string `json:"no_sslv3,omitempty"`

	// no tlsv10
	// Enum: [enabled disabled]
	NoTlsv10 string `json:"no_tlsv10,omitempty"`

	// no tlsv11
	// Enum: [enabled disabled]
	NoTlsv11 string `json:"no_tlsv11,omitempty"`

	// no tlsv12
	// Enum: [enabled disabled]
	NoTlsv12 string `json:"no_tlsv12,omitempty"`

	// no tlsv13
	// Enum: [enabled disabled]
	NoTlsv13 string `json:"no_tlsv13,omitempty"`

	// no verifyhost
	// Enum: [enabled disabled]
	NoVerifyhost string `json:"no_verifyhost,omitempty"`

	// npn
	Npn string `json:"npn,omitempty"`

	// observe
	// Enum: [layer4 layer7]
	Observe string `json:"observe,omitempty"`

	// on error
	// Enum: [fastinter fail-check sudden-death mark-down]
	OnError string `json:"on-error,omitempty"`

	// on marked down
	// Enum: [shutdown-sessions]
	OnMarkedDown string `json:"on-marked-down,omitempty"`

	// on marked up
	// Enum: [shutdown-backup-sessions]
	OnMarkedUp string `json:"on-marked-up,omitempty"`

	// pool low conn
	PoolLowConn *int64 `json:"pool_low_conn,omitempty"`

	// pool max conn
	PoolMaxConn *int64 `json:"pool_max_conn,omitempty"`

	// pool purge delay
	PoolPurgeDelay *int64 `json:"pool_purge_delay,omitempty"`

	// port
	// Maximum: 65535
	// Minimum: 1
	Port *int64 `json:"port,omitempty"`

	// proto
	// Pattern: ^[^\s]+$
	Proto string `json:"proto,omitempty"`

	// proxy v2 options
	ProxyV2Options []string `json:"proxy-v2-options"`

	// redir
	Redir string `json:"redir,omitempty"`

	// resolve net
	// Pattern: ^[^,\s][^\,]*[^,\s]*$
	ResolveNet string `json:"resolve-net,omitempty"`

	// resolve prefer
	// Enum: [ipv4 ipv6]
	ResolvePrefer string `json:"resolve-prefer,omitempty"`

	// resolve opts
	// Pattern: ^[^,\s][^\,]*[^,\s]*$
	ResolveOpts string `json:"resolve_opts,omitempty"`

	// resolvers
	// Pattern: ^[^\s]+$
	Resolvers string `json:"resolvers,omitempty"`

	// rise
	Rise *int64 `json:"rise,omitempty"`

	// send proxy
	// Enum: [enabled disabled]
	SendProxy string `json:"send-proxy,omitempty"`

	// send proxy v2
	// Enum: [enabled disabled]
	SendProxyV2 string `json:"send-proxy-v2,omitempty"`

	// send proxy v2 ssl
	// Enum: [enabled disabled]
	SendProxyV2Ssl string `json:"send_proxy_v2_ssl,omitempty"`

	// send proxy v2 ssl cn
	// Enum: [enabled disabled]
	SendProxyV2SslCn string `json:"send_proxy_v2_ssl_cn,omitempty"`

	// slowstart
	Slowstart *int64 `json:"slowstart,omitempty"`

	// sni
	// Pattern: ^[^\s]+$
	Sni string `json:"sni,omitempty"`

	// socks4
	// Pattern: ^[^\s]+$
	Socks4 string `json:"socks4,omitempty"`

	// source
	Source string `json:"source,omitempty"`

	// ssl
	// Enum: [enabled disabled]
	Ssl string `json:"ssl,omitempty"`

	// ssl cafile
	// Pattern: ^[^\s]+$
	SslCafile string `json:"ssl_cafile,omitempty"`

	// ssl certificate
	// Pattern: ^[^\s]+$
	SslCertificate string `json:"ssl_certificate,omitempty"`

	// ssl max ver
	// Enum: [SSLv3 TLSv1.0 TLSv1.1 TLSv1.2 TLSv1.3]
	SslMaxVer string `json:"ssl_max_ver,omitempty"`

	// ssl min ver
	// Enum: [SSLv3 TLSv1.0 TLSv1.1 TLSv1.2 TLSv1.3]
	SslMinVer string `json:"ssl_min_ver,omitempty"`

	// ssl reuse
	// Enum: [enabled disabled]
	SslReuse string `json:"ssl_reuse,omitempty"`

	// stick
	// Enum: [enabled disabled]
	Stick string `json:"stick,omitempty"`

	// tcp ut
	TCPUt int64 `json:"tcp_ut,omitempty"`

	// tfo
	// Enum: [enabled disabled]
	Tfo string `json:"tfo,omitempty"`

	// tls tickets
	// Enum: [enabled disabled]
	TLSTickets string `json:"tls_tickets,omitempty"`

	// track
	Track string `json:"track,omitempty"`

	// verify
	// Enum: [none required]
	Verify string `json:"verify,omitempty"`

	// verifyhost
	Verifyhost string `json:"verifyhost,omitempty"`

	// weight
	Weight *int64 `json:"weight,omitempty"`
}

Server Server

HAProxy backend server configuration

swagger:model server

func (*Server) MarshalBinary

func (m *Server) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Server) UnmarshalBinary

func (m *Server) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Server) Validate

func (m *Server) Validate(formats strfmt.Registry) error

Validate validates this server

type ServerSwitchingRule

type ServerSwitchingRule struct {

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// target server
	// Required: true
	// Pattern: ^[^\s]+$
	TargetServer string `json:"target_server"`
}

ServerSwitchingRule Server Switching Rule

HAProxy server switching rule configuration (corresponds to use-server directive)

swagger:model server_switching_rule

func (*ServerSwitchingRule) MarshalBinary

func (m *ServerSwitchingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerSwitchingRule) UnmarshalBinary

func (m *ServerSwitchingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerSwitchingRule) Validate

func (m *ServerSwitchingRule) Validate(formats strfmt.Registry) error

Validate validates this server switching rule

type ServerSwitchingRules

type ServerSwitchingRules []*ServerSwitchingRule

ServerSwitchingRules Server Switching Rules Array

HAProxy backend server switching rules array (corresponds to use-server directives)

swagger:model server_switching_rules

func (ServerSwitchingRules) Validate

func (m ServerSwitchingRules) Validate(formats strfmt.Registry) error

Validate validates this server switching rules

type Servers

type Servers []*Server

Servers Servers

HAProxy backend servers array

swagger:model servers

func (Servers) Validate

func (m Servers) Validate(formats strfmt.Registry) error

Validate validates this servers

type Site

type Site struct {

	// farms
	Farms []*SiteFarm `json:"farms"`

	// name
	// Required: true
	// Pattern: ^[A-Za-z0-9-_.:]+$
	Name string `json:"name"`

	// service
	Service *SiteService `json:"service,omitempty"`
}

Site Site

Site configuration. Sites are considered as one service and all farms connected to that service. Farms are connected to service using use-backend and default_backend directives. Sites let you configure simple HAProxy configurations, for more advanced options use /haproxy/configuration endpoints.

swagger:model site

func (*Site) MarshalBinary

func (m *Site) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Site) UnmarshalBinary

func (m *Site) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Site) Validate

func (m *Site) Validate(formats strfmt.Registry) error

Validate validates this site

type SiteFarm

type SiteFarm struct {

	// balance
	Balance *Balance `json:"balance,omitempty"`

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// forwardfor
	Forwardfor *Forwardfor `json:"forwardfor,omitempty"`

	// mode
	// Enum: [http tcp]
	Mode string `json:"mode,omitempty"`

	// name
	// Required: true
	// Pattern: ^[A-Za-z0-9-_.:]+$
	Name string `json:"name"`

	// servers
	Servers []*Server `json:"servers"`

	// use as
	// Required: true
	// Enum: [default conditional]
	UseAs string `json:"use_as"`
}

SiteFarm site farm

swagger:model SiteFarm

func (*SiteFarm) MarshalBinary

func (m *SiteFarm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SiteFarm) UnmarshalBinary

func (m *SiteFarm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SiteFarm) Validate

func (m *SiteFarm) Validate(formats strfmt.Registry) error

Validate validates this site farm

type SiteService

type SiteService struct {

	// http connection mode
	// Enum: [http-tunnel httpclose forced-close http-server-close http-keep-alive]
	HTTPConnectionMode string `json:"http_connection_mode,omitempty"`

	// listeners
	Listeners []*Bind `json:"listeners"`

	// maxconn
	Maxconn *int64 `json:"maxconn,omitempty"`

	// mode
	// Enum: [http tcp]
	Mode string `json:"mode,omitempty"`
}

SiteService site service

swagger:model SiteService

func (*SiteService) MarshalBinary

func (m *SiteService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SiteService) UnmarshalBinary

func (m *SiteService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SiteService) Validate

func (m *SiteService) Validate(formats strfmt.Registry) error

Validate validates this site service

type Sites

type Sites []*Site

Sites Sites

Sites array. Sites are considered as one service and all farms connected to that service. Farms are connected to service using use-backend and default_backend directives. Sites let you configure simple HAProxy configurations, for more advanced options use /haproxy/configuration endpoints.

swagger:model sites

func (Sites) Validate

func (m Sites) Validate(formats strfmt.Registry) error

Validate validates this sites

type SmtpchkParams added in v2.2.0

type SmtpchkParams struct {

	// domain
	Domain string `json:"domain,omitempty"`

	// hello
	Hello string `json:"hello,omitempty"`
}

SmtpchkParams smtpchk params

swagger:model smtpchk_params

func (*SmtpchkParams) MarshalBinary added in v2.2.0

func (m *SmtpchkParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SmtpchkParams) UnmarshalBinary added in v2.2.0

func (m *SmtpchkParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SmtpchkParams) Validate added in v2.2.0

func (m *SmtpchkParams) Validate(formats strfmt.Registry) error

Validate validates this smtpchk params

type SpoeAgent added in v2.2.0

type SpoeAgent struct {

	// async
	// Enum: [enabled disabled]
	Async string `json:"async,omitempty"`

	// continue on error
	// Enum: [enabled]
	ContinueOnError string `json:"continue-on-error,omitempty"`

	// dontlog normal
	// Enum: [enabled disabled]
	DontlogNormal string `json:"dontlog-normal,omitempty"`

	// engine name
	EngineName string `json:"engine-name,omitempty"`

	// force set var
	// Enum: [enabled]
	ForceSetVar string `json:"force-set-var,omitempty"`

	// groups
	Groups string `json:"groups,omitempty"`

	// hello timeout
	HelloTimeout int64 `json:"hello_timeout,omitempty"`

	// idle timeout
	IdleTimeout int64 `json:"idle_timeout,omitempty"`

	// log
	Log LogTargets `json:"log,omitempty"`

	// max frame size
	MaxFrameSize int64 `json:"max-frame-size,omitempty"`

	// max waiting frames
	MaxWaitingFrames int64 `json:"max-waiting-frames,omitempty"`

	// maxconnrate
	Maxconnrate int64 `json:"maxconnrate,omitempty"`

	// maxerrrate
	Maxerrrate int64 `json:"maxerrrate,omitempty"`

	// messages
	Messages string `json:"messages,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// option set on error
	// Pattern: ^[A-Za-z0-9-_.]+$
	OptionSetOnError string `json:"option_set-on-error,omitempty"`

	// option set process time
	// Pattern: ^[A-Za-z0-9-_.]+$
	OptionSetProcessTime string `json:"option_set-process-time,omitempty"`

	// option set total time
	// Pattern: ^[A-Za-z0-9-_.]+$
	OptionSetTotalTime string `json:"option_set-total-time,omitempty"`

	// option var prefix
	// Pattern: ^[A-Za-z0-9-_.]+$
	OptionVarPrefix string `json:"option_var-prefix,omitempty"`

	// pipelining
	// Enum: [enabled disabled]
	Pipelining string `json:"pipelining,omitempty"`

	// processing timeout
	ProcessingTimeout int64 `json:"processing_timeout,omitempty"`

	// register var names
	RegisterVarNames string `json:"register-var-names,omitempty"`

	// send frag payload
	// Enum: [enabled disabled]
	SendFragPayload string `json:"send-frag-payload,omitempty"`

	// use backend
	UseBackend string `json:"use-backend,omitempty"`
}

SpoeAgent SPOE agent

SPOE agent configuration

swagger:model spoe_agent

func (*SpoeAgent) MarshalBinary added in v2.2.0

func (m *SpoeAgent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SpoeAgent) UnmarshalBinary added in v2.2.0

func (m *SpoeAgent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SpoeAgent) Validate added in v2.2.0

func (m *SpoeAgent) Validate(formats strfmt.Registry) error

Validate validates this spoe agent

type SpoeAgents added in v2.2.0

type SpoeAgents []*SpoeAgent

SpoeAgents SPOE Agents

SPOE Agents of one scope in SPOE file

swagger:model spoe_agents

func (SpoeAgents) Validate added in v2.2.0

func (m SpoeAgents) Validate(formats strfmt.Registry) error

Validate validates this spoe agents

type SpoeFiles added in v2.2.0

type SpoeFiles []string

SpoeFiles SPOE files

SPOE files

swagger:model spoe_files

func (SpoeFiles) Validate added in v2.2.0

func (m SpoeFiles) Validate(formats strfmt.Registry) error

Validate validates this spoe files

type SpoeGroup added in v2.2.0

type SpoeGroup struct {

	// messages
	Messages string `json:"messages,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`
}

SpoeGroup SPOE group

SPOE group section configuration

swagger:model spoe_group

func (*SpoeGroup) MarshalBinary added in v2.2.0

func (m *SpoeGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SpoeGroup) UnmarshalBinary added in v2.2.0

func (m *SpoeGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SpoeGroup) Validate added in v2.2.0

func (m *SpoeGroup) Validate(formats strfmt.Registry) error

Validate validates this spoe group

type SpoeGroups added in v2.2.0

type SpoeGroups []*SpoeGroup

SpoeGroups SPOE Groups

SPOE Groups of one scope in SPOE file

swagger:model spoe_groups

func (SpoeGroups) Validate added in v2.2.0

func (m SpoeGroups) Validate(formats strfmt.Registry) error

Validate validates this spoe groups

type SpoeMessage added in v2.2.0

type SpoeMessage struct {

	// acl
	ACL Acls `json:"acl,omitempty"`

	// args
	Args string `json:"args,omitempty"`

	// event
	Event *SpoeMessageEvent `json:"event,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`
}

SpoeMessage SPOE message

SPOE message section configuration

swagger:model spoe_message

func (*SpoeMessage) MarshalBinary added in v2.2.0

func (m *SpoeMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SpoeMessage) UnmarshalBinary added in v2.2.0

func (m *SpoeMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SpoeMessage) Validate added in v2.2.0

func (m *SpoeMessage) Validate(formats strfmt.Registry) error

Validate validates this spoe message

type SpoeMessageEvent added in v2.2.0

type SpoeMessageEvent struct {

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// name
	// Required: true
	// Enum: [on-client-session on-server-session on-frontend-tcp-request on-backend-tcp-request on-tcp-response on-frontend-http-request on-backend-http-request on-http-response]
	Name *string `json:"name"`
}

SpoeMessageEvent spoe message event

swagger:model SpoeMessageEvent

func (*SpoeMessageEvent) MarshalBinary added in v2.2.0

func (m *SpoeMessageEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SpoeMessageEvent) UnmarshalBinary added in v2.2.0

func (m *SpoeMessageEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SpoeMessageEvent) Validate added in v2.2.0

func (m *SpoeMessageEvent) Validate(formats strfmt.Registry) error

Validate validates this spoe message event

type SpoeMessages added in v2.2.0

type SpoeMessages []*SpoeMessage

SpoeMessages SPOE Messages

SPOE Messages of one scope in SPOE file

swagger:model spoe_messages

func (SpoeMessages) Validate added in v2.2.0

func (m SpoeMessages) Validate(formats strfmt.Registry) error

Validate validates this spoe messages

type SpoeScope added in v2.2.0

type SpoeScope string

SpoeScope SPOE scope

SPOE scope name

swagger:model spoe_scope

func (SpoeScope) Validate added in v2.2.0

func (m SpoeScope) Validate(formats strfmt.Registry) error

Validate validates this spoe scope

type SpoeScopes added in v2.2.0

type SpoeScopes []SpoeScope

SpoeScopes SPOE Scopes

All SPOE Scopes

swagger:model spoe_scopes

func (SpoeScopes) Validate added in v2.2.0

func (m SpoeScopes) Validate(formats strfmt.Registry) error

Validate validates this spoe scopes

type SpoeTransaction added in v2.2.0

type SpoeTransaction struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// id
	// Pattern: ^[^\s]+$
	ID string `json:"id,omitempty"`

	// status
	// Enum: [failed in_progress success]
	Status string `json:"status,omitempty"`
}

SpoeTransaction SPOE configuration transaction

SPOE configuration transaction

swagger:model spoe_transaction

func (*SpoeTransaction) MarshalBinary added in v2.2.0

func (m *SpoeTransaction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SpoeTransaction) UnmarshalBinary added in v2.2.0

func (m *SpoeTransaction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SpoeTransaction) Validate added in v2.2.0

func (m *SpoeTransaction) Validate(formats strfmt.Registry) error

Validate validates this spoe transaction

type SpoeTransactions added in v2.2.0

type SpoeTransactions []*SpoeTransaction

SpoeTransactions SPOE Transactions array

SPOE Configuration transactions array

swagger:model spoe_transactions

func (SpoeTransactions) Validate added in v2.2.0

func (m SpoeTransactions) Validate(formats strfmt.Registry) error

Validate validates this spoe transactions

type SslCertificate added in v2.2.0

type SslCertificate struct {

	// description
	Description string `json:"description,omitempty"`

	// file
	File string `json:"file,omitempty"`

	// storage name
	StorageName string `json:"storage_name,omitempty"`
}

SslCertificate SSL File

A file containing one or more SSL/TLS certificates and keys

swagger:model ssl_certificate

func (*SslCertificate) MarshalBinary added in v2.2.0

func (m *SslCertificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SslCertificate) UnmarshalBinary added in v2.2.0

func (m *SslCertificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SslCertificate) Validate added in v2.2.0

func (m *SslCertificate) Validate(formats strfmt.Registry) error

Validate validates this ssl certificate

type SslCertificates added in v2.2.0

type SslCertificates []*SslCertificate

SslCertificates SSL Files Array

Array of ssl certificate files

swagger:model ssl_certificates

func (SslCertificates) Validate added in v2.2.0

func (m SslCertificates) Validate(formats strfmt.Registry) error

Validate validates this ssl certificates

type StatsOptions

type StatsOptions struct {

	// stats enable
	StatsEnable bool `json:"stats_enable,omitempty"`

	// stats hide version
	StatsHideVersion bool `json:"stats_hide_version,omitempty"`

	// stats maxconn
	// Minimum: 1
	StatsMaxconn int64 `json:"stats_maxconn,omitempty"`

	// stats refresh delay
	StatsRefreshDelay *int64 `json:"stats_refresh_delay,omitempty"`

	// stats show desc
	StatsShowDesc *string `json:"stats_show_desc,omitempty"`

	// stats show legends
	StatsShowLegends bool `json:"stats_show_legends,omitempty"`

	// stats show node name
	// Pattern: ^[^\s]+$
	StatsShowNodeName *string `json:"stats_show_node_name,omitempty"`

	// stats uri prefix
	// Pattern: ^[^\s]+$
	StatsURIPrefix string `json:"stats_uri_prefix,omitempty"`
}

StatsOptions stats options

swagger:model stats_options

func (*StatsOptions) MarshalBinary

func (m *StatsOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StatsOptions) UnmarshalBinary

func (m *StatsOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StatsOptions) Validate

func (m *StatsOptions) Validate(formats strfmt.Registry) error

Validate validates this stats options

type StickRule

type StickRule struct {

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// pattern
	// Required: true
	// Pattern: ^[^\s]+$
	Pattern string `json:"pattern"`

	// table
	// Pattern: ^[^\s]+$
	Table string `json:"table,omitempty"`

	// type
	// Required: true
	// Enum: [match on store-request store-response]
	Type string `json:"type"`
}

StickRule Stick Rule

Define a pattern used to create an entry in a stickiness table or matching condition or associate a user to a server.

swagger:model stick_rule

func (*StickRule) MarshalBinary

func (m *StickRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StickRule) UnmarshalBinary

func (m *StickRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StickRule) Validate

func (m *StickRule) Validate(formats strfmt.Registry) error

Validate validates this stick rule

type StickRules

type StickRules []*StickRule

StickRules Stick Rules Array

HAProxy backend stick rules array (corresponds to stick store-request, stick match, stick on, stick store-response)

swagger:model stick_rules

func (StickRules) Validate

func (m StickRules) Validate(formats strfmt.Registry) error

Validate validates this stick rules

type StickTable

type StickTable struct {

	// fields
	Fields []*StickTableField `json:"fields"`

	// name
	Name string `json:"name,omitempty"`

	// Process number if master-worker mode
	Process *int64 `json:"process,omitempty"`

	// size
	Size *int64 `json:"size,omitempty"`

	// type
	// Enum: [ip ipv6 integer string binary]
	Type string `json:"type,omitempty"`

	// used
	Used *int64 `json:"used,omitempty"`
}

StickTable Stick Table

Stick Table Information

swagger:model stick_table

func (*StickTable) MarshalBinary

func (m *StickTable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StickTable) UnmarshalBinary

func (m *StickTable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StickTable) Validate

func (m *StickTable) Validate(formats strfmt.Registry) error

Validate validates this stick table

type StickTableEntries

type StickTableEntries []*StickTableEntry

StickTableEntries Stick Tables Entries

Entries of one runtime stick table

swagger:model stick_table_entries

func (StickTableEntries) Validate

func (m StickTableEntries) Validate(formats strfmt.Registry) error

Validate validates this stick table entries

type StickTableEntry

type StickTableEntry struct {

	// bytes in cnt
	BytesInCnt *int64 `json:"bytes_in_cnt,omitempty"`

	// bytes in rate
	BytesInRate *int64 `json:"bytes_in_rate,omitempty"`

	// bytes out cnt
	BytesOutCnt *int64 `json:"bytes_out_cnt,omitempty"`

	// bytes out rate
	BytesOutRate *int64 `json:"bytes_out_rate,omitempty"`

	// conn cnt
	ConnCnt *int64 `json:"conn_cnt,omitempty"`

	// conn cur
	ConnCur *int64 `json:"conn_cur,omitempty"`

	// conn rate
	ConnRate *int64 `json:"conn_rate,omitempty"`

	// exp
	Exp *int64 `json:"exp,omitempty"`

	// gpc0
	Gpc0 *int64 `json:"gpc0,omitempty"`

	// gpc0 rate
	Gpc0Rate *int64 `json:"gpc0_rate,omitempty"`

	// gpc1
	Gpc1 *int64 `json:"gpc1,omitempty"`

	// gpc1 rate
	Gpc1Rate *int64 `json:"gpc1_rate,omitempty"`

	// gpt0
	Gpt0 *int64 `json:"gpt0,omitempty"`

	// http err cnt
	HTTPErrCnt *int64 `json:"http_err_cnt,omitempty"`

	// http err rate
	HTTPErrRate *int64 `json:"http_err_rate,omitempty"`

	// http req cnt
	HTTPReqCnt *int64 `json:"http_req_cnt,omitempty"`

	// http req rate
	HTTPReqRate *int64 `json:"http_req_rate,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// server id
	ServerID *int64 `json:"server_id,omitempty"`

	// sess cnt
	SessCnt *int64 `json:"sess_cnt,omitempty"`

	// sess rate
	SessRate *int64 `json:"sess_rate,omitempty"`

	// use
	Use bool `json:"use,omitempty"`
}

StickTableEntry Stick Table Entry

One entry in stick table

swagger:model stick_table_entry

func (*StickTableEntry) MarshalBinary

func (m *StickTableEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StickTableEntry) UnmarshalBinary

func (m *StickTableEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StickTableEntry) Validate

func (m *StickTableEntry) Validate(formats strfmt.Registry) error

Validate validates this stick table entry

type StickTableField

type StickTableField struct {

	// field
	// Enum: [server_id gpc0 gpc0_rate gpc1 gpc1_rate gpt0 conn_cnt conn_cur conn_rate sess_cnt sess_rate http_req_cnt http_req_rate http_err_cnt http_err_rate bytes_in_cnt bytes_in_rate bytes_out_cnt bytes_out_rate]
	Field string `json:"field,omitempty"`

	// period
	Period int64 `json:"period,omitempty"`

	// type
	// Enum: [rate counter]
	Type string `json:"type,omitempty"`
}

StickTableField stick table field

swagger:model StickTableField

func (*StickTableField) MarshalBinary

func (m *StickTableField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StickTableField) UnmarshalBinary

func (m *StickTableField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StickTableField) Validate

func (m *StickTableField) Validate(formats strfmt.Registry) error

Validate validates this stick table field

type StickTables

type StickTables []*StickTable

StickTables Stick Tables Array

Array of runtime stick tables

swagger:model stick_tables

func (StickTables) Validate

func (m StickTables) Validate(formats strfmt.Registry) error

Validate validates this stick tables

type TCPRequestRule

type TCPRequestRule struct {

	// action
	// Enum: [accept capture do-resolve expect-netscaler-cip expect-proxy reject sc-inc-gpc0 sc-inc-gpc1 sc-set-gpt0 send-spoe-group set-dst-port set-dst set-priority set-src set-var silent-drop track-sc0 track-sc1 track-sc2 unset-var use-service lua]
	Action string `json:"action,omitempty"`

	// capture len
	CaptureLen int64 `json:"capture_len,omitempty"`

	// capture sample
	// Pattern: ^[^\s]+$
	CaptureSample string `json:"capture_sample,omitempty"`

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// expr
	Expr string `json:"expr,omitempty"`

	// gpt value
	GptValue string `json:"gpt_value,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// lua action
	// Pattern: ^[^\s]+$
	LuaAction string `json:"lua_action,omitempty"`

	// lua params
	LuaParams string `json:"lua_params,omitempty"`

	// priority type
	// Enum: [class offset]
	PriorityType string `json:"priority_type,omitempty"`

	// resolve protocol
	// Enum: [ipv4 ipv6]
	ResolveProtocol string `json:"resolve_protocol,omitempty"`

	// resolve resolvers
	ResolveResolvers string `json:"resolve_resolvers,omitempty"`

	// resolve var
	ResolveVar string `json:"resolve_var,omitempty"`

	// sc inc id
	ScIncID string `json:"sc_inc_id,omitempty"`

	// service name
	ServiceName string `json:"service_name,omitempty"`

	// spoe engine name
	SpoeEngineName string `json:"spoe_engine_name,omitempty"`

	// spoe group name
	SpoeGroupName string `json:"spoe_group_name,omitempty"`

	// timeout
	Timeout *int64 `json:"timeout,omitempty"`

	// track key
	TrackKey string `json:"track_key,omitempty"`

	// track table
	TrackTable string `json:"track_table,omitempty"`

	// type
	// Required: true
	// Enum: [connection content inspect-delay session]
	Type string `json:"type"`

	// var name
	// Pattern: ^[^\s]+$
	VarName string `json:"var_name,omitempty"`

	// var scope
	// Pattern: ^[^\s]+$
	VarScope string `json:"var_scope,omitempty"`
}

TCPRequestRule TCP Request Rule

HAProxy TCP Request Rule configuration (corresponds to tcp-request)

swagger:model tcp_request_rule

func (*TCPRequestRule) MarshalBinary

func (m *TCPRequestRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TCPRequestRule) UnmarshalBinary

func (m *TCPRequestRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TCPRequestRule) Validate

func (m *TCPRequestRule) Validate(formats strfmt.Registry) error

Validate validates this tcp request rule

type TCPRequestRules

type TCPRequestRules []*TCPRequestRule

TCPRequestRules TCP Request Rules Array

HAProxy TCP request rules array (corresponds to tcp-request directive)

swagger:model tcp_request_rules

func (TCPRequestRules) Validate

func (m TCPRequestRules) Validate(formats strfmt.Registry) error

Validate validates this tcp request rules

type TCPResponseRule

type TCPResponseRule struct {

	// action
	// Enum: [accept reject lua]
	Action string `json:"action,omitempty"`

	// cond
	// Enum: [if unless]
	Cond string `json:"cond,omitempty"`

	// cond test
	CondTest string `json:"cond_test,omitempty"`

	// index
	// Required: true
	Index *int64 `json:"index"`

	// lua action
	// Pattern: ^[^\s]+$
	LuaAction string `json:"lua_action,omitempty"`

	// lua params
	LuaParams string `json:"lua_params,omitempty"`

	// timeout
	Timeout *int64 `json:"timeout,omitempty"`

	// type
	// Required: true
	// Enum: [content inspect-delay]
	Type string `json:"type"`
}

TCPResponseRule TCP Response Rule

HAProxy TCP Response Rule configuration (corresponds to tcp-response)

swagger:model tcp_response_rule

func (*TCPResponseRule) MarshalBinary

func (m *TCPResponseRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TCPResponseRule) UnmarshalBinary

func (m *TCPResponseRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TCPResponseRule) Validate

func (m *TCPResponseRule) Validate(formats strfmt.Registry) error

Validate validates this tcp response rule

type TCPResponseRules

type TCPResponseRules []*TCPResponseRule

TCPResponseRules TCP Response Rules Array

HAProxy TCP response rules array (corresponds to tcp-response directive)

swagger:model tcp_response_rules

func (TCPResponseRules) Validate

func (m TCPResponseRules) Validate(formats strfmt.Registry) error

Validate validates this tcp response rules

type Transaction

type Transaction struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// id
	// Pattern: ^[^\s]+$
	ID string `json:"id,omitempty"`

	// status
	// Enum: [failed in_progress success]
	Status string `json:"status,omitempty"`
}

Transaction Configuration transaction

HAProxy configuration transaction

swagger:model transaction

func (*Transaction) MarshalBinary

func (m *Transaction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Transaction) UnmarshalBinary

func (m *Transaction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Transaction) Validate

func (m *Transaction) Validate(formats strfmt.Registry) error

Validate validates this transaction

type Transactions

type Transactions []*Transaction

Transactions Transactions array

Configuration transactions array

swagger:model transactions

func (Transactions) Validate

func (m Transactions) Validate(formats strfmt.Registry) error

Validate validates this transactions

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL