| 142 | } |
| 143 | |
| 144 | func (m *MockLocalBase) Move( |
| 145 | ctx context.Context, |
| 146 | info pkg.ArtifactInfo, |
| 147 | filename, version, path string, |
| 148 | metadata metadata.Metadata, |
| 149 | fileInfo types.FileInfo, |
| 150 | ) (*commons.ResponseHeaders, string, error) { |
| 151 | args := m.Called(ctx, info, filename, version, path, metadata, fileInfo) |
| 152 | return args.Get(0).(*commons.ResponseHeaders), args.String(1), args.Error(2) //nolint:errcheck |
| 153 | } |
| 154 | |
| 155 | func (m *MockLocalBase) UploadFile( |
| 156 | ctx context.Context, info pkg.ArtifactInfo, filename, version, path string, |