Documentation ¶
Index ¶
Constants ¶
View Source
const (
ResourceTypeName = "Applications.Core/gateways"
)
Variables ¶
This section is empty.
Functions ¶
func ValidateAndMutateRequest ¶
func ValidateAndMutateRequest(ctx context.Context, newResource, oldResource *datamodel.Gateway, options *controller.Options) (rest.Response, error)
ValidateAndMutateRequest checks if the TLS configuration is valid and sets the TLS protocol version to 1.2 if it is not specified. It returns a BadRequestResponse error if SSL Passthrough and TLS termination are both configured or if TLS protocol version is set but certificateFrom is not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.