forked from kyma-project/kyma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
minio_content_getter.go
40 lines (33 loc) · 934 Bytes
/
minio_content_getter.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Code generated by mockery v1.0.0
package automock
import mock "github.com/stretchr/testify/mock"
import storage "github.com/kyma-project/kyma/components/ui-api-layer/internal/domain/content/storage"
// minioContentGetter is an autogenerated mock type for the minioContentGetter type
type minioContentGetter struct {
mock.Mock
}
// Content provides a mock function with given fields: id
func (_m *minioContentGetter) Content(id string) (*storage.Content, bool, error) {
ret := _m.Called(id)
var r0 *storage.Content
if rf, ok := ret.Get(0).(func(string) *storage.Content); ok {
r0 = rf(id)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*storage.Content)
}
}
var r1 bool
if rf, ok := ret.Get(1).(func(string) bool); ok {
r1 = rf(id)
} else {
r1 = ret.Get(1).(bool)
}
var r2 error
if rf, ok := ret.Get(2).(func(string) error); ok {
r2 = rf(id)
} else {
r2 = ret.Error(2)
}
return r0, r1, r2
}