package field
import "k8s.io/utils/field"
Index ¶
Types ¶
type Path ¶
type Path struct {
// contains filtered or unexported fields
}
Path represents the path from some root to a particular field.
func NewPath ¶
NewPath creates a root Path object.
func (*Path) Child ¶
Child creates a new Path that is a child of the method receiver.
func (*Path) Index ¶
Index indicates that the previous Path is to be subscripted by an int. This sets the same underlying value as Key.
func (*Path) Key ¶
Key indicates that the previous Path is to be subscripted by a string. This sets the same underlying value as Index.
func (*Path) Root ¶
Root returns the root element of this Path.
func (*Path) String ¶
String produces a string representation of the Path.
Source Files ¶
path.go
- Version
- v0.0.0-20250321185631-1f6e0b77f77e (latest)
- Published
- Mar 21, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 month ago –
Tools for package owners.