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

Function isSupported

cmd/docker/docker.go:665–670  ·  view source on GitHub ↗
(cmd *cobra.Command, details versionDetails)

Source from the content-addressed store, hash-verified

663}
664
665func isSupported(cmd *cobra.Command, details versionDetails) error {
666 if err := areSubcommandsSupported(cmd, details); err != nil {
667 return err
668 }
669 return areFlagsSupported(cmd, details)
670}
671
672func areFlagsSupported(cmd *cobra.Command, details versionDetails) error {
673 var errs []error

Callers 4

newDockerCommandFunction · 0.85
setFlagErrorFuncFunction · 0.85
setHelpFuncFunction · 0.85
setValidateArgsFunction · 0.85

Calls 2

areSubcommandsSupportedFunction · 0.85
areFlagsSupportedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…