Versions in this module Expand all Collapse all v5 v5.0.0 Aug 1, 2022 Changes in this version + func ReconcileFieldSetWithSchema(fieldset *fieldpath.Set, tv *TypedValue) (*fieldpath.Set, error) + type Comparison struct + Added *fieldpath.Set + Modified *fieldpath.Set + Removed *fieldpath.Set + func (c *Comparison) ExcludeFields(fields *fieldpath.Set) *Comparison + func (c *Comparison) IsSame() bool + func (c *Comparison) String() string + type ParseableType struct + Schema *schema.Schema + TypeRef schema.TypeRef + var DeducedParseableType ParseableType = ...("__untyped_deduced_") + func (p ParseableType) FromStructured(in interface{}) (*TypedValue, error) + func (p ParseableType) FromUnstructured(in interface{}) (*TypedValue, error) + func (p ParseableType) FromYAML(object YAMLObject) (*TypedValue, error) + func (p ParseableType) IsValid() bool + type Parser struct + Schema *schema.Schema + func NewParser(schema YAMLObject) (*Parser, error) + func (p *Parser) Type(name string) ParseableType + func (p *Parser) TypeNames() (names []string) + type TypedValue struct + func AsTyped(v value.Value, s *schema.Schema, typeRef schema.TypeRef) (*TypedValue, error) + func AsTypedUnvalidated(v value.Value, s *schema.Schema, typeRef schema.TypeRef) *TypedValue + func (tv TypedValue) AsValue() value.Value + func (tv TypedValue) Compare(rhs *TypedValue) (c *Comparison, err error) + func (tv TypedValue) Empty() *TypedValue + func (tv TypedValue) ExtractItems(items *fieldpath.Set) *TypedValue + func (tv TypedValue) Merge(pso *TypedValue) (*TypedValue, error) + func (tv TypedValue) NormalizeUnions(new *TypedValue) (*TypedValue, error) + func (tv TypedValue) NormalizeUnionsApply(new *TypedValue) (*TypedValue, error) + func (tv TypedValue) RemoveItems(items *fieldpath.Set) *TypedValue + func (tv TypedValue) Schema() *schema.Schema + func (tv TypedValue) ToFieldSet() (*fieldpath.Set, error) + func (tv TypedValue) TypeRef() schema.TypeRef + func (tv TypedValue) Validate() error + type ValidationError struct + ErrorMessage string + Path string + func (ve ValidationError) Error() string + type ValidationErrors []ValidationError + func (errs ValidationErrors) Error() string + func (errs ValidationErrors) WithLazyPrefix(fn func() string) ValidationErrors + func (errs ValidationErrors) WithPath(p string) ValidationErrors + func (errs ValidationErrors) WithPrefix(prefix string) ValidationErrors + type YAMLObject string v5.0.0-wrong Aug 1, 2022 Other modules containing this package sigs.k8s.io/structured-merge-diff sigs.k8s.io/structured-merge-diff/v2 sigs.k8s.io/structured-merge-diff/v3 sigs.k8s.io/structured-merge-diff/v4 sigs.k8s.io/structured-merge-diff/v6