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

Function uint32Ptr

cli/compose/convert/service.go:416–418  ·  view source on GitHub ↗
(value uint32)

Source from the content-addressed store, hash-verified

414}
415
416func uint32Ptr(value uint32) *uint32 {
417 return &value
418}
419
420// convertExtraHosts converts <host>:<ip> mappings to SwarmKit notation:
421// "IP-address hostname(s)". The original order of mappings is preserved.

Callers 2

TestConvertFileObjectFunction · 0.70
convertFileObjectFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestConvertFileObjectFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…