Versions in this module Expand all Collapse all v3 v3.0.1 Mar 29, 2021 Changes in this version type Set + func (s *Set) EnsureNamedFieldsAreMembers(sc *schema.Schema, tr schema.TypeRef) *Set type SetNodeMap + func (s *SetNodeMap) EnsureNamedFieldsAreMembers(sc *schema.Schema, tr schema.TypeRef) *SetNodeMap v3.0.0 Mar 5, 2020 Changes in this version + var AssociativeListCandidateFieldNames = []string + var ErrUnknownPathElementType = errors.New("unknown path element type") + func KeyByFields(nameValues ...interface{}) *value.FieldList + func SerializePathElement(pe PathElement) (string, error) + type APIVersion string + type ManagedFields map[string]VersionedSet + func (lhs ManagedFields) Copy() ManagedFields + func (lhs ManagedFields) Difference(rhs ManagedFields) ManagedFields + func (lhs ManagedFields) Equals(rhs ManagedFields) bool + func (lhs ManagedFields) String() string + type Path []PathElement + func MakePath(parts ...interface{}) (Path, error) + func MakePathOrDie(parts ...interface{}) Path + func (fp Path) Compare(rhs Path) int + func (fp Path) Copy() Path + func (fp Path) Equals(fp2 Path) bool + func (fp Path) String() string + type PathElement struct + FieldName *string + Index *int + Key *value.FieldList + Value *value.Value + func DeserializePathElement(s string) (PathElement, error) + func (e PathElement) Compare(rhs PathElement) int + func (e PathElement) Equals(rhs PathElement) bool + func (e PathElement) Less(rhs PathElement) bool + func (e PathElement) String() string + type PathElementSet struct + func MakePathElementSet(size int) PathElementSet + func (s *PathElementSet) Difference(s2 *PathElementSet) *PathElementSet + func (s *PathElementSet) Equals(s2 *PathElementSet) bool + func (s *PathElementSet) Has(pe PathElement) bool + func (s *PathElementSet) Insert(pe PathElement) + func (s *PathElementSet) Intersection(s2 *PathElementSet) *PathElementSet + func (s *PathElementSet) Iterate(f func(PathElement)) + func (s *PathElementSet) Size() int + func (s *PathElementSet) Union(s2 *PathElementSet) *PathElementSet + type PathElementValueMap struct + func MakePathElementValueMap(size int) PathElementValueMap + func (s *PathElementValueMap) Get(pe PathElement) (value.Value, bool) + func (s *PathElementValueMap) Insert(pe PathElement, v value.Value) + type Set struct + Children SetNodeMap + Members PathElementSet + func NewSet(paths ...Path) *Set + func SetFromValue(v value.Value) *Set + func (s *Set) Difference(s2 *Set) *Set + func (s *Set) Empty() bool + func (s *Set) Equals(s2 *Set) bool + func (s *Set) FromJSON(r io.Reader) error + func (s *Set) Has(p Path) bool + func (s *Set) Insert(p Path) + func (s *Set) Intersection(s2 *Set) *Set + func (s *Set) Iterate(f func(Path)) + func (s *Set) Size() int + func (s *Set) String() string + func (s *Set) ToJSON() ([]byte, error) + func (s *Set) ToJSONStream(w io.Writer) error + func (s *Set) Union(s2 *Set) *Set + func (s *Set) WithPrefix(pe PathElement) *Set + type SetNodeMap struct + func (s *SetNodeMap) Descend(pe PathElement) *Set + func (s *SetNodeMap) Difference(s2 *Set) *SetNodeMap + func (s *SetNodeMap) Empty() bool + func (s *SetNodeMap) Equals(s2 *SetNodeMap) bool + func (s *SetNodeMap) Get(pe PathElement) (*Set, bool) + func (s *SetNodeMap) Intersection(s2 *SetNodeMap) *SetNodeMap + func (s *SetNodeMap) Iterate(f func(PathElement)) + func (s *SetNodeMap) Size() int + func (s *SetNodeMap) Union(s2 *SetNodeMap) *SetNodeMap + type VersionedSet interface + APIVersion func() APIVersion + Applied func() bool + Set func() *Set + func NewVersionedSet(set *Set, apiVersion APIVersion, applied bool) VersionedSet Other modules containing this package sigs.k8s.io/structured-merge-diff sigs.k8s.io/structured-merge-diff/v2 sigs.k8s.io/structured-merge-diff/v4 sigs.k8s.io/structured-merge-diff/v5 sigs.k8s.io/structured-merge-diff/v6