Documentation ¶
Index ¶
- func ContainerPorts(contour *operatorv1alpha1.Contour) error
- func Contour(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error
- func Gateway(ctx context.Context, cli client.Client, gw *gatewayv1alpha1.Gateway) (*operatorv1alpha1.Contour, error)
- func GatewayClass(gc *gatewayv1alpha1.GatewayClass) error
- func LoadBalancerAddress(contour *operatorv1alpha1.Contour) error
- func LoadBalancerProvider(contour *operatorv1alpha1.Contour) error
- func NodePorts(contour *operatorv1alpha1.Contour) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerPorts ¶ added in v1.16.0
func ContainerPorts(contour *operatorv1alpha1.Contour) error
ContainerPorts validates container ports of contour, returning an error if the container ports do not meet the API specification.
func Gateway ¶
func Gateway(ctx context.Context, cli client.Client, gw *gatewayv1alpha1.Gateway) (*operatorv1alpha1.Contour, error)
Gateway returns an error if gw is an invalid Gateway. Otherwise, the referenced Contour is returned.
func GatewayClass ¶
func GatewayClass(gc *gatewayv1alpha1.GatewayClass) error
GatewayClass returns nil if gc is a valid GatewayClass, otherwise an error.
func LoadBalancerAddress ¶ added in v1.17.0
func LoadBalancerAddress(contour *operatorv1alpha1.Contour) error
LoadBalancerAddress validates LoadBalancer "address" parameter of contour, returning an error if "address" does not meet the API specification.
func LoadBalancerProvider ¶ added in v1.17.0
func LoadBalancerProvider(contour *operatorv1alpha1.Contour) error
LoadBalancerProvider validates LoadBalancer provider parameters of contour, returning and error if parameters for different provider are specified the for the one specified with "type" parameter.
func NodePorts ¶ added in v1.16.0
func NodePorts(contour *operatorv1alpha1.Contour) error
NodePorts validates nodeports of contour, returning an error if the nodeports do not meet the API specification.
Types ¶
This section is empty.