package fieldpath
import "k8s.io/kubernetes/pkg/fieldpath"
Package fieldpath supplies methods for extracting fields from objects given a path to a field.
Index ¶
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.
Currently, this API is limited to supporting the fieldpaths:
1. metadata.name - The name of an API object 2. metadata.namespace - The namespace of an API object
Source Files ¶
doc.go fieldpath.go
- Version
- v1.1.6
- Published
- Jan 27, 2016
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 minutes ago –
Tools for package owners.