MCPcopy Create free account
hub / github.com/docker/go-plugins-helpers / Response

Struct Response

secrets/api.go:29–37  ·  view source on GitHub ↗

Response contains the plugin secret value

Source from the content-addressed store, hash-verified

27
28// Response contains the plugin secret value
29type Response struct {
30 Value []byte `json:",omitempty"` // Value is the value of the secret
31 Err string `json:",omitempty"` // Err is the error response of the plugin
32
33 // DoNotReuse indicates that the secret returned from this request should
34 // only be used for one task, and any further tasks should call the secret
35 // driver again.
36 DoNotReuse bool `json:",omitempty"`
37}
38
39// EndpointSpec represents the spec of an endpoint.
40type EndpointSpec struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected