Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/secrets-engine
/ validName
Function
validName
x/api/name.go:57–62 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
55
}
56
57
func
validName(s string) error {
58
if
s ==
""
{
59
return
ErrEmptyName
60
}
61
return
nil
62
}
Callers
1
NewName
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected