Advisor: Skip plugin check for provisioned plugins (#101782)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package provisionedplugins
|
||||
|
||||
import "context"
|
||||
|
||||
type Manager interface {
|
||||
ProvisionedPlugins(ctx context.Context) ([]string, error)
|
||||
}
|
||||
|
||||
var _ Manager = (*Noop)(nil)
|
||||
|
||||
type Noop struct{}
|
||||
|
||||
func NewNoop() *Noop {
|
||||
return &Noop{}
|
||||
}
|
||||
|
||||
func (s *Noop) ProvisionedPlugins(_ context.Context) ([]string, error) {
|
||||
return []string{}, nil
|
||||
}
|
||||
Reference in New Issue
Block a user