Documentation ¶
Index ¶
- type FixedValue
- type FixedValuePtr
- type Marshaler
- type Properties
- func (obj Properties) GetAsDict(key, listSeparator, keyValueSeparator string, allowNoValue bool) (types.PVEDictionary, error)
- func (obj Properties) GetAsList(key, separator string) (types.PVEList, error)
- func (props Properties) SetBool(key string, ptr *bool, def bool, funcs *schema.BoolFunctions) error
- func (props Properties) SetFixedValue(key string, ptr FixedValuePtr, def FixedValue, validate func(FixedValue) bool) error
- func (props Properties) SetInt(key string, ptr *int, def int, funcs *schema.IntFunctions) error
- func (props Properties) SetRequiredBool(key string, ptr *bool, funcs *schema.BoolFunctions) error
- func (props Properties) SetRequiredFixedValue(key string, ptr FixedValuePtr, validate func(FixedValue) bool) error
- func (props Properties) SetRequiredInt(key string, ptr *int, funcs *schema.IntFunctions) error
- func (props Properties) SetRequiredString(key string, ptr *string, funcs *schema.StringFunctions) error
- func (props Properties) SetRequiredUint(key string, ptr *uint, funcs *schema.UintFunctions) error
- func (props Properties) SetRequiredUintFromString(key string, ptr *uint, funcs *schema.UintFunctions) error
- func (props Properties) SetString(key string, ptr *string, def string, funcs *schema.StringFunctions) error
- func (props Properties) SetUint(key string, ptr *uint, def uint, funcs *schema.UintFunctions) error
- func (props Properties) SetUintFromString(key string, ptr *uint, def uint, funcs *schema.UintFunctions) error
- type Unmarshaler
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixedValue ¶
type FixedValuePtr ¶
type FixedValuePtr interface { FixedValue Unmarshaler json.Unmarshaler }
type Properties ¶
type Properties map[string]interface{}
func (Properties) GetAsDict ¶
func (obj Properties) GetAsDict( key, listSeparator, keyValueSeparator string, allowNoValue bool, ) (types.PVEDictionary, error)
func (Properties) GetAsList ¶
func (obj Properties) GetAsList(key, separator string) (types.PVEList, error)
func (Properties) SetBool ¶
func (props Properties) SetBool( key string, ptr *bool, def bool, funcs *schema.BoolFunctions, ) error
func (Properties) SetFixedValue ¶
func (props Properties) SetFixedValue( key string, ptr FixedValuePtr, def FixedValue, validate func(FixedValue) bool, ) error
func (Properties) SetInt ¶
func (props Properties) SetInt( key string, ptr *int, def int, funcs *schema.IntFunctions, ) error
func (Properties) SetRequiredBool ¶
func (props Properties) SetRequiredBool( key string, ptr *bool, funcs *schema.BoolFunctions, ) error
func (Properties) SetRequiredFixedValue ¶
func (props Properties) SetRequiredFixedValue( key string, ptr FixedValuePtr, validate func(FixedValue) bool, ) error
func (Properties) SetRequiredInt ¶
func (props Properties) SetRequiredInt( key string, ptr *int, funcs *schema.IntFunctions, ) error
func (Properties) SetRequiredString ¶
func (props Properties) SetRequiredString( key string, ptr *string, funcs *schema.StringFunctions, ) error
func (Properties) SetRequiredUint ¶
func (props Properties) SetRequiredUint( key string, ptr *uint, funcs *schema.UintFunctions, ) error
func (Properties) SetRequiredUintFromString ¶
func (props Properties) SetRequiredUintFromString( key string, ptr *uint, funcs *schema.UintFunctions, ) error
func (Properties) SetString ¶
func (props Properties) SetString( key string, ptr *string, def string, funcs *schema.StringFunctions, ) error
func (Properties) SetUint ¶
func (props Properties) SetUint( key string, ptr *uint, def uint, funcs *schema.UintFunctions, ) error
func (Properties) SetUintFromString ¶
func (props Properties) SetUintFromString( key string, ptr *uint, def uint, funcs *schema.UintFunctions, ) error
type Unmarshaler ¶
Click to show internal directories.
Click to hide internal directories.