Documentation
¶
Index ¶
- Constants
- type CreationOptions
- type Manager
- func (m *Manager) ClosePlugin(p Plugin)
- func (m *Manager) CreatePlugin(opts *CreationOptions) (Plugin, error)
- func (m *Manager) DownloadProviders(ctx context.Context, providers []registry.Provider, noVerify bool) ([]registry.ProviderBinary, error)
- func (m *Manager) IsReattachProvider(rp registry.Provider) bool
- func (m *Manager) Shutdown()
- type ManagerOption
- type Plugin
- type Plugins
Constants ¶
View Source
const (
Unmanaged = "unmanaged"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreationOptions ¶ added in v0.23.0
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles lifecycle execution of CloudQuery providers
func NewManager ¶
func NewManager(r registry.Registry, opts ...ManagerOption) (*Manager, error)
func (*Manager) ClosePlugin ¶ added in v0.22.3
ClosePlugin kills a plugin instance and removes it from the managed plugins.
func (*Manager) CreatePlugin ¶ added in v0.13.6
func (m *Manager) CreatePlugin(opts *CreationOptions) (Plugin, error)
CreatePlugin creates a plugin based on CreationOptions
func (*Manager) DownloadProviders ¶ added in v0.13.6
func (m *Manager) DownloadProviders(ctx context.Context, providers []registry.Provider, noVerify bool) ([]registry.ProviderBinary, error)
DownloadProviders downloads one or more registry.Provider from the registry.Registry, if we want to skip provider verification when downloading pass true on `noVerify`
func (*Manager) IsReattachProvider ¶ added in v0.24.2
type ManagerOption ¶ added in v0.23.0
type ManagerOption func(m *Manager)
func WithAllowReattach ¶ added in v0.23.0
func WithAllowReattach() ManagerOption
WithAllowReattach allows plugin reattach to be supported by Manager
Click to show internal directories.
Click to hide internal directories.