blob: 03ca1afd6f0832c2e6fbde4b66841c0c335cb4cd [file] [log] [blame]
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
context "context"
io "io"
mock "github.com/stretchr/testify/mock"
)
// ResultFileLocation is an autogenerated mock type for the ResultFileLocation type
type ResultFileLocation struct {
mock.Mock
}
// Content provides a mock function with given fields:
func (_m *ResultFileLocation) Content() []byte {
ret := _m.Called()
var r0 []byte
if rf, ok := ret.Get(0).(func() []byte); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]byte)
}
}
return r0
}
// MD5 provides a mock function with given fields:
func (_m *ResultFileLocation) MD5() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// Name provides a mock function with given fields:
func (_m *ResultFileLocation) Name() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// Open provides a mock function with given fields: ctx
func (_m *ResultFileLocation) Open(ctx context.Context) (io.ReadCloser, error) {
ret := _m.Called(ctx)
var r0 io.ReadCloser
if rf, ok := ret.Get(0).(func(context.Context) io.ReadCloser); ok {
r0 = rf(ctx)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(io.ReadCloser)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context) error); ok {
r1 = rf(ctx)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// StorageIDs provides a mock function with given fields:
func (_m *ResultFileLocation) StorageIDs() (string, string) {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
var r1 string
if rf, ok := ret.Get(1).(func() string); ok {
r1 = rf()
} else {
r1 = ret.Get(1).(string)
}
return r0, r1
}
// TimeStamp provides a mock function with given fields:
func (_m *ResultFileLocation) TimeStamp() int64 {
ret := _m.Called()
var r0 int64
if rf, ok := ret.Get(0).(func() int64); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(int64)
}
return r0
}