package fieldpath
import "k8s.io/kubernetes/pkg/fieldpath"
Package fieldpath supplies methods for extracting fields from objects given a path to a field.
Index ¶
- func ExtractFieldPathAsString(obj interface{}, fieldPath string) (string, error)
- func FormatMap(m map[string]string) (fmtStr string)
Functions ¶
func ExtractFieldPathAsString ¶
ExtractFieldPathAsString extracts the field from the given object and returns it as a string. The object must be a pointer to an API type.
func FormatMap ¶
FormatMap formats map[string]string to a string.
Source Files ¶
doc.go fieldpath.go
- Version
- v1.8.0-rc.1
- Published
- Sep 23, 2017
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 2 minutes ago –
Tools for package owners.