validation

package
v0.0.0-...-d7ad274 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerPorts

func ContainerPorts(Sesame *operatorv1alpha1.Sesame) error

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

func LoadBalancerAddress

func LoadBalancerAddress(Sesame *operatorv1alpha1.Sesame) error

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

func LoadBalancerProvider

func LoadBalancerProvider(Sesame *operatorv1alpha1.Sesame) error

LoadBalancerProvider validates LoadBalancer provider parameters of sesame, returning and error if parameters for different provider are specified the for the one specified with "type" parameter.

func NodePorts

func NodePorts(Sesame *operatorv1alpha1.Sesame) error

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

func Sesame

func Sesame(ctx context.Context, cli client.Client, Sesame *operatorv1alpha1.Sesame) error

Sesame returns true if sesame is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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