component

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	mock.Mock
}

Component is an autogenerated mock type for the Component type

func NewComponent

func NewComponent(t mockConstructorTestingTNewComponent) *Component

NewComponent creates a new instance of Component. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Component) Done

func (_m *Component) Done() <-chan struct{}

Done provides a mock function with given fields:

func (*Component) Ready

func (_m *Component) Ready() <-chan struct{}

Ready provides a mock function with given fields:

func (*Component) Start

func (_m *Component) Start(_a0 irrecoverable.SignalerContext)

Start provides a mock function with given fields: _a0

type ComponentFactory

type ComponentFactory struct {
	mock.Mock
}

ComponentFactory is an autogenerated mock type for the ComponentFactory type

func NewComponentFactory

func NewComponentFactory(t mockConstructorTestingTNewComponentFactory) *ComponentFactory

NewComponentFactory creates a new instance of ComponentFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ComponentFactory) Execute

func (_m *ComponentFactory) Execute() (component.Component, error)

Execute provides a mock function with given fields:

type ComponentManagerBuilder

type ComponentManagerBuilder struct {
	mock.Mock
}

ComponentManagerBuilder is an autogenerated mock type for the ComponentManagerBuilder type

func NewComponentManagerBuilder

func NewComponentManagerBuilder(t mockConstructorTestingTNewComponentManagerBuilder) *ComponentManagerBuilder

NewComponentManagerBuilder creates a new instance of ComponentManagerBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ComponentManagerBuilder) AddWorker

AddWorker provides a mock function with given fields: _a0

func (*ComponentManagerBuilder) Build

Build provides a mock function with given fields:

type ComponentWorker

type ComponentWorker struct {
	mock.Mock
}

ComponentWorker is an autogenerated mock type for the ComponentWorker type

func NewComponentWorker

func NewComponentWorker(t mockConstructorTestingTNewComponentWorker) *ComponentWorker

NewComponentWorker creates a new instance of ComponentWorker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ComponentWorker) Execute

Execute provides a mock function with given fields: ctx, ready

type ReadyFunc

type ReadyFunc struct {
	mock.Mock
}

ReadyFunc is an autogenerated mock type for the ReadyFunc type

func NewReadyFunc

func NewReadyFunc(t mockConstructorTestingTNewReadyFunc) *ReadyFunc

NewReadyFunc creates a new instance of ReadyFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ReadyFunc) Execute

func (_m *ReadyFunc) Execute()

Execute provides a mock function with given fields:

Jump to

Keyboard shortcuts

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