Documentation
¶
Overview ¶
Package genvalidators holds the machine-generated zero-allocation OpenAPI validators and hashers for every supported HAProxy DataPlane API version.
This package exists separately from pkg/dataplane/validators because its contents are auto-generated by cmd/gen-validators from OpenAPI specs and change in bulk every time the supported HAProxy versions change. Keeping them under pkg/generated/ matches the rest of the generated code layout and keeps them out of the coverage denominator (pkg/generated/ is excluded from COVERAGE_PACKAGES).
Callers should import pkg/dataplane/validators for the public API (ValidatorSet, Cache, ForVersion). This package is an implementation detail.
Index ¶
- func HashAclV30(m *models.ACL) uint64
- func HashAclV31(m *models.ACL) uint64
- func HashAclV32(m *models.ACL) uint64
- func HashAclV33(m *models.ACL) uint64
- func HashBackendSwitchingRuleV30(m *models.BackendSwitchingRule) uint64
- func HashBackendSwitchingRuleV31(m *models.BackendSwitchingRule) uint64
- func HashBackendSwitchingRuleV32(m *models.BackendSwitchingRule) uint64
- func HashBackendSwitchingRuleV33(m *models.BackendSwitchingRule) uint64
- func HashBindV30(m *models.Bind) uint64
- func HashBindV31(m *models.Bind) uint64
- func HashBindV32(m *models.Bind) uint64
- func HashBindV33(m *models.Bind) uint64
- func HashCaptureV30(m *models.Capture) uint64
- func HashCaptureV31(m *models.Capture) uint64
- func HashCaptureV32(m *models.Capture) uint64
- func HashCaptureV33(m *models.Capture) uint64
- func HashFilterV30(m *models.Filter) uint64
- func HashFilterV31(m *models.Filter) uint64
- func HashFilterV32(m *models.Filter) uint64
- func HashFilterV33(m *models.Filter) uint64
- func HashHttpAfterResponseRuleV30(m *models.HTTPAfterResponseRule) uint64
- func HashHttpAfterResponseRuleV31(m *models.HTTPAfterResponseRule) uint64
- func HashHttpAfterResponseRuleV32(m *models.HTTPAfterResponseRule) uint64
- func HashHttpAfterResponseRuleV33(m *models.HTTPAfterResponseRule) uint64
- func HashHttpCheckV30(m *models.HTTPCheck) uint64
- func HashHttpCheckV31(m *models.HTTPCheck) uint64
- func HashHttpCheckV32(m *models.HTTPCheck) uint64
- func HashHttpCheckV33(m *models.HTTPCheck) uint64
- func HashHttpErrorRuleV30(m *models.HTTPErrorRule) uint64
- func HashHttpErrorRuleV31(m *models.HTTPErrorRule) uint64
- func HashHttpErrorRuleV32(m *models.HTTPErrorRule) uint64
- func HashHttpErrorRuleV33(m *models.HTTPErrorRule) uint64
- func HashHttpRequestRuleV30(m *models.HTTPRequestRule) uint64
- func HashHttpRequestRuleV31(m *models.HTTPRequestRule) uint64
- func HashHttpRequestRuleV32(m *models.HTTPRequestRule) uint64
- func HashHttpRequestRuleV33(m *models.HTTPRequestRule) uint64
- func HashHttpResponseRuleV30(m *models.HTTPResponseRule) uint64
- func HashHttpResponseRuleV31(m *models.HTTPResponseRule) uint64
- func HashHttpResponseRuleV32(m *models.HTTPResponseRule) uint64
- func HashHttpResponseRuleV33(m *models.HTTPResponseRule) uint64
- func HashLogTargetV30(m *models.LogTarget) uint64
- func HashLogTargetV31(m *models.LogTarget) uint64
- func HashLogTargetV32(m *models.LogTarget) uint64
- func HashLogTargetV33(m *models.LogTarget) uint64
- func HashServerSwitchingRuleV30(m *models.ServerSwitchingRule) uint64
- func HashServerSwitchingRuleV31(m *models.ServerSwitchingRule) uint64
- func HashServerSwitchingRuleV32(m *models.ServerSwitchingRule) uint64
- func HashServerSwitchingRuleV33(m *models.ServerSwitchingRule) uint64
- func HashServerTemplateV30(m *models.ServerTemplate) uint64
- func HashServerTemplateV31(m *models.ServerTemplate) uint64
- func HashServerTemplateV32(m *models.ServerTemplate) uint64
- func HashServerTemplateV33(m *models.ServerTemplate) uint64
- func HashServerV30(m *models.Server) uint64
- func HashServerV31(m *models.Server) uint64
- func HashServerV32(m *models.Server) uint64
- func HashServerV33(m *models.Server) uint64
- func HashStickRuleV30(m *models.StickRule) uint64
- func HashStickRuleV31(m *models.StickRule) uint64
- func HashStickRuleV32(m *models.StickRule) uint64
- func HashStickRuleV33(m *models.StickRule) uint64
- func HashTcpCheckV30(m *models.TCPCheck) uint64
- func HashTcpCheckV31(m *models.TCPCheck) uint64
- func HashTcpCheckV32(m *models.TCPCheck) uint64
- func HashTcpCheckV33(m *models.TCPCheck) uint64
- func HashTcpRequestRuleV30(m *models.TCPRequestRule) uint64
- func HashTcpRequestRuleV31(m *models.TCPRequestRule) uint64
- func HashTcpRequestRuleV32(m *models.TCPRequestRule) uint64
- func HashTcpRequestRuleV33(m *models.TCPRequestRule) uint64
- func HashTcpResponseRuleV30(m *models.TCPResponseRule) uint64
- func HashTcpResponseRuleV31(m *models.TCPResponseRule) uint64
- func HashTcpResponseRuleV32(m *models.TCPResponseRule) uint64
- func HashTcpResponseRuleV33(m *models.TCPResponseRule) uint64
- func ValidateAclV30(m *models.ACL) error
- func ValidateAclV31(m *models.ACL) error
- func ValidateAclV32(m *models.ACL) error
- func ValidateAclV33(m *models.ACL) error
- func ValidateBackendSwitchingRuleV30(m *models.BackendSwitchingRule) error
- func ValidateBackendSwitchingRuleV31(m *models.BackendSwitchingRule) error
- func ValidateBackendSwitchingRuleV32(m *models.BackendSwitchingRule) error
- func ValidateBackendSwitchingRuleV33(m *models.BackendSwitchingRule) error
- func ValidateBindV30(m *models.Bind) error
- func ValidateBindV31(m *models.Bind) error
- func ValidateBindV32(m *models.Bind) error
- func ValidateBindV33(m *models.Bind) error
- func ValidateCaptureV30(m *models.Capture) error
- func ValidateCaptureV31(m *models.Capture) error
- func ValidateCaptureV32(m *models.Capture) error
- func ValidateCaptureV33(m *models.Capture) error
- func ValidateFilterV30(m *models.Filter) error
- func ValidateFilterV31(m *models.Filter) error
- func ValidateFilterV32(m *models.Filter) error
- func ValidateFilterV33(m *models.Filter) error
- func ValidateHttpAfterResponseRuleV30(m *models.HTTPAfterResponseRule) error
- func ValidateHttpAfterResponseRuleV31(m *models.HTTPAfterResponseRule) error
- func ValidateHttpAfterResponseRuleV32(m *models.HTTPAfterResponseRule) error
- func ValidateHttpAfterResponseRuleV33(m *models.HTTPAfterResponseRule) error
- func ValidateHttpCheckV30(m *models.HTTPCheck) error
- func ValidateHttpCheckV31(m *models.HTTPCheck) error
- func ValidateHttpCheckV32(m *models.HTTPCheck) error
- func ValidateHttpCheckV33(m *models.HTTPCheck) error
- func ValidateHttpErrorRuleV30(m *models.HTTPErrorRule) error
- func ValidateHttpErrorRuleV31(m *models.HTTPErrorRule) error
- func ValidateHttpErrorRuleV32(m *models.HTTPErrorRule) error
- func ValidateHttpErrorRuleV33(m *models.HTTPErrorRule) error
- func ValidateHttpRequestRuleV30(m *models.HTTPRequestRule) error
- func ValidateHttpRequestRuleV31(m *models.HTTPRequestRule) error
- func ValidateHttpRequestRuleV32(m *models.HTTPRequestRule) error
- func ValidateHttpRequestRuleV33(m *models.HTTPRequestRule) error
- func ValidateHttpResponseRuleV30(m *models.HTTPResponseRule) error
- func ValidateHttpResponseRuleV31(m *models.HTTPResponseRule) error
- func ValidateHttpResponseRuleV32(m *models.HTTPResponseRule) error
- func ValidateHttpResponseRuleV33(m *models.HTTPResponseRule) error
- func ValidateLogTargetV30(m *models.LogTarget) error
- func ValidateLogTargetV31(m *models.LogTarget) error
- func ValidateLogTargetV32(m *models.LogTarget) error
- func ValidateLogTargetV33(m *models.LogTarget) error
- func ValidateServerSwitchingRuleV30(m *models.ServerSwitchingRule) error
- func ValidateServerSwitchingRuleV31(m *models.ServerSwitchingRule) error
- func ValidateServerSwitchingRuleV32(m *models.ServerSwitchingRule) error
- func ValidateServerSwitchingRuleV33(m *models.ServerSwitchingRule) error
- func ValidateServerTemplateV30(m *models.ServerTemplate) error
- func ValidateServerTemplateV31(m *models.ServerTemplate) error
- func ValidateServerTemplateV32(m *models.ServerTemplate) error
- func ValidateServerTemplateV33(m *models.ServerTemplate) error
- func ValidateServerV30(m *models.Server) error
- func ValidateServerV31(m *models.Server) error
- func ValidateServerV32(m *models.Server) error
- func ValidateServerV33(m *models.Server) error
- func ValidateStickRuleV30(m *models.StickRule) error
- func ValidateStickRuleV31(m *models.StickRule) error
- func ValidateStickRuleV32(m *models.StickRule) error
- func ValidateStickRuleV33(m *models.StickRule) error
- func ValidateTcpCheckV30(m *models.TCPCheck) error
- func ValidateTcpCheckV31(m *models.TCPCheck) error
- func ValidateTcpCheckV32(m *models.TCPCheck) error
- func ValidateTcpCheckV33(m *models.TCPCheck) error
- func ValidateTcpRequestRuleV30(m *models.TCPRequestRule) error
- func ValidateTcpRequestRuleV31(m *models.TCPRequestRule) error
- func ValidateTcpRequestRuleV32(m *models.TCPRequestRule) error
- func ValidateTcpRequestRuleV33(m *models.TCPRequestRule) error
- func ValidateTcpResponseRuleV30(m *models.TCPResponseRule) error
- func ValidateTcpResponseRuleV31(m *models.TCPResponseRule) error
- func ValidateTcpResponseRuleV32(m *models.TCPResponseRule) error
- func ValidateTcpResponseRuleV33(m *models.TCPResponseRule) error
- type FieldError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashAclV30 ¶
HashAclV30 computes a content hash for cache lookup.
func HashAclV31 ¶
HashAclV31 computes a content hash for cache lookup.
func HashAclV32 ¶
HashAclV32 computes a content hash for cache lookup.
func HashAclV33 ¶
HashAclV33 computes a content hash for cache lookup.
func HashBackendSwitchingRuleV30 ¶
func HashBackendSwitchingRuleV30(m *models.BackendSwitchingRule) uint64
HashBackendSwitchingRuleV30 computes a content hash for cache lookup.
func HashBackendSwitchingRuleV31 ¶
func HashBackendSwitchingRuleV31(m *models.BackendSwitchingRule) uint64
HashBackendSwitchingRuleV31 computes a content hash for cache lookup.
func HashBackendSwitchingRuleV32 ¶
func HashBackendSwitchingRuleV32(m *models.BackendSwitchingRule) uint64
HashBackendSwitchingRuleV32 computes a content hash for cache lookup.
func HashBackendSwitchingRuleV33 ¶
func HashBackendSwitchingRuleV33(m *models.BackendSwitchingRule) uint64
HashBackendSwitchingRuleV33 computes a content hash for cache lookup.
func HashBindV30 ¶
HashBindV30 computes a content hash for cache lookup.
func HashBindV31 ¶
HashBindV31 computes a content hash for cache lookup.
func HashBindV32 ¶
HashBindV32 computes a content hash for cache lookup.
func HashBindV33 ¶
HashBindV33 computes a content hash for cache lookup.
func HashCaptureV30 ¶
HashCaptureV30 computes a content hash for cache lookup.
func HashCaptureV31 ¶
HashCaptureV31 computes a content hash for cache lookup.
func HashCaptureV32 ¶
HashCaptureV32 computes a content hash for cache lookup.
func HashCaptureV33 ¶
HashCaptureV33 computes a content hash for cache lookup.
func HashFilterV30 ¶
HashFilterV30 computes a content hash for cache lookup.
func HashFilterV31 ¶
HashFilterV31 computes a content hash for cache lookup.
func HashFilterV32 ¶
HashFilterV32 computes a content hash for cache lookup.
func HashFilterV33 ¶
HashFilterV33 computes a content hash for cache lookup.
func HashHttpAfterResponseRuleV30 ¶
func HashHttpAfterResponseRuleV30(m *models.HTTPAfterResponseRule) uint64
HashHttpAfterResponseRuleV30 computes a content hash for cache lookup.
func HashHttpAfterResponseRuleV31 ¶
func HashHttpAfterResponseRuleV31(m *models.HTTPAfterResponseRule) uint64
HashHttpAfterResponseRuleV31 computes a content hash for cache lookup.
func HashHttpAfterResponseRuleV32 ¶
func HashHttpAfterResponseRuleV32(m *models.HTTPAfterResponseRule) uint64
HashHttpAfterResponseRuleV32 computes a content hash for cache lookup.
func HashHttpAfterResponseRuleV33 ¶
func HashHttpAfterResponseRuleV33(m *models.HTTPAfterResponseRule) uint64
HashHttpAfterResponseRuleV33 computes a content hash for cache lookup.
func HashHttpCheckV30 ¶
HashHttpCheckV30 computes a content hash for cache lookup.
func HashHttpCheckV31 ¶
HashHttpCheckV31 computes a content hash for cache lookup.
func HashHttpCheckV32 ¶
HashHttpCheckV32 computes a content hash for cache lookup.
func HashHttpCheckV33 ¶
HashHttpCheckV33 computes a content hash for cache lookup.
func HashHttpErrorRuleV30 ¶
func HashHttpErrorRuleV30(m *models.HTTPErrorRule) uint64
HashHttpErrorRuleV30 computes a content hash for cache lookup.
func HashHttpErrorRuleV31 ¶
func HashHttpErrorRuleV31(m *models.HTTPErrorRule) uint64
HashHttpErrorRuleV31 computes a content hash for cache lookup.
func HashHttpErrorRuleV32 ¶
func HashHttpErrorRuleV32(m *models.HTTPErrorRule) uint64
HashHttpErrorRuleV32 computes a content hash for cache lookup.
func HashHttpErrorRuleV33 ¶
func HashHttpErrorRuleV33(m *models.HTTPErrorRule) uint64
HashHttpErrorRuleV33 computes a content hash for cache lookup.
func HashHttpRequestRuleV30 ¶
func HashHttpRequestRuleV30(m *models.HTTPRequestRule) uint64
HashHttpRequestRuleV30 computes a content hash for cache lookup.
func HashHttpRequestRuleV31 ¶
func HashHttpRequestRuleV31(m *models.HTTPRequestRule) uint64
HashHttpRequestRuleV31 computes a content hash for cache lookup.
func HashHttpRequestRuleV32 ¶
func HashHttpRequestRuleV32(m *models.HTTPRequestRule) uint64
HashHttpRequestRuleV32 computes a content hash for cache lookup.
func HashHttpRequestRuleV33 ¶
func HashHttpRequestRuleV33(m *models.HTTPRequestRule) uint64
HashHttpRequestRuleV33 computes a content hash for cache lookup.
func HashHttpResponseRuleV30 ¶
func HashHttpResponseRuleV30(m *models.HTTPResponseRule) uint64
HashHttpResponseRuleV30 computes a content hash for cache lookup.
func HashHttpResponseRuleV31 ¶
func HashHttpResponseRuleV31(m *models.HTTPResponseRule) uint64
HashHttpResponseRuleV31 computes a content hash for cache lookup.
func HashHttpResponseRuleV32 ¶
func HashHttpResponseRuleV32(m *models.HTTPResponseRule) uint64
HashHttpResponseRuleV32 computes a content hash for cache lookup.
func HashHttpResponseRuleV33 ¶
func HashHttpResponseRuleV33(m *models.HTTPResponseRule) uint64
HashHttpResponseRuleV33 computes a content hash for cache lookup.
func HashLogTargetV30 ¶
HashLogTargetV30 computes a content hash for cache lookup.
func HashLogTargetV31 ¶
HashLogTargetV31 computes a content hash for cache lookup.
func HashLogTargetV32 ¶
HashLogTargetV32 computes a content hash for cache lookup.
func HashLogTargetV33 ¶
HashLogTargetV33 computes a content hash for cache lookup.
func HashServerSwitchingRuleV30 ¶
func HashServerSwitchingRuleV30(m *models.ServerSwitchingRule) uint64
HashServerSwitchingRuleV30 computes a content hash for cache lookup.
func HashServerSwitchingRuleV31 ¶
func HashServerSwitchingRuleV31(m *models.ServerSwitchingRule) uint64
HashServerSwitchingRuleV31 computes a content hash for cache lookup.
func HashServerSwitchingRuleV32 ¶
func HashServerSwitchingRuleV32(m *models.ServerSwitchingRule) uint64
HashServerSwitchingRuleV32 computes a content hash for cache lookup.
func HashServerSwitchingRuleV33 ¶
func HashServerSwitchingRuleV33(m *models.ServerSwitchingRule) uint64
HashServerSwitchingRuleV33 computes a content hash for cache lookup.
func HashServerTemplateV30 ¶
func HashServerTemplateV30(m *models.ServerTemplate) uint64
HashServerTemplateV30 computes a content hash for cache lookup.
func HashServerTemplateV31 ¶
func HashServerTemplateV31(m *models.ServerTemplate) uint64
HashServerTemplateV31 computes a content hash for cache lookup.
func HashServerTemplateV32 ¶
func HashServerTemplateV32(m *models.ServerTemplate) uint64
HashServerTemplateV32 computes a content hash for cache lookup.
func HashServerTemplateV33 ¶
func HashServerTemplateV33(m *models.ServerTemplate) uint64
HashServerTemplateV33 computes a content hash for cache lookup.
func HashServerV30 ¶
HashServerV30 computes a content hash for cache lookup.
func HashServerV31 ¶
HashServerV31 computes a content hash for cache lookup.
func HashServerV32 ¶
HashServerV32 computes a content hash for cache lookup.
func HashServerV33 ¶
HashServerV33 computes a content hash for cache lookup.
func HashStickRuleV30 ¶
HashStickRuleV30 computes a content hash for cache lookup.
func HashStickRuleV31 ¶
HashStickRuleV31 computes a content hash for cache lookup.
func HashStickRuleV32 ¶
HashStickRuleV32 computes a content hash for cache lookup.
func HashStickRuleV33 ¶
HashStickRuleV33 computes a content hash for cache lookup.
func HashTcpCheckV30 ¶
HashTcpCheckV30 computes a content hash for cache lookup.
func HashTcpCheckV31 ¶
HashTcpCheckV31 computes a content hash for cache lookup.
func HashTcpCheckV32 ¶
HashTcpCheckV32 computes a content hash for cache lookup.
func HashTcpCheckV33 ¶
HashTcpCheckV33 computes a content hash for cache lookup.
func HashTcpRequestRuleV30 ¶
func HashTcpRequestRuleV30(m *models.TCPRequestRule) uint64
HashTcpRequestRuleV30 computes a content hash for cache lookup.
func HashTcpRequestRuleV31 ¶
func HashTcpRequestRuleV31(m *models.TCPRequestRule) uint64
HashTcpRequestRuleV31 computes a content hash for cache lookup.
func HashTcpRequestRuleV32 ¶
func HashTcpRequestRuleV32(m *models.TCPRequestRule) uint64
HashTcpRequestRuleV32 computes a content hash for cache lookup.
func HashTcpRequestRuleV33 ¶
func HashTcpRequestRuleV33(m *models.TCPRequestRule) uint64
HashTcpRequestRuleV33 computes a content hash for cache lookup.
func HashTcpResponseRuleV30 ¶
func HashTcpResponseRuleV30(m *models.TCPResponseRule) uint64
HashTcpResponseRuleV30 computes a content hash for cache lookup.
func HashTcpResponseRuleV31 ¶
func HashTcpResponseRuleV31(m *models.TCPResponseRule) uint64
HashTcpResponseRuleV31 computes a content hash for cache lookup.
func HashTcpResponseRuleV32 ¶
func HashTcpResponseRuleV32(m *models.TCPResponseRule) uint64
HashTcpResponseRuleV32 computes a content hash for cache lookup.
func HashTcpResponseRuleV33 ¶
func HashTcpResponseRuleV33(m *models.TCPResponseRule) uint64
HashTcpResponseRuleV33 computes a content hash for cache lookup.
func ValidateAclV30 ¶
ValidateAclV30 validates a acl model.
func ValidateAclV31 ¶
ValidateAclV31 validates a acl model.
func ValidateAclV32 ¶
ValidateAclV32 validates a acl model.
func ValidateAclV33 ¶
ValidateAclV33 validates a acl model.
func ValidateBackendSwitchingRuleV30 ¶
func ValidateBackendSwitchingRuleV30(m *models.BackendSwitchingRule) error
ValidateBackendSwitchingRuleV30 validates a backend_switching_rule model.
func ValidateBackendSwitchingRuleV31 ¶
func ValidateBackendSwitchingRuleV31(m *models.BackendSwitchingRule) error
ValidateBackendSwitchingRuleV31 validates a backend_switching_rule model.
func ValidateBackendSwitchingRuleV32 ¶
func ValidateBackendSwitchingRuleV32(m *models.BackendSwitchingRule) error
ValidateBackendSwitchingRuleV32 validates a backend_switching_rule model.
func ValidateBackendSwitchingRuleV33 ¶
func ValidateBackendSwitchingRuleV33(m *models.BackendSwitchingRule) error
ValidateBackendSwitchingRuleV33 validates a backend_switching_rule model.
func ValidateBindV30 ¶
ValidateBindV30 validates a bind model.
func ValidateBindV31 ¶
ValidateBindV31 validates a bind model.
func ValidateBindV32 ¶
ValidateBindV32 validates a bind model.
func ValidateBindV33 ¶
ValidateBindV33 validates a bind model.
func ValidateCaptureV30 ¶
ValidateCaptureV30 validates a capture model.
func ValidateCaptureV31 ¶
ValidateCaptureV31 validates a capture model.
func ValidateCaptureV32 ¶
ValidateCaptureV32 validates a capture model.
func ValidateCaptureV33 ¶
ValidateCaptureV33 validates a capture model.
func ValidateFilterV30 ¶
ValidateFilterV30 validates a filter model.
func ValidateFilterV31 ¶
ValidateFilterV31 validates a filter model.
func ValidateFilterV32 ¶
ValidateFilterV32 validates a filter model.
func ValidateFilterV33 ¶
ValidateFilterV33 validates a filter model.
func ValidateHttpAfterResponseRuleV30 ¶
func ValidateHttpAfterResponseRuleV30(m *models.HTTPAfterResponseRule) error
ValidateHttpAfterResponseRuleV30 validates a http_after_response_rule model.
func ValidateHttpAfterResponseRuleV31 ¶
func ValidateHttpAfterResponseRuleV31(m *models.HTTPAfterResponseRule) error
ValidateHttpAfterResponseRuleV31 validates a http_after_response_rule model.
func ValidateHttpAfterResponseRuleV32 ¶
func ValidateHttpAfterResponseRuleV32(m *models.HTTPAfterResponseRule) error
ValidateHttpAfterResponseRuleV32 validates a http_after_response_rule model.
func ValidateHttpAfterResponseRuleV33 ¶
func ValidateHttpAfterResponseRuleV33(m *models.HTTPAfterResponseRule) error
ValidateHttpAfterResponseRuleV33 validates a http_after_response_rule model.
func ValidateHttpCheckV30 ¶
ValidateHttpCheckV30 validates a http_check model.
func ValidateHttpCheckV31 ¶
ValidateHttpCheckV31 validates a http_check model.
func ValidateHttpCheckV32 ¶
ValidateHttpCheckV32 validates a http_check model.
func ValidateHttpCheckV33 ¶
ValidateHttpCheckV33 validates a http_check model.
func ValidateHttpErrorRuleV30 ¶
func ValidateHttpErrorRuleV30(m *models.HTTPErrorRule) error
ValidateHttpErrorRuleV30 validates a http_error_rule model.
func ValidateHttpErrorRuleV31 ¶
func ValidateHttpErrorRuleV31(m *models.HTTPErrorRule) error
ValidateHttpErrorRuleV31 validates a http_error_rule model.
func ValidateHttpErrorRuleV32 ¶
func ValidateHttpErrorRuleV32(m *models.HTTPErrorRule) error
ValidateHttpErrorRuleV32 validates a http_error_rule model.
func ValidateHttpErrorRuleV33 ¶
func ValidateHttpErrorRuleV33(m *models.HTTPErrorRule) error
ValidateHttpErrorRuleV33 validates a http_error_rule model.
func ValidateHttpRequestRuleV30 ¶
func ValidateHttpRequestRuleV30(m *models.HTTPRequestRule) error
ValidateHttpRequestRuleV30 validates a http_request_rule model.
func ValidateHttpRequestRuleV31 ¶
func ValidateHttpRequestRuleV31(m *models.HTTPRequestRule) error
ValidateHttpRequestRuleV31 validates a http_request_rule model.
func ValidateHttpRequestRuleV32 ¶
func ValidateHttpRequestRuleV32(m *models.HTTPRequestRule) error
ValidateHttpRequestRuleV32 validates a http_request_rule model.
func ValidateHttpRequestRuleV33 ¶
func ValidateHttpRequestRuleV33(m *models.HTTPRequestRule) error
ValidateHttpRequestRuleV33 validates a http_request_rule model.
func ValidateHttpResponseRuleV30 ¶
func ValidateHttpResponseRuleV30(m *models.HTTPResponseRule) error
ValidateHttpResponseRuleV30 validates a http_response_rule model.
func ValidateHttpResponseRuleV31 ¶
func ValidateHttpResponseRuleV31(m *models.HTTPResponseRule) error
ValidateHttpResponseRuleV31 validates a http_response_rule model.
func ValidateHttpResponseRuleV32 ¶
func ValidateHttpResponseRuleV32(m *models.HTTPResponseRule) error
ValidateHttpResponseRuleV32 validates a http_response_rule model.
func ValidateHttpResponseRuleV33 ¶
func ValidateHttpResponseRuleV33(m *models.HTTPResponseRule) error
ValidateHttpResponseRuleV33 validates a http_response_rule model.
func ValidateLogTargetV30 ¶
ValidateLogTargetV30 validates a log_target model.
func ValidateLogTargetV31 ¶
ValidateLogTargetV31 validates a log_target model.
func ValidateLogTargetV32 ¶
ValidateLogTargetV32 validates a log_target model.
func ValidateLogTargetV33 ¶
ValidateLogTargetV33 validates a log_target model.
func ValidateServerSwitchingRuleV30 ¶
func ValidateServerSwitchingRuleV30(m *models.ServerSwitchingRule) error
ValidateServerSwitchingRuleV30 validates a server_switching_rule model.
func ValidateServerSwitchingRuleV31 ¶
func ValidateServerSwitchingRuleV31(m *models.ServerSwitchingRule) error
ValidateServerSwitchingRuleV31 validates a server_switching_rule model.
func ValidateServerSwitchingRuleV32 ¶
func ValidateServerSwitchingRuleV32(m *models.ServerSwitchingRule) error
ValidateServerSwitchingRuleV32 validates a server_switching_rule model.
func ValidateServerSwitchingRuleV33 ¶
func ValidateServerSwitchingRuleV33(m *models.ServerSwitchingRule) error
ValidateServerSwitchingRuleV33 validates a server_switching_rule model.
func ValidateServerTemplateV30 ¶
func ValidateServerTemplateV30(m *models.ServerTemplate) error
ValidateServerTemplateV30 validates a server_template model.
func ValidateServerTemplateV31 ¶
func ValidateServerTemplateV31(m *models.ServerTemplate) error
ValidateServerTemplateV31 validates a server_template model.
func ValidateServerTemplateV32 ¶
func ValidateServerTemplateV32(m *models.ServerTemplate) error
ValidateServerTemplateV32 validates a server_template model.
func ValidateServerTemplateV33 ¶
func ValidateServerTemplateV33(m *models.ServerTemplate) error
ValidateServerTemplateV33 validates a server_template model.
func ValidateServerV30 ¶
ValidateServerV30 validates a server model.
func ValidateServerV31 ¶
ValidateServerV31 validates a server model.
func ValidateServerV32 ¶
ValidateServerV32 validates a server model.
func ValidateServerV33 ¶
ValidateServerV33 validates a server model.
func ValidateStickRuleV30 ¶
ValidateStickRuleV30 validates a stick_rule model.
func ValidateStickRuleV31 ¶
ValidateStickRuleV31 validates a stick_rule model.
func ValidateStickRuleV32 ¶
ValidateStickRuleV32 validates a stick_rule model.
func ValidateStickRuleV33 ¶
ValidateStickRuleV33 validates a stick_rule model.
func ValidateTcpCheckV30 ¶
ValidateTcpCheckV30 validates a tcp_check model.
func ValidateTcpCheckV31 ¶
ValidateTcpCheckV31 validates a tcp_check model.
func ValidateTcpCheckV32 ¶
ValidateTcpCheckV32 validates a tcp_check model.
func ValidateTcpCheckV33 ¶
ValidateTcpCheckV33 validates a tcp_check model.
func ValidateTcpRequestRuleV30 ¶
func ValidateTcpRequestRuleV30(m *models.TCPRequestRule) error
ValidateTcpRequestRuleV30 validates a tcp_request_rule model.
func ValidateTcpRequestRuleV31 ¶
func ValidateTcpRequestRuleV31(m *models.TCPRequestRule) error
ValidateTcpRequestRuleV31 validates a tcp_request_rule model.
func ValidateTcpRequestRuleV32 ¶
func ValidateTcpRequestRuleV32(m *models.TCPRequestRule) error
ValidateTcpRequestRuleV32 validates a tcp_request_rule model.
func ValidateTcpRequestRuleV33 ¶
func ValidateTcpRequestRuleV33(m *models.TCPRequestRule) error
ValidateTcpRequestRuleV33 validates a tcp_request_rule model.
func ValidateTcpResponseRuleV30 ¶
func ValidateTcpResponseRuleV30(m *models.TCPResponseRule) error
ValidateTcpResponseRuleV30 validates a tcp_response_rule model.
func ValidateTcpResponseRuleV31 ¶
func ValidateTcpResponseRuleV31(m *models.TCPResponseRule) error
ValidateTcpResponseRuleV31 validates a tcp_response_rule model.
func ValidateTcpResponseRuleV32 ¶
func ValidateTcpResponseRuleV32(m *models.TCPResponseRule) error
ValidateTcpResponseRuleV32 validates a tcp_response_rule model.
func ValidateTcpResponseRuleV33 ¶
func ValidateTcpResponseRuleV33(m *models.TCPResponseRule) error
ValidateTcpResponseRuleV33 validates a tcp_response_rule model.
Types ¶
type FieldError ¶
FieldError represents an OpenAPI validation failure for a specific field.
Named to distinguish it from dataplane.ValidationError (which represents HAProxy-level semantic validation failures). Both error types can surface during a sync, but they describe different validation phases.
func (*FieldError) Error ¶
func (e *FieldError) Error() string
Error implements the error interface.