container

package
v1.0.142 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDeviceNotDetected     = errors.New("device not detected")
	ErrContainerNotInPodSpec = errors.New("container not found in pod spec")
)

Functions

func AllContainersReady added in v1.0.118

func AllContainersReady(pod *v1.Pod) bool

func GetContainerEnvVarValue added in v1.0.140

func GetContainerEnvVarValue(container *v1.Container, envVarName string) *string

func GetLanguageAndOtelSdk

func GetLanguageAndOtelSdk(container *v1.Container) (common.ProgrammingLanguage, common.OtelSdk, bool)

func LanguageSdkFromPodContainer added in v1.0.134

func LanguageSdkFromPodContainer(pod *v1.Pod, containerName string) (common.ProgrammingLanguage, common.OtelSdk, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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