MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / getUint64Property

Function getUint64Property

configuration/configuration.go:52–59  ·  view source on GitHub ↗
(property properties.ConfigurableProperty)

Source from the content-addressed store, hash-verified

50}
51
52func getUint64Property(property properties.ConfigurableProperty) uint64 {
53 uncastedValue := getPropertyOrDefault(property)
54 value, ok := uncastedValue.(uint64)
55 if !ok {
56 panic(fmt.Sprintf(unknownError, property.Name, uncastedValue))
57 }
58 return value
59}
60
61func getBoolProperty(property properties.ConfigurableProperty) bool {
62 uncastedValue := getPropertyOrDefault(property)

Callers 1

Calls 1

getPropertyOrDefaultFunction · 0.85

Tested by

no test coverage detected