mocks

package
v0.0.0-...-3a39f3c Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockedNoder

type MockedNoder struct {
	N *astiflow.Node
	// contains filtered or unexported fields
}

func NewDefaultMockedNoder

func NewDefaultMockedNoder() *MockedNoder

func NewMockedNoder

func NewMockedNoder(onStart func(ctx context.Context, tc astikit.TaskCreator), ss []astikit.DeltaStat) *MockedNoder

func (*MockedNoder) DeltaStats

func (n *MockedNoder) DeltaStats() []astikit.DeltaStat

func (*MockedNoder) Start

func (n *MockedNoder) Start(ctx context.Context, tc astikit.TaskCreator)

type MockedPlugin

type MockedPlugin struct {
	Initialized bool
	Started     bool
}

func NewMockedPlugin

func NewMockedPlugin() *MockedPlugin

func (*MockedPlugin) Init

func (p *MockedPlugin) Init(c *astikit.Closer, f *astiflow.Flow) error

func (*MockedPlugin) Start

func (p *MockedPlugin) Start(ctx context.Context, tc astikit.TaskCreator)

Jump to

Keyboard shortcuts

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