clipper/backend/generated/mocks/Store.go

166 lines
4.3 KiB
Go
Raw Permalink Normal View History

// Code generated by mockery v2.9.4. DO NOT EDIT.
package mocks
import (
context "context"
mock "github.com/stretchr/testify/mock"
store "git.netflux.io/rob/clipper/generated/store"
uuid "github.com/google/uuid"
)
// Store is an autogenerated mock type for the Store type
type Store struct {
mock.Mock
}
// CreateMediaSet provides a mock function with given fields: _a0, _a1
func (_m *Store) CreateMediaSet(_a0 context.Context, _a1 store.CreateMediaSetParams) (store.MediaSet, error) {
ret := _m.Called(_a0, _a1)
var r0 store.MediaSet
if rf, ok := ret.Get(0).(func(context.Context, store.CreateMediaSetParams) store.MediaSet); ok {
r0 = rf(_a0, _a1)
} else {
r0 = ret.Get(0).(store.MediaSet)
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, store.CreateMediaSetParams) error); ok {
r1 = rf(_a0, _a1)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// GetMediaSet provides a mock function with given fields: _a0, _a1
func (_m *Store) GetMediaSet(_a0 context.Context, _a1 uuid.UUID) (store.MediaSet, error) {
ret := _m.Called(_a0, _a1)
var r0 store.MediaSet
if rf, ok := ret.Get(0).(func(context.Context, uuid.UUID) store.MediaSet); ok {
r0 = rf(_a0, _a1)
} else {
r0 = ret.Get(0).(store.MediaSet)
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, uuid.UUID) error); ok {
r1 = rf(_a0, _a1)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// GetMediaSetByYoutubeID provides a mock function with given fields: _a0, _a1
func (_m *Store) GetMediaSetByYoutubeID(_a0 context.Context, _a1 string) (store.MediaSet, error) {
ret := _m.Called(_a0, _a1)
var r0 store.MediaSet
if rf, ok := ret.Get(0).(func(context.Context, string) store.MediaSet); ok {
r0 = rf(_a0, _a1)
} else {
r0 = ret.Get(0).(store.MediaSet)
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, string) error); ok {
r1 = rf(_a0, _a1)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// SetEncodedAudioUploaded provides a mock function with given fields: _a0, _a1
func (_m *Store) SetEncodedAudioUploaded(_a0 context.Context, _a1 store.SetEncodedAudioUploadedParams) (store.MediaSet, error) {
ret := _m.Called(_a0, _a1)
var r0 store.MediaSet
if rf, ok := ret.Get(0).(func(context.Context, store.SetEncodedAudioUploadedParams) store.MediaSet); ok {
r0 = rf(_a0, _a1)
} else {
r0 = ret.Get(0).(store.MediaSet)
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, store.SetEncodedAudioUploadedParams) error); ok {
r1 = rf(_a0, _a1)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// SetRawAudioUploaded provides a mock function with given fields: _a0, _a1
func (_m *Store) SetRawAudioUploaded(_a0 context.Context, _a1 store.SetRawAudioUploadedParams) (store.MediaSet, error) {
ret := _m.Called(_a0, _a1)
var r0 store.MediaSet
if rf, ok := ret.Get(0).(func(context.Context, store.SetRawAudioUploadedParams) store.MediaSet); ok {
r0 = rf(_a0, _a1)
} else {
r0 = ret.Get(0).(store.MediaSet)
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, store.SetRawAudioUploadedParams) error); ok {
r1 = rf(_a0, _a1)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// SetVideoThumbnailUploaded provides a mock function with given fields: _a0, _a1
func (_m *Store) SetVideoThumbnailUploaded(_a0 context.Context, _a1 store.SetVideoThumbnailUploadedParams) (store.MediaSet, error) {
ret := _m.Called(_a0, _a1)
var r0 store.MediaSet
if rf, ok := ret.Get(0).(func(context.Context, store.SetVideoThumbnailUploadedParams) store.MediaSet); ok {
r0 = rf(_a0, _a1)
} else {
r0 = ret.Get(0).(store.MediaSet)
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, store.SetVideoThumbnailUploadedParams) error); ok {
r1 = rf(_a0, _a1)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// SetVideoUploaded provides a mock function with given fields: _a0, _a1
func (_m *Store) SetVideoUploaded(_a0 context.Context, _a1 store.SetVideoUploadedParams) (store.MediaSet, error) {
ret := _m.Called(_a0, _a1)
var r0 store.MediaSet
if rf, ok := ret.Get(0).(func(context.Context, store.SetVideoUploadedParams) store.MediaSet); ok {
r0 = rf(_a0, _a1)
} else {
r0 = ret.Get(0).(store.MediaSet)
}
var r1 error
if rf, ok := ret.Get(1).(func(context.Context, store.SetVideoUploadedParams) error); ok {
r1 = rf(_a0, _a1)
} else {
r1 = ret.Error(1)
}
return r0, r1
}