-
Notifications
You must be signed in to change notification settings - Fork 0
/
ApplicationManagerClient.go
54 lines (42 loc) · 1.37 KB
/
ApplicationManagerClient.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
48
49
50
51
52
53
54
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
context "context"
client "sigs.k8s.io/controller-runtime/pkg/client"
mock "github.com/stretchr/testify/mock"
runtime "k8s.io/apimachinery/pkg/runtime"
types "k8s.io/apimachinery/pkg/types"
)
// ApplicationManagerClient is an autogenerated mock type for the ApplicationManagerClient type
type ApplicationManagerClient struct {
mock.Mock
}
// Get provides a mock function with given fields: ctx, key, obj
func (_m *ApplicationManagerClient) Get(ctx context.Context, key types.NamespacedName, obj runtime.Object) error {
ret := _m.Called(ctx, key, obj)
var r0 error
if rf, ok := ret.Get(0).(func(context.Context, types.NamespacedName, runtime.Object) error); ok {
r0 = rf(ctx, key, obj)
} else {
r0 = ret.Error(0)
}
return r0
}
// Update provides a mock function with given fields: ctx, obj, opts
func (_m *ApplicationManagerClient) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error {
_va := make([]interface{}, len(opts))
for _i := range opts {
_va[_i] = opts[_i]
}
var _ca []interface{}
_ca = append(_ca, ctx, obj)
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)
var r0 error
if rf, ok := ret.Get(0).(func(context.Context, runtime.Object, ...client.UpdateOption) error); ok {
r0 = rf(ctx, obj, opts...)
} else {
r0 = ret.Error(0)
}
return r0
}