/
GCPSvc.go
42 lines (32 loc) · 894 Bytes
/
GCPSvc.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
41
42
// Code generated by mockery v2.4.0-beta. DO NOT EDIT.
package mocks
import (
context "context"
mock "github.com/stretchr/testify/mock"
)
// GCPSvc is an autogenerated mock type for the GCPSvc type
type GCPSvc struct {
mock.Mock
}
// CreateBucket provides a mock function with given fields: ctx, name
func (_m *GCPSvc) CreateBucket(ctx context.Context, name string) error {
ret := _m.Called(ctx, name)
var r0 error
if rf, ok := ret.Get(0).(func(context.Context, string) error); ok {
r0 = rf(ctx, name)
} else {
r0 = ret.Error(0)
}
return r0
}
// DeleteGCPBucket provides a mock function with given fields: ctx, name
func (_m *GCPSvc) DeleteGCPBucket(ctx context.Context, name string) error {
ret := _m.Called(ctx, name)
var r0 error
if rf, ok := ret.Get(0).(func(context.Context, string) error); ok {
r0 = rf(ctx, name)
} else {
r0 = ret.Error(0)
}
return r0
}