forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Clientset.go
45 lines (36 loc) · 1.02 KB
/
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
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import mock "github.com/stretchr/testify/mock"
import repository "github.com/argoproj/argo-cd/reposerver/repository"
import util "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, repository.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 repository.RepoServerServiceClient
if rf, ok := ret.Get(1).(func() repository.RepoServerServiceClient); ok {
r1 = rf()
} else {
if ret.Get(1) != nil {
r1 = ret.Get(1).(repository.RepoServerServiceClient)
}
}
var r2 error
if rf, ok := ret.Get(2).(func() error); ok {
r2 = rf()
} else {
r2 = ret.Error(2)
}
return r0, r1, r2
}