kubernetes/pkg/kubelet/kuberuntime/labels.go

const podDeletionGracePeriodLabel

const podTerminationGracePeriodLabel

const containerHashLabel

const containerRestartCountLabel

const containerTerminationMessagePathLabel

const containerTerminationMessagePolicyLabel

const containerPreStopHandlerLabel

const containerPortsLabel

type labeledPodSandboxInfo

type annotatedPodSandboxInfo

type labeledContainerInfo

type annotatedContainerInfo

// newPodLabels creates pod labels from v1.Pod.
func newPodLabels(pod *v1.Pod) map[string]string {}

// newPodAnnotations creates pod annotations from v1.Pod.
func newPodAnnotations(pod *v1.Pod) map[string]string {}

// newContainerLabels creates container labels from v1.Container and v1.Pod.
func newContainerLabels(container *v1.Container, pod *v1.Pod) map[string]string {}

// newContainerAnnotations creates container annotations from v1.Container and v1.Pod.
func newContainerAnnotations(container *v1.Container, pod *v1.Pod, restartCount int, opts *kubecontainer.RunContainerOptions) map[string]string {}

// getPodSandboxInfoFromLabels gets labeledPodSandboxInfo from labels.
func getPodSandboxInfoFromLabels(labels map[string]string) *labeledPodSandboxInfo {}

// getPodSandboxInfoFromAnnotations gets annotatedPodSandboxInfo from annotations.
func getPodSandboxInfoFromAnnotations(annotations map[string]string) *annotatedPodSandboxInfo {}

// getContainerInfoFromLabels gets labeledContainerInfo from labels.
func getContainerInfoFromLabels(labels map[string]string) *labeledContainerInfo {}

// getContainerInfoFromAnnotations gets annotatedContainerInfo from annotations.
func getContainerInfoFromAnnotations(annotations map[string]string) *annotatedContainerInfo {}

func getStringValueFromLabel(labels map[string]string, label string) string {}

func getIntValueFromLabel(labels map[string]string, label string) (int, error) {}

func getUint64ValueFromLabel(labels map[string]string, label string) (uint64, error) {}

func getInt64PointerFromLabel(labels map[string]string, label string) (*int64, error) {}

// getJSONObjectFromLabel returns a bool value indicating whether an object is found.
func getJSONObjectFromLabel(labels map[string]string, label string, value interface{}