automanagement

package
v0.999.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	instancemgmt.InstanceManager
}

Manager is a helper to simplify instance management for plugin developers. It gets instancemgmt.InstanceManager on every call thus making sure datasource instance disposed on configuration change and new datasource instance created.

func NewManager

func NewManager(instanceManager instancemgmt.InstanceManager) *Manager

NewManager creates Manager. It accepts datasource instance factory.

func (*Manager) CallResource

func (*Manager) CheckHealth

func (*Manager) PublishStream

func (*Manager) QueryData

func (*Manager) RunStream

func (m *Manager) RunStream(ctx context.Context, req *backend.RunStreamRequest, sender *backend.StreamSender) error

func (*Manager) SubscribeStream

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL