Documentation
¶
Index ¶
- Constants
- func GetProviderPath(details *registry.ProviderDetails) (string, error)
- type Manager
- func (p *Manager) GetOrCreateProvider(details *registry.ProviderDetails) (cqproto.CQProvider, error)
- func (p *Manager) GetProvider(providerName, version string) (cqproto.CQProvider, error)
- func (p *Manager) KillProvider(providerName string) error
- func (p *Manager) ListUnmanaged() map[string]registry.ProviderDetails
- func (p *Manager) Shutdown()
- type Plugin
Constants ¶
View Source
const (
DefaultOrganization = "cloudquery"
)
Variables ¶
This section is empty.
Functions ¶
func GetProviderPath ¶
func GetProviderPath(details *registry.ProviderDetails) (string, error)
GetProviderPath returns expected path of provider on file system from name and version of plugin
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles lifecycle execution of CloudQuery providers
func NewManager ¶
func (*Manager) GetOrCreateProvider ¶
func (p *Manager) GetOrCreateProvider(details *registry.ProviderDetails) (cqproto.CQProvider, error)
func (*Manager) GetProvider ¶
func (p *Manager) GetProvider(providerName, version string) (cqproto.CQProvider, error)
func (*Manager) KillProvider ¶
func (*Manager) ListUnmanaged ¶
func (p *Manager) ListUnmanaged() map[string]registry.ProviderDetails
Click to show internal directories.
Click to hide internal directories.