Versions in this module Expand all Collapse all v2 v2.0.1 Jan 10, 2020 v2.0.0 Dec 24, 2019 Changes in this version + type Boolean bool + func (b Boolean) Compare(rhs Boolean) int + type Field struct + Name string + Value Value + type FieldList []Field + func (f FieldList) Compare(rhs FieldList) int + func (f FieldList) Less(rhs FieldList) bool + func (f FieldList) Sort() + type Float float64 + func (f Float) Compare(rhs Float) int + type Int int64 + func (i Int) Compare(rhs Int) int + type List struct + Items []Value + func (l *List) Compare(rhs *List) int + func (l *List) Equals(rhs *List) bool + func (l *List) Less(rhs *List) bool + type Map struct + Items []Field + func (m *Map) Compare(rhs *Map) int + func (m *Map) Delete(key string) + func (m *Map) Equals(rhs *Map) bool + func (m *Map) Get(key string) (*Field, bool) + func (m *Map) Less(rhs *Map) bool + func (m *Map) Set(key string, value Value) + type String string + type Value struct + BooleanValue *Boolean + FloatValue *Float + IntValue *Int + ListValue *List + MapValue *Map + Null bool + StringValue *String + func BooleanValue(b bool) Value + func FloatValue(f float64) Value + func FromJSON(input []byte) (Value, error) + func FromJSONFast(input []byte) (Value, error) + func FromUnstructured(in interface{}) (Value, error) + func FromYAML(input []byte) (Value, error) + func IntValue(i int) Value + func ReadJSONIter(iter *jsoniter.Iterator) (Value, error) + func StringValue(s string) Value + func (v *Value) ToJSON() ([]byte, error) + func (v *Value) ToJSONFast() ([]byte, error) + func (v *Value) ToUnstructured(preserveOrder bool) interface{} + func (v *Value) ToYAML() ([]byte, error) + func (v *Value) WriteJSONStream(stream *jsoniter.Stream) + func (v Value) Compare(rhs Value) int + func (v Value) Equals(rhs Value) bool + func (v Value) Less(rhs Value) bool + func (v Value) String() string Other modules containing this package sigs.k8s.io/structured-merge-diff sigs.k8s.io/structured-merge-diff/v3 sigs.k8s.io/structured-merge-diff/v4 sigs.k8s.io/structured-merge-diff/v5 sigs.k8s.io/structured-merge-diff/v6