inline

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	wire.Config
	// contains filtered or unexported fields
}

func New

func New(opts ...func(*Plugin)) *Plugin

func (*Plugin) Init

func (p *Plugin) Init(ctx context.Context, _ *proto.Job) error

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) Plugin

func (p *Plugin) Plugin(_ context.Context, q *proto.P) any

func (*Plugin) Step

func (p *Plugin) Step(context.Context) any

func (*Plugin) Subscribe

func (p *Plugin) Subscribe(context.Context) <-chan proto.Message

func (*Plugin) WithProto

func (p *Plugin) WithProto(q *proto.P) *Plugin

type Step

type Step struct {
	wire.Step `json:",inline"`
	// contains filtered or unexported fields
}

func (*Step) Stop

func (s *Step) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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