/
admissionregistration_v1beta1_interface.go
63 lines (50 loc) · 1.74 KB
/
admissionregistration_v1beta1_interface.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
55
56
57
58
59
60
61
62
63
// Code generated by mockery v2.5.1. DO NOT EDIT.
package kubernetes_mocks
import (
mock "github.com/stretchr/testify/mock"
rest "k8s.io/client-go/rest"
v1beta1 "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1"
)
// AdmissionregistrationV1beta1Interface is an autogenerated mock type for the AdmissionregistrationV1beta1Interface type
type AdmissionregistrationV1beta1Interface struct {
mock.Mock
}
// MutatingWebhookConfigurations provides a mock function with given fields:
func (_m *AdmissionregistrationV1beta1Interface) MutatingWebhookConfigurations() v1beta1.MutatingWebhookConfigurationInterface {
ret := _m.Called()
var r0 v1beta1.MutatingWebhookConfigurationInterface
if rf, ok := ret.Get(0).(func() v1beta1.MutatingWebhookConfigurationInterface); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(v1beta1.MutatingWebhookConfigurationInterface)
}
}
return r0
}
// RESTClient provides a mock function with given fields:
func (_m *AdmissionregistrationV1beta1Interface) RESTClient() rest.Interface {
ret := _m.Called()
var r0 rest.Interface
if rf, ok := ret.Get(0).(func() rest.Interface); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(rest.Interface)
}
}
return r0
}
// ValidatingWebhookConfigurations provides a mock function with given fields:
func (_m *AdmissionregistrationV1beta1Interface) ValidatingWebhookConfigurations() v1beta1.ValidatingWebhookConfigurationInterface {
ret := _m.Called()
var r0 v1beta1.ValidatingWebhookConfigurationInterface
if rf, ok := ret.Get(0).(func() v1beta1.ValidatingWebhookConfigurationInterface); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(v1beta1.ValidatingWebhookConfigurationInterface)
}
}
return r0
}