MCPcopy Create free account
hub / github.com/docker/cli / getUint64

Method getUint64

cli/command/service/opts.go:822–827  ·  view source on GitHub ↗
(flagName string)

Source from the content-addressed store, hash-verified

820type flagDefaults map[string]any
821
822func (fd flagDefaults) getUint64(flagName string) uint64 {
823 if val, ok := fd[flagName].(uint64); ok {
824 return val
825 }
826 return 0
827}
828
829func (fd flagDefaults) getString(flagName string) string {
830 if val, ok := fd[flagName].(string); ok {

Callers 1

addServiceFlagsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected