Documentation ¶
Index ¶
- func ValidatePolicy(policy *v1.Policy, isPlus, enablePreviewPolicies, enableAppProtect bool) error
- type GlobalConfigurationValidator
- type TransportServerValidator
- type VirtualServerValidator
- func (vsv *VirtualServerValidator) ValidateVirtualServer(virtualServer *v1.VirtualServer) error
- func (vsv *VirtualServerValidator) ValidateVirtualServerRoute(virtualServerRoute *v1.VirtualServerRoute) error
- func (vsv *VirtualServerValidator) ValidateVirtualServerRouteForVirtualServer(virtualServerRoute *v1.VirtualServerRoute, virtualServerHost string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GlobalConfigurationValidator ¶ added in v1.7.0
type GlobalConfigurationValidator struct {
// contains filtered or unexported fields
}
GlobalConfigurationValidator validates a GlobalConfiguration resource.
func NewGlobalConfigurationValidator ¶ added in v1.7.0
func NewGlobalConfigurationValidator(forbiddenListenerPorts map[int]bool) *GlobalConfigurationValidator
NewGlobalConfigurationValidator creates a new GlobalConfigurationValidator.
func (*GlobalConfigurationValidator) ValidateGlobalConfiguration ¶ added in v1.7.0
func (gcv *GlobalConfigurationValidator) ValidateGlobalConfiguration(globalConfiguration *v1alpha1.GlobalConfiguration) error
ValidateGlobalConfiguration validates a GlobalConfiguration.
type TransportServerValidator ¶ added in v1.7.0
type TransportServerValidator struct {
// contains filtered or unexported fields
}
TransportServerValidator validates a TransportServer resource.
func NewTransportServerValidator ¶ added in v1.7.0
func NewTransportServerValidator(tlsPassthrough bool, snippetsEnabled bool) *TransportServerValidator
NewTransportServerValidator creates a new TransportServerValidator.
func (*TransportServerValidator) ValidateTransportServer ¶ added in v1.7.0
func (tsv *TransportServerValidator) ValidateTransportServer(transportServer *v1alpha1.TransportServer) error
ValidateTransportServer validates a TransportServer.
type VirtualServerValidator ¶ added in v1.9.0
type VirtualServerValidator struct {
// contains filtered or unexported fields
}
VirtualServerValidator validates a VirtualServer/VirtualServerRoute resource.
func NewVirtualServerValidator ¶ added in v1.9.0
func NewVirtualServerValidator(isPlus bool) *VirtualServerValidator
NewVirtualServerValidator creates a new VirtualServerValidator.
func (*VirtualServerValidator) ValidateVirtualServer ¶ added in v1.9.0
func (vsv *VirtualServerValidator) ValidateVirtualServer(virtualServer *v1.VirtualServer) error
ValidateVirtualServer validates a VirtualServer.
func (*VirtualServerValidator) ValidateVirtualServerRoute ¶ added in v1.9.0
func (vsv *VirtualServerValidator) ValidateVirtualServerRoute(virtualServerRoute *v1.VirtualServerRoute) error
ValidateVirtualServerRoute validates a VirtualServerRoute.
func (*VirtualServerValidator) ValidateVirtualServerRouteForVirtualServer ¶ added in v1.9.0
func (vsv *VirtualServerValidator) ValidateVirtualServerRouteForVirtualServer(virtualServerRoute *v1.VirtualServerRoute, virtualServerHost string, vsPath string) error
ValidateVirtualServerRouteForVirtualServer validates a VirtualServerRoute for a VirtualServer represented by its host and path prefix.