Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DebugConfig is the name of the podspec annotation that records debugging configuration information. // The annotation should be a JSON-encoded map of container-name to a `ContainerDebugConfiguration` object. DebugConfig = "debug.cloud.google.com/config" // DebugProbesAnnotation is the name of the podspec annotation that disables rewriting of probe timeouts. // The annotation value should be `skip`. DebugProbeTimeouts = "debug.cloud.google.com/probe/timeouts" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerDebugConfiguration ¶
type ContainerDebugConfiguration struct {
// Artifact is the corresponding artifact's image name used in the skaffold.yaml
Artifact string `json:"artifact,omitempty"`
// Runtime represents the underlying language runtime (`go`, `jvm`, `nodejs`, `python`, `netcore`)
Runtime string `json:"runtime,omitempty"`
// WorkingDir is the working directory in the image configuration; may be empty
WorkingDir string `json:"workingDir,omitempty"`
// Ports is the list of debugging ports, keyed by protocol type
Ports map[string]uint32 `json:"ports,omitempty"`
}
ContainerDebugConfiguration captures debugging information for a specific container. This structure is serialized out and included in the pod metadata.
Click to show internal directories.
Click to hide internal directories.