Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Env variable key for CRI endpoint
POSTMAN_INSIGHTS_CRI_ENDPOINT = "POSTMAN_INSIGHTS_CRI_ENDPOINT"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerInfo ¶
type ContainerInfo struct {
RuntimeSpec RuntimeSpec `json:"runtimeSpec"`
// Ref from pb.ContainerConfig
Config Config `json:"config"`
}
Only define required info
type CriClient ¶
type CriClient struct {
// contains filtered or unexported fields
}
CriClient struct holds the runtime service client
func NewCRIClient ¶
NewCRIClient initializes a new CRI client
func (*CriClient) GetEnvVars ¶
GetEnvVars returns the environment variables of a given container
type LinuxNamespace ¶
type LinuxProcess ¶
type LinuxProcess struct {
Env []string `json:"env"`
}
type LinuxRuntimeSpec ¶
type LinuxRuntimeSpec struct {
Namespaces []LinuxNamespace `json:"namespaces"`
}
type RuntimeSpec ¶
type RuntimeSpec struct {
Linux *LinuxRuntimeSpec `json:"linux"`
Process *LinuxProcess `json:"process"`
}
Click to show internal directories.
Click to hide internal directories.