Documentation ¶
Index ¶
Constants ¶
View Source
const (
OtelSidecarPort = 31415
)
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.