Documentation ¶
Index ¶
- func ValidatePolicy(policy *v1alpha1.Policy) error
- func ValidateVirtualServer(virtualServer *v1.VirtualServer, isPlus bool) error
- func ValidateVirtualServerRoute(virtualServerRoute *v1.VirtualServerRoute, isPlus bool) error
- func ValidateVirtualServerRouteForVirtualServer(virtualServerRoute *v1.VirtualServerRoute, virtualServerHost string, ...) error
- type GlobalConfigurationValidator
- type TransportServerValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePolicy ¶ added in v1.8.0
ValidatePolicy validates a Policy.
func ValidateVirtualServer ¶
func ValidateVirtualServer(virtualServer *v1.VirtualServer, isPlus bool) error
ValidateVirtualServer validates a VirtualServer.
func ValidateVirtualServerRoute ¶
func ValidateVirtualServerRoute(virtualServerRoute *v1.VirtualServerRoute, isPlus bool) error
ValidateVirtualServerRoute validates a VirtualServerRoute.
func ValidateVirtualServerRouteForVirtualServer ¶
func ValidateVirtualServerRouteForVirtualServer(virtualServerRoute *v1.VirtualServerRoute, virtualServerHost string, vsPath string, isPlus bool) error
ValidateVirtualServerRouteForVirtualServer validates a VirtualServerRoute for a VirtualServer represented by its host and path prefix.
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) *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.