quit

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OtelSidecarPort = 31415
)

Variables

This section is empty.

Functions

func OtelSidecar

func OtelSidecar() func()

quit.OtelSidecar is quit.Sidecar for the otel sidecar.

func Sidecar

func Sidecar(port int) func()

quit.Sidecar explicitly manages the lifecycle of an always-on sidecar that serves a /quitquitquit endpoint. When a Job is injected with an an always-on container, such Job will never complete.

This utility function sends a POST to the sidecar's /quitquitquit endpoint. Jobs can use this to terminate the sidecar upon completion.

Types

This section is empty.

Jump to

Keyboard shortcuts

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