MCPcopy Index your code
hub / github.com/moby/moby / SetName

Method SetName

pkg/authorization/plugin.go:66–68  ·  view source on GitHub ↗

Set the remote for an authz pluginv2

(remote string)

Source from the content-addressed store, hash-verified

64
65// Set the remote for an authz pluginv2
66func (a *authorizationPlugin) SetName(remote string) {
67 a.name = remote
68}
69
70func (a *authorizationPlugin) AuthZRequest(authReq *Request) (*Response, error) {
71 if err := a.initPlugin(); err != nil {

Callers 1

initPluginMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected