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.8-beta.0
Published
Apr 18, 2018
Platform
js/wasm
Imports
2 packages
Last checked
2 minutes ago

Tools for package owners.