MCPcopy Index your code
hub / github.com/cloudfoundry/multiapps-cli-plugin / getStringProperty

Function getStringProperty

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

Source from the content-addressed store, hash-verified

41}
42
43func getStringProperty(property properties.ConfigurableProperty) string {
44 uncastedValue := getPropertyOrDefault(property)
45 value, ok := uncastedValue.(string)
46 if !ok {
47 panic(fmt.Sprintf(unknownError, property.Name, uncastedValue))
48 }
49 return value
50}
51
52func getUint64Property(property properties.ConfigurableProperty) uint64 {
53 uncastedValue := getPropertyOrDefault(property)

Callers 1

GetBackendURLMethod · 0.85

Calls 1

getPropertyOrDefaultFunction · 0.85

Tested by

no test coverage detected