Documentation
¶
Index ¶
Constants ¶
View Source
const ( BinaryPath = "/ko-app/entrypoint" WrapperPath = "/var/run/ko/entrypoint-wrapper.sh" // DefaultProcessLogPath contains both stdout and stderr. It is only used // when specified at runtime. DefaultProcessLogPath = "/tmp/imagetest.log" // DefaultStderrLogPath contains only stderr. It is always used to write // stderr. DefaultStderrLogPath = "/tmp/imagetest.stderr.log" DefaultHealthCheckSocket = "/tmp/imagetest.health.sock" // Return code if entrypoint fails. InternalErrorCode = 1000 // Healthcheck return code if wrapped command fails and we're paused. ProcessPausedErrorCode = 927 )
Variables ¶
View Source
var DefaultEntrypoint = []string{ BinaryPath, "--process-log-path", DefaultProcessLogPath, WrapperPath, }
View Source
var DefaultHealthCheckCommand = []string{ BinaryPath, "healthcheck", }
View Source
var ImageRef = "ghcr.io/chainguard-dev/terraform-provider-imagetest/entrypoint:latest"
ImageRef is replaced at provider build time (ldflag) with the :tag@digest of the ./cmd/entrypoint binary.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.