validation

package
v1.22.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerPorts

func ContainerPorts(contour *model.Contour) error

ContainerPorts validates container ports of contour, returning an error if the container ports do not meet the API specification.

func Contour

func Contour(ctx context.Context, cli client.Client, contour *model.Contour) error

Contour returns true if contour is valid.

func LoadBalancerAddress

func LoadBalancerAddress(contour *model.Contour) error

LoadBalancerAddress validates LoadBalancer "address" parameter of contour, returning an error if "address" does not meet the API specification.

func LoadBalancerProvider

func LoadBalancerProvider(contour *model.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

func NodePorts(contour *model.Contour) error

NodePorts validates nodeports of contour, returning an error if the nodeports do not meet the API specification.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL