UnloadPlugin removes one plugin from the active runtime and closes its dynamic library.
(id string)
| 86 | |
| 87 | // UnloadPlugin removes one plugin from the active runtime and closes its dynamic library. |
| 88 | func (h *Host) UnloadPlugin(id string) bool { |
| 89 | if h == nil || h.inner == nil { |
| 90 | return false |
| 91 | } |
| 92 | return h.inner.UnloadPlugin(id) |
| 93 | } |
| 94 | |
| 95 | // ParseAuth lets plugin auth providers parse a credential payload. |
| 96 | func (h *Host) ParseAuth(ctx context.Context, req pluginapi.AuthParseRequest) (*coreauth.Auth, bool, error) { |
nothing calls this directly
no test coverage detected