Documentation ¶
Index ¶
- type ArtifactDigestCalculator
- type FilterProcessor
- func (_m *FilterProcessor) ProcessLabelFilter(ctx context.Context, labelIDs []int64, arts []*artifact.Artifact) ([]*artifact.Artifact, error)
- func (_m *FilterProcessor) ProcessRepositoryFilter(ctx context.Context, filter string, projectIDs []int64) ([]int64, error)
- func (_m *FilterProcessor) ProcessTagFilter(ctx context.Context, filter string, repositoryIDs []int64) ([]*artifact.Artifact, error)
- type Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactDigestCalculator ¶
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.
type FilterProcessor ¶
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 ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
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.