Response contains the plugin secret value
| 27 | |
| 28 | // Response contains the plugin secret value |
| 29 | type 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. |
| 40 | type EndpointSpec struct { |
nothing calls this directly
no outgoing calls
no test coverage detected