kubernetesk8s.io/kubernetes/pkg/apis/core/pods Index | Files

package pods

import "k8s.io/kubernetes/pkg/apis/core/pods"

Index

Functions

func ConvertDownwardAPIFieldLabel

func ConvertDownwardAPIFieldLabel(version, label, value string) (string, string, error)

ConvertDownwardAPIFieldLabel converts the specified downward API field label and its value in the pod of the specified version to the internal version, and returns the converted label and value. This function returns an error if the conversion fails.

Source Files

helpers.go

Version
v1.14.9
Published
Nov 9, 2019
Platform
js/wasm
Imports
2 packages
Last checked
1 minute ago

Tools for package owners.