export

package
v0.0.0-...-d01dfd4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-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 ArtifactDigestCalculator

type ArtifactDigestCalculator struct {
	mock.Mock
}

ArtifactDigestCalculator is an autogenerated mock type for the ArtifactDigestCalculator type

func NewArtifactDigestCalculator

func NewArtifactDigestCalculator(t interface {
	mock.TestingT
	Cleanup(func())
}) *ArtifactDigestCalculator

NewArtifactDigestCalculator creates a new instance of ArtifactDigestCalculator. 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 (*ArtifactDigestCalculator) Calculate

func (_m *ArtifactDigestCalculator) Calculate(fileName string) (digest.Digest, error)

Calculate provides a mock function with given fields: fileName

type FilterProcessor

type FilterProcessor struct {
	mock.Mock
}

FilterProcessor is an autogenerated mock type for the FilterProcessor type

func NewFilterProcessor

func NewFilterProcessor(t interface {
	mock.TestingT
	Cleanup(func())
}) *FilterProcessor

NewFilterProcessor creates a new instance of FilterProcessor. 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 (*FilterProcessor) ProcessLabelFilter

func (_m *FilterProcessor) ProcessLabelFilter(ctx context.Context, labelIDs []int64, arts []*artifact.Artifact) ([]*artifact.Artifact, error)

ProcessLabelFilter provides a mock function with given fields: ctx, labelIDs, arts

func (*FilterProcessor) ProcessRepositoryFilter

func (_m *FilterProcessor) ProcessRepositoryFilter(ctx context.Context, filter string, projectIds []int64) ([]int64, error)

ProcessRepositoryFilter provides a mock function with given fields: ctx, filter, projectIds

func (*FilterProcessor) ProcessTagFilter

func (_m *FilterProcessor) ProcessTagFilter(ctx context.Context, filter string, repositoryIds []int64) ([]*artifact.Artifact, error)

ProcessTagFilter provides a mock function with given fields: ctx, filter, repositoryIds

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. 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 (*Manager) Fetch

func (_m *Manager) Fetch(ctx context.Context, params export.Params) ([]export.Data, error)

Fetch provides a mock function with given fields: ctx, params

Jump to

Keyboard shortcuts

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