-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Clientset.go
47 lines (38 loc) · 1009 Bytes
/
Clientset.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
43
44
45
46
47
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
"github.com/stretchr/testify/mock"
"github.com/argoproj/argo-cd/reposerver/apiclient"
"github.com/argoproj/argo-cd/util"
)
// Clientset is an autogenerated mock type for the Clientset type
type Clientset struct {
mock.Mock
}
// NewRepoServerClient provides a mock function with given fields:
func (_m *Clientset) NewRepoServerClient() (util.Closer, apiclient.RepoServerServiceClient, error) {
ret := _m.Called()
var r0 util.Closer
if rf, ok := ret.Get(0).(func() util.Closer); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(util.Closer)
}
}
var r1 apiclient.RepoServerServiceClient
if rf, ok := ret.Get(1).(func() apiclient.RepoServerServiceClient); ok {
r1 = rf()
} else {
if ret.Get(1) != nil {
r1 = ret.Get(1).(apiclient.RepoServerServiceClient)
}
}
var r2 error
if rf, ok := ret.Get(2).(func() error); ok {
r2 = rf()
} else {
r2 = ret.Error(2)
}
return r0, r1, r2
}