testplugin

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn(registerConfig bool) catalog.BuiltIn

Types

type Plugin

type Plugin struct {
	test.UnimplementedSomePluginServer
	test.UnimplementedSomeServiceServer
	configv1.UnimplementedConfigServer
	// contains filtered or unexported fields
}

func (*Plugin) BrokerHostServices

func (p *Plugin) BrokerHostServices(broker pluginsdk.ServiceBroker) error

func (*Plugin) Close added in v1.4.4

func (p *Plugin) Close() error

func (*Plugin) Configure

func (*Plugin) PluginEcho

func (p *Plugin) PluginEcho(ctx context.Context, req *test.EchoRequest) (*test.EchoResponse, error)

func (*Plugin) ServiceEcho

func (p *Plugin) ServiceEcho(ctx context.Context, req *test.EchoRequest) (*test.EchoResponse, error)

func (*Plugin) SetLogger

func (p *Plugin) SetLogger(log hclog.Logger)

type SomeHostService

type SomeHostService struct {
	test.UnimplementedSomeHostServiceServer
}

func (SomeHostService) HostServiceEcho

func (SomeHostService) HostServiceEcho(ctx context.Context, req *test.EchoRequest) (*test.EchoResponse, error)

Jump to

Keyboard shortcuts

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