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.9.1-beta.0
Published
Dec 15, 2017
Platform
js/wasm
Imports
2 packages
Last checked
7 minutes ago

Tools for package owners.