Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/docker/cli
/ ClientVersion
Method
ClientVersion
cli/command/cli_test.go:154–156 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
152
}
153
154
func
(c *fakeClient) ClientVersion() string {
155
return
c.version
156
}
157
158
func
TestInitializeFromClient(t *testing.T) {
159
const
defaultVersion =
"v1.55"
Callers
6
CurrentVersion
Method · 0.45
TestNewAPIClientFromFlags
Function · 0.45
TestNewAPIClientFromFlagsForDefaultSchema
Function · 0.45
TestNewAPIClientFromFlagsWithCustomHeaders
Function · 0.45
TestNewAPIClientFromFlagsWithCustomHeadersFromEnv
Function · 0.45
TestNewAPIClientFromFlagsWithAPIVersionFromEnv
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected