processor

package
v0.0.0-...-a548ab7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	mock.Mock
}

Processor is an autogenerated mock type for the Processor type

func NewProcessor

func NewProcessor(t interface {
	mock.TestingT
	Cleanup(func())
}) *Processor

NewProcessor creates a new instance of Processor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Processor) AbstractAddition

func (_m *Processor) AbstractAddition(ctx context.Context, _a1 *artifact.Artifact, additionType string) (*processor.Addition, error)

AbstractAddition provides a mock function with given fields: ctx, _a1, additionType

func (*Processor) AbstractMetadata

func (_m *Processor) AbstractMetadata(ctx context.Context, _a1 *artifact.Artifact, manifest []byte) error

AbstractMetadata provides a mock function with given fields: ctx, _a1, manifest

func (*Processor) GetArtifactType

func (_m *Processor) GetArtifactType(ctx context.Context, _a1 *artifact.Artifact) string

GetArtifactType provides a mock function with given fields: ctx, _a1

func (*Processor) ListAdditionTypes

func (_m *Processor) ListAdditionTypes(ctx context.Context, _a1 *artifact.Artifact) []string

ListAdditionTypes provides a mock function with given fields: ctx, _a1

Jump to

Keyboard shortcuts

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