kubernetes/vendor/github.com/godbus/dbus/v5/variant.go

type Variant

// MakeVariant converts the given value to a Variant. It panics if v cannot be
// represented as a D-Bus type.
func MakeVariant(v interface{}

// MakeVariantWithSignature converts the given value to a Variant.
func MakeVariantWithSignature(v interface{}

// ParseVariant parses the given string as a variant as described at
// https://developer.gnome.org/glib/stable/gvariant-text.html. If sig is not
// empty, it is taken to be the expected signature for the variant.
func ParseVariant(s string, sig Signature) (Variant, error) {}

// format returns a formatted version of v and whether this string can be parsed
// unambiguously.
func (v Variant) format() (string, bool) {}

// Signature returns the D-Bus signature of the underlying value of v.
func (v Variant) Signature() Signature {}

// String returns the string representation of the underlying value of v as
// described at https://developer.gnome.org/glib/stable/gvariant-text.html.
func (v Variant) String() string {}

// Value returns the underlying value of v.
func (v Variant) Value() interface{}

// Store converts the variant into a native go type using the same
// mechanism as the "Store" function.
func (v Variant) Store(value interface{}