Documentation ¶
Index ¶
- func Bool(def bool, path ...string) bool
- func Duration(def time.Duration, path ...string) time.Duration
- func Float(def float64, path ...string) float64
- func GetAll(flatten bool) map[string]interface{}
- func HasString(path ...string) bool
- func Int(def int, path ...string) int
- func IsMaster() bool
- func IsPaired() bool
- func IsSlave() bool
- func MustBool(path ...string) bool
- func MustDuration(path ...string) time.Duration
- func MustFloat(path ...string) float64
- func MustInt(path ...string) int
- func MustRefresh()
- func MustString(path ...string) string
- func MustStringArray(path ...string) []string
- func NoCloud() bool
- func Serial() string
- func SphereVersion() string
- func String(def string, path ...string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustDuration ¶
MustDuration returns the string property at the path, as a time.Duration
func MustRefresh ¶
func MustRefresh()
func MustString ¶
MustString returns the string property at the path
func MustStringArray ¶
MustStringArray returns the string array property at the path
func SphereVersion ¶
func SphereVersion() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.