mocks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MPL-2.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 Action

type Action struct {
	mock.Mock
}

Action is an autogenerated mock type for the Action type

func NewAction

func NewAction(t mockConstructorTestingTNewAction) *Action

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

func (*Action) ExecuteFunc

func (_m *Action) ExecuteFunc() interface{}

ExecuteFunc provides a mock function with given fields:

func (*Action) Metadata

func (_m *Action) Metadata() *pipeline.ActionMetadata

Metadata provides a mock function with given fields:

type ActionInput

type ActionInput struct {
	mock.Mock
}

ActionInput is an autogenerated mock type for the ActionInput type

func NewActionInput

func NewActionInput(t mockConstructorTestingTNewActionInput) *ActionInput

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

func (*ActionInput) IsActionInput

func (_m *ActionInput) IsActionInput()

IsActionInput provides a mock function with given fields:

type ConfigurableAction

type ConfigurableAction struct {
	mock.Mock
}

ConfigurableAction is an autogenerated mock type for the ConfigurableAction type

func NewConfigurableAction

func NewConfigurableAction(t mockConstructorTestingTNewConfigurableAction) *ConfigurableAction

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

func (*ConfigurableAction) Configure

func (_m *ConfigurableAction) Configure(data interface{}, logger hclog.Logger) error

Configure provides a mock function with given fields: data, logger

type Plugin

type Plugin struct {
	mock.Mock
}

Plugin is an autogenerated mock type for the Plugin type

func NewPlugin

func NewPlugin(t mockConstructorTestingTNewPlugin) *Plugin

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

func (*Plugin) Config

func (_m *Plugin) Config() (interface{}, error)

Config provides a mock function with given fields:

func (*Plugin) GetActions

func (_m *Plugin) GetActions() []func() pipeline.Action

GetActions provides a mock function with given fields:

func (*Plugin) PluginData

func (_m *Plugin) PluginData(logger hclog.Logger) (interface{}, error)

PluginData provides a mock function with given fields: logger

func (*Plugin) ValidateConfig

func (_m *Plugin) ValidateConfig(config interface{}) error

ValidateConfig provides a mock function with given fields: config

Jump to

Keyboard shortcuts

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