datasourcetest

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManageOpts

type ManageOpts struct {
	Address string
}

type TestPlugin

type TestPlugin struct {
	Client *TestPluginClient
	Server *TestPluginServer
}

func Manage

func Manage(instanceFactory datasource.InstanceFactoryFunc, opts ManageOpts) (TestPlugin, error)

func (*TestPlugin) Shutdown

func (p *TestPlugin) Shutdown() error

type TestPluginClient

type TestPluginClient struct {
	DataClient        pluginv2.DataClient
	DiagnosticsClient pluginv2.DiagnosticsClient
	ResourceClient    pluginv2.ResourceClient
	// contains filtered or unexported fields
}

func (*TestPluginClient) CallResource

func (*TestPluginClient) CheckHealth

func (*TestPluginClient) QueryData

type TestPluginServer

type TestPluginServer struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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