mocks

package
v0.0.0-...-44822b5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-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 FilesValidator

type FilesValidator struct {
	mock.Mock
}

FilesValidator is an autogenerated mock type for the FilesValidator type

func NewFilesValidator

func NewFilesValidator(t mockConstructorTestingTNewFilesValidator) *FilesValidator

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

func (*FilesValidator) Validate

func (_m *FilesValidator) Validate(logPipeline *v1alpha1.LogPipeline, logPipelines *v1alpha1.LogPipelineList) error

Validate provides a mock function with given fields: logPipeline, logPipelines

type InputValidator

type InputValidator struct {
	mock.Mock
}

InputValidator is an autogenerated mock type for the InputValidator type

func NewInputValidator

func NewInputValidator(t mockConstructorTestingTNewInputValidator) *InputValidator

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

func (*InputValidator) Validate

func (_m *InputValidator) Validate(logPipelineInput *v1alpha1.Input) error

Validate provides a mock function with given fields: logPipelineInput

type MaxPipelinesValidator

type MaxPipelinesValidator struct {
	mock.Mock
}

MaxPipelinesValidator is an autogenerated mock type for the MaxPipelinesValidator type

func NewMaxPipelinesValidator

func NewMaxPipelinesValidator(t mockConstructorTestingTNewMaxPipelinesValidator) *MaxPipelinesValidator

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

func (*MaxPipelinesValidator) Validate

func (_m *MaxPipelinesValidator) Validate(logPipeline *v1alpha1.LogPipeline, logPipelines *v1alpha1.LogPipelineList) error

Validate provides a mock function with given fields: logPipeline, logPipelines

type OutputValidator

type OutputValidator struct {
	mock.Mock
}

OutputValidator is an autogenerated mock type for the OutputValidator type

func NewOutputValidator

func NewOutputValidator(t mockConstructorTestingTNewOutputValidator) *OutputValidator

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

func (*OutputValidator) Validate

func (_m *OutputValidator) Validate(logPipeline *v1alpha1.LogPipeline) error

Validate provides a mock function with given fields: logPipeline

type PluginValidator

type PluginValidator struct {
	mock.Mock
}

PluginValidator is an autogenerated mock type for the PluginValidator type

func NewPluginValidator

func NewPluginValidator(t mockConstructorTestingTNewPluginValidator) *PluginValidator

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

func (*PluginValidator) ContainsCustomPlugin

func (_m *PluginValidator) ContainsCustomPlugin(logPipeline *v1alpha1.LogPipeline) bool

ContainsCustomPlugin provides a mock function with given fields: logPipeline

func (*PluginValidator) Validate

func (_m *PluginValidator) Validate(logPipeline *v1alpha1.LogPipeline) error

Validate provides a mock function with given fields: logPipeline

type VariablesValidator

type VariablesValidator struct {
	mock.Mock
}

VariablesValidator is an autogenerated mock type for the VariablesValidator type

func NewVariablesValidator

func NewVariablesValidator(t mockConstructorTestingTNewVariablesValidator) *VariablesValidator

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

func (*VariablesValidator) Validate

func (_m *VariablesValidator) Validate(_a0 context.Context, logPipeline *v1alpha1.LogPipeline, logPipelines *v1alpha1.LogPipelineList) error

Validate provides a mock function with given fields: _a0, logPipeline, logPipelines

Jump to

Keyboard shortcuts

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