dataplane

package
v1.30.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvoyContainerName is the name of the Envoy container.
	EnvoyContainerName = "envoy"
	// ShutdownContainerName is the name of the Shutdown Manager container.
	ShutdownContainerName = "shutdown-manager"
)

Variables

This section is empty.

Functions

func DesiredDaemonSet

func DesiredDaemonSet(contour *model.Contour, contourImage, envoyImage string) *apps_v1.DaemonSet

DesiredDaemonSet returns the desired DaemonSet for the provided contour using contourImage as the shutdown-manager/envoy-initconfig container images and envoyImage as Envoy's container image.

func EnsureDataPlane

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

EnsureDataPlane ensures an Envoy data plane (daemonset or deployment) exists for the given contour.

func EnsureDataPlaneDeleted

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

EnsureDataPlaneDeleted ensures the daemonset or deployment for the provided contour is deleted if Contour owner labels exist.

func EnvoyPodSelector

func EnvoyPodSelector(contour *model.Contour) *meta_v1.LabelSelector

EnvoyPodSelector returns a label selector using "app: envoy" as the key/value pair.

Types

This section is empty.

Jump to

Keyboard shortcuts

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