Documentation ¶
Index ¶
- Constants
- func DesiredDaemonSet(contour *model.Contour, contourImage, envoyImage string) *apps_v1.DaemonSet
- func EnsureDataPlane(ctx context.Context, cli client.Client, contour *model.Contour, ...) error
- func EnsureDataPlaneDeleted(ctx context.Context, cli client.Client, contour *model.Contour) error
- func EnvoyPodSelector(contour *model.Contour) *meta_v1.LabelSelector
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 ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.