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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurable

type Configurable struct {
	mock.Mock
}

Configurable is an autogenerated mock type for the Configurable type

func NewConfigurable

func NewConfigurable(t mockConstructorTestingTNewConfigurable) *Configurable

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

func (*Configurable) Config

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

Config provides a mock function with given fields:

type ConfigurableNotify

type ConfigurableNotify struct {
	mock.Mock
}

ConfigurableNotify is an autogenerated mock type for the ConfigurableNotify type

func NewConfigurableNotify

func NewConfigurableNotify(t mockConstructorTestingTNewConfigurableNotify) *ConfigurableNotify

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

func (*ConfigurableNotify) Config

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

Config provides a mock function with given fields:

func (*ConfigurableNotify) ConfigSet

func (_m *ConfigurableNotify) ConfigSet(_a0 interface{}) error

ConfigSet provides a mock function with given fields: _a0

type MetadataPlugin

type MetadataPlugin struct {
	mock.Mock
}

MetadataPlugin is an autogenerated mock type for the MetadataPlugin type

func NewMetadataPlugin

func NewMetadataPlugin(t mockConstructorTestingTNewMetadataPlugin) *MetadataPlugin

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

func (*MetadataPlugin) PluginMetadata

func (_m *MetadataPlugin) PluginMetadata(ctx context.Context) (*component.PluginMetadata, error)

PluginMetadata provides a mock function with given fields: ctx

type PipelinePlugin

type PipelinePlugin struct {
	mock.Mock
}

PipelinePlugin is an autogenerated mock type for the PipelinePlugin type

func NewPipelinePlugin

func NewPipelinePlugin(t mockConstructorTestingTNewPipelinePlugin) *PipelinePlugin

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

func (*PipelinePlugin) ActionInput

func (_m *PipelinePlugin) ActionInput(ctx context.Context, actionName string) (interface{}, error)

ActionInput provides a mock function with given fields: ctx, actionName

func (*PipelinePlugin) ActionOutput

func (_m *PipelinePlugin) ActionOutput(ctx context.Context, actionName string) (interface{}, error)

ActionOutput provides a mock function with given fields: ctx, actionName

func (*PipelinePlugin) Config

func (_m *PipelinePlugin) Config(ctx context.Context) (interface{}, error)

Config provides a mock function with given fields: ctx

func (*PipelinePlugin) ConfigSet

func (_m *PipelinePlugin) ConfigSet(ctx context.Context, config interface{}) error

ConfigSet provides a mock function with given fields: ctx, config

func (*PipelinePlugin) ExecuteAction

func (_m *PipelinePlugin) ExecuteAction(ctx context.Context, input *component.PipelinePluginActionInput, evalCtx *hcl.EvalContext) interface{}

ExecuteAction provides a mock function with given fields: ctx, input, evalCtx

func (*PipelinePlugin) Schema

Schema provides a mock function with given fields: ctx

func (*PipelinePlugin) Shutdown

func (_m *PipelinePlugin) Shutdown(ctx context.Context) error

Shutdown provides a mock function with given fields: ctx

type PipelinePluginActionResponse

type PipelinePluginActionResponse struct {
	mock.Mock
}

PipelinePluginActionResponse is an autogenerated mock type for the PipelinePluginActionResponse type

func NewPipelinePluginActionResponse

func NewPipelinePluginActionResponse(t mockConstructorTestingTNewPipelinePluginActionResponse) *PipelinePluginActionResponse

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

func (*PipelinePluginActionResponse) Outputs

func (_m *PipelinePluginActionResponse) Outputs() map[string]cty.Value

Outputs 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