MCPcopy Index your code
hub / github.com/apache/cloudstack-go / getSortedKeysFromMap

Function getSortedKeysFromMap

cloudstack/cloudstack.go:669–675  ·  view source on GitHub ↗

getSortedKeysFromMap returns the keys from m in increasing order.

(m map[string]string)

Source from the content-addressed store, hash-verified

667
668// getSortedKeysFromMap returns the keys from m in increasing order.
669func getSortedKeysFromMap(m map[string]string) (keys []string) {
670 for k := range m {
671 keys = append(keys, k)
672 }
673 sort.Strings(keys)
674 return keys
675}
676
677// WithAsyncTimeout takes a custom timeout to be used by the CloudStackClient
678func WithAsyncTimeout(timeout int64) ClientOption {

Callers 15

toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85
toURLValuesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected