Plugins: Add context to StaticRouteResolver and ErrorResolver interfaces (#73121)
* add ctx * fix tests
This commit is contained in:
@@ -118,11 +118,11 @@ type SecretsPluginManager interface {
|
||||
}
|
||||
|
||||
type StaticRouteResolver interface {
|
||||
Routes() []*StaticRoute
|
||||
Routes(ctx context.Context) []*StaticRoute
|
||||
}
|
||||
|
||||
type ErrorResolver interface {
|
||||
PluginErrors() []*Error
|
||||
PluginErrors(ctx context.Context) []*Error
|
||||
}
|
||||
|
||||
type PluginLoaderAuthorizer interface {
|
||||
|
||||
Reference in New Issue
Block a user