You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: selector.go
    path of file: ./repos/harbor/src/testing/pkg/systemartifact/cleanup
    
    the code of the file until where you have to start completion: // Code generated by mockery v2.35.4. DO NOT EDIT.

package cleanup

import (
	context "context"

	model "github.com/goharbor/harbor/src/pkg/systemartifact/model"
	mock "github.com/stretchr/testify/mock"

	q "github.com/goharbor/harbor/src/lib/q"
)

// Selector is an autogenerated mock type for the Selector type
type Selector struct {
	mock.Mock
}

// List provides a mock function with given fields: ctx
func (_m *Selector) List(ctx context.Context) ([]*model.SystemArtifact, error) {
	ret := _m.Called(ctx)

	var 
    
func (_m *Selector) List(ctx context.Context) ([]*model.SystemArtifact, error) {
	ret := _m.Called(ctx)

	var r0 []*model.SystemArtifact
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context) ([]*model.SystemArtifact, error)); ok {
		return rf(ctx)
	}
	if rf, ok := ret.Get(0).(func(context.Context) []*model.SystemArtifact); ok {
		r0 = rf(ctx)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*model.SystemArtifact)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context) error); ok {
		r1 = rf(ctx)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}