MCPcopy Index your code
hub / github.com/docker/cli / newListOptsVarWithValidator

Function newListOptsVarWithValidator

cli/command/service/update.go:150–152  ·  view source on GitHub ↗
(validator opts.ValidatorFctType)

Source from the content-addressed store, hash-verified

148}
149
150func newListOptsVarWithValidator(validator opts.ValidatorFctType) *opts.ListOpts {
151 return opts.NewListOptsRef(&[]string{}, validator)
152}
153
154//nolint:gocyclo
155func runUpdate(ctx context.Context, dockerCLI command.Cli, flags *pflag.FlagSet, options *serviceOptions, serviceID string) error {

Callers 1

newUpdateCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…