kubernetes/vendor/sigs.k8s.io/structured-merge-diff/v4/value/valueunstructured.go

// NewValueInterface creates a Value backed by an "interface{}" type,
// typically an unstructured object in Kubernetes world.
// interface{} must be one of: map[string]interface{}, map[interface{}]interface{}, []interface{}, int types, float types,
// string or boolean. Nested interface{} must also be one of these types.
func NewValueInterface(v interface{}

type valueUnstructured

// reuse replaces the value of the valueUnstructured.
func (vi *valueUnstructured) reuse(value interface{}

func (v valueUnstructured) IsMap() bool {}

func (v valueUnstructured) AsMap() Map {}

func (v valueUnstructured) AsMapUsing(_ Allocator) Map {}

func (v valueUnstructured) IsList() bool {}

func (v valueUnstructured) AsList() List {}

func (v valueUnstructured) AsListUsing(_ Allocator) List {}

func (v valueUnstructured) IsFloat() bool {}

func (v valueUnstructured) AsFloat() float64 {}

func (v valueUnstructured) IsInt() bool {}

func (v valueUnstructured) AsInt() int64 {}

func (v valueUnstructured) IsString() bool {}

func (v valueUnstructured) AsString() string {}

func (v valueUnstructured) IsBool() bool {}

func (v valueUnstructured) AsBool() bool {}

func (v valueUnstructured) IsNull() bool {}

func (v valueUnstructured) Unstructured() interface{}