github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/caas/kubernetes/provider/mocks/admissionregistrationv1_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: k8s.io/client-go/kubernetes/typed/admissionregistration/v1 (interfaces: AdmissionregistrationV1Interface,MutatingWebhookConfigurationInterface,ValidatingWebhookConfigurationInterface)
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -package mocks -destination mocks/admissionregistrationv1_mock.go -mock_names=MutatingWebhookConfigurationInterface=MockMutatingWebhookConfigurationV1Interface,ValidatingWebhookConfigurationInterface=MockValidatingWebhookConfigurationV1Interface k8s.io/client-go/kubernetes/typed/admissionregistration/v1 AdmissionregistrationV1Interface,MutatingWebhookConfigurationInterface,ValidatingWebhookConfigurationInterface
     7  //
     8  
     9  // Package mocks is a generated GoMock package.
    10  package mocks
    11  
    12  import (
    13  	context "context"
    14  	reflect "reflect"
    15  
    16  	gomock "go.uber.org/mock/gomock"
    17  	v1 "k8s.io/api/admissionregistration/v1"
    18  	v10 "k8s.io/apimachinery/pkg/apis/meta/v1"
    19  	types "k8s.io/apimachinery/pkg/types"
    20  	watch "k8s.io/apimachinery/pkg/watch"
    21  	v11 "k8s.io/client-go/applyconfigurations/admissionregistration/v1"
    22  	v12 "k8s.io/client-go/kubernetes/typed/admissionregistration/v1"
    23  	rest "k8s.io/client-go/rest"
    24  )
    25  
    26  // MockAdmissionregistrationV1Interface is a mock of AdmissionregistrationV1Interface interface.
    27  type MockAdmissionregistrationV1Interface struct {
    28  	ctrl     *gomock.Controller
    29  	recorder *MockAdmissionregistrationV1InterfaceMockRecorder
    30  }
    31  
    32  // MockAdmissionregistrationV1InterfaceMockRecorder is the mock recorder for MockAdmissionregistrationV1Interface.
    33  type MockAdmissionregistrationV1InterfaceMockRecorder struct {
    34  	mock *MockAdmissionregistrationV1Interface
    35  }
    36  
    37  // NewMockAdmissionregistrationV1Interface creates a new mock instance.
    38  func NewMockAdmissionregistrationV1Interface(ctrl *gomock.Controller) *MockAdmissionregistrationV1Interface {
    39  	mock := &MockAdmissionregistrationV1Interface{ctrl: ctrl}
    40  	mock.recorder = &MockAdmissionregistrationV1InterfaceMockRecorder{mock}
    41  	return mock
    42  }
    43  
    44  // EXPECT returns an object that allows the caller to indicate expected use.
    45  func (m *MockAdmissionregistrationV1Interface) EXPECT() *MockAdmissionregistrationV1InterfaceMockRecorder {
    46  	return m.recorder
    47  }
    48  
    49  // MutatingWebhookConfigurations mocks base method.
    50  func (m *MockAdmissionregistrationV1Interface) MutatingWebhookConfigurations() v12.MutatingWebhookConfigurationInterface {
    51  	m.ctrl.T.Helper()
    52  	ret := m.ctrl.Call(m, "MutatingWebhookConfigurations")
    53  	ret0, _ := ret[0].(v12.MutatingWebhookConfigurationInterface)
    54  	return ret0
    55  }
    56  
    57  // MutatingWebhookConfigurations indicates an expected call of MutatingWebhookConfigurations.
    58  func (mr *MockAdmissionregistrationV1InterfaceMockRecorder) MutatingWebhookConfigurations() *gomock.Call {
    59  	mr.mock.ctrl.T.Helper()
    60  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MutatingWebhookConfigurations", reflect.TypeOf((*MockAdmissionregistrationV1Interface)(nil).MutatingWebhookConfigurations))
    61  }
    62  
    63  // RESTClient mocks base method.
    64  func (m *MockAdmissionregistrationV1Interface) RESTClient() rest.Interface {
    65  	m.ctrl.T.Helper()
    66  	ret := m.ctrl.Call(m, "RESTClient")
    67  	ret0, _ := ret[0].(rest.Interface)
    68  	return ret0
    69  }
    70  
    71  // RESTClient indicates an expected call of RESTClient.
    72  func (mr *MockAdmissionregistrationV1InterfaceMockRecorder) RESTClient() *gomock.Call {
    73  	mr.mock.ctrl.T.Helper()
    74  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RESTClient", reflect.TypeOf((*MockAdmissionregistrationV1Interface)(nil).RESTClient))
    75  }
    76  
    77  // ValidatingWebhookConfigurations mocks base method.
    78  func (m *MockAdmissionregistrationV1Interface) ValidatingWebhookConfigurations() v12.ValidatingWebhookConfigurationInterface {
    79  	m.ctrl.T.Helper()
    80  	ret := m.ctrl.Call(m, "ValidatingWebhookConfigurations")
    81  	ret0, _ := ret[0].(v12.ValidatingWebhookConfigurationInterface)
    82  	return ret0
    83  }
    84  
    85  // ValidatingWebhookConfigurations indicates an expected call of ValidatingWebhookConfigurations.
    86  func (mr *MockAdmissionregistrationV1InterfaceMockRecorder) ValidatingWebhookConfigurations() *gomock.Call {
    87  	mr.mock.ctrl.T.Helper()
    88  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatingWebhookConfigurations", reflect.TypeOf((*MockAdmissionregistrationV1Interface)(nil).ValidatingWebhookConfigurations))
    89  }
    90  
    91  // MockMutatingWebhookConfigurationV1Interface is a mock of MutatingWebhookConfigurationInterface interface.
    92  type MockMutatingWebhookConfigurationV1Interface struct {
    93  	ctrl     *gomock.Controller
    94  	recorder *MockMutatingWebhookConfigurationV1InterfaceMockRecorder
    95  }
    96  
    97  // MockMutatingWebhookConfigurationV1InterfaceMockRecorder is the mock recorder for MockMutatingWebhookConfigurationV1Interface.
    98  type MockMutatingWebhookConfigurationV1InterfaceMockRecorder struct {
    99  	mock *MockMutatingWebhookConfigurationV1Interface
   100  }
   101  
   102  // NewMockMutatingWebhookConfigurationV1Interface creates a new mock instance.
   103  func NewMockMutatingWebhookConfigurationV1Interface(ctrl *gomock.Controller) *MockMutatingWebhookConfigurationV1Interface {
   104  	mock := &MockMutatingWebhookConfigurationV1Interface{ctrl: ctrl}
   105  	mock.recorder = &MockMutatingWebhookConfigurationV1InterfaceMockRecorder{mock}
   106  	return mock
   107  }
   108  
   109  // EXPECT returns an object that allows the caller to indicate expected use.
   110  func (m *MockMutatingWebhookConfigurationV1Interface) EXPECT() *MockMutatingWebhookConfigurationV1InterfaceMockRecorder {
   111  	return m.recorder
   112  }
   113  
   114  // Apply mocks base method.
   115  func (m *MockMutatingWebhookConfigurationV1Interface) Apply(arg0 context.Context, arg1 *v11.MutatingWebhookConfigurationApplyConfiguration, arg2 v10.ApplyOptions) (*v1.MutatingWebhookConfiguration, error) {
   116  	m.ctrl.T.Helper()
   117  	ret := m.ctrl.Call(m, "Apply", arg0, arg1, arg2)
   118  	ret0, _ := ret[0].(*v1.MutatingWebhookConfiguration)
   119  	ret1, _ := ret[1].(error)
   120  	return ret0, ret1
   121  }
   122  
   123  // Apply indicates an expected call of Apply.
   124  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) Apply(arg0, arg1, arg2 any) *gomock.Call {
   125  	mr.mock.ctrl.T.Helper()
   126  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Apply", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).Apply), arg0, arg1, arg2)
   127  }
   128  
   129  // Create mocks base method.
   130  func (m *MockMutatingWebhookConfigurationV1Interface) Create(arg0 context.Context, arg1 *v1.MutatingWebhookConfiguration, arg2 v10.CreateOptions) (*v1.MutatingWebhookConfiguration, error) {
   131  	m.ctrl.T.Helper()
   132  	ret := m.ctrl.Call(m, "Create", arg0, arg1, arg2)
   133  	ret0, _ := ret[0].(*v1.MutatingWebhookConfiguration)
   134  	ret1, _ := ret[1].(error)
   135  	return ret0, ret1
   136  }
   137  
   138  // Create indicates an expected call of Create.
   139  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call {
   140  	mr.mock.ctrl.T.Helper()
   141  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).Create), arg0, arg1, arg2)
   142  }
   143  
   144  // Delete mocks base method.
   145  func (m *MockMutatingWebhookConfigurationV1Interface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error {
   146  	m.ctrl.T.Helper()
   147  	ret := m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
   148  	ret0, _ := ret[0].(error)
   149  	return ret0
   150  }
   151  
   152  // Delete indicates an expected call of Delete.
   153  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call {
   154  	mr.mock.ctrl.T.Helper()
   155  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).Delete), arg0, arg1, arg2)
   156  }
   157  
   158  // DeleteCollection mocks base method.
   159  func (m *MockMutatingWebhookConfigurationV1Interface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error {
   160  	m.ctrl.T.Helper()
   161  	ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1, arg2)
   162  	ret0, _ := ret[0].(error)
   163  	return ret0
   164  }
   165  
   166  // DeleteCollection indicates an expected call of DeleteCollection.
   167  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 any) *gomock.Call {
   168  	mr.mock.ctrl.T.Helper()
   169  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).DeleteCollection), arg0, arg1, arg2)
   170  }
   171  
   172  // Get mocks base method.
   173  func (m *MockMutatingWebhookConfigurationV1Interface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.MutatingWebhookConfiguration, error) {
   174  	m.ctrl.T.Helper()
   175  	ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2)
   176  	ret0, _ := ret[0].(*v1.MutatingWebhookConfiguration)
   177  	ret1, _ := ret[1].(error)
   178  	return ret0, ret1
   179  }
   180  
   181  // Get indicates an expected call of Get.
   182  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) Get(arg0, arg1, arg2 any) *gomock.Call {
   183  	mr.mock.ctrl.T.Helper()
   184  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).Get), arg0, arg1, arg2)
   185  }
   186  
   187  // List mocks base method.
   188  func (m *MockMutatingWebhookConfigurationV1Interface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.MutatingWebhookConfigurationList, error) {
   189  	m.ctrl.T.Helper()
   190  	ret := m.ctrl.Call(m, "List", arg0, arg1)
   191  	ret0, _ := ret[0].(*v1.MutatingWebhookConfigurationList)
   192  	ret1, _ := ret[1].(error)
   193  	return ret0, ret1
   194  }
   195  
   196  // List indicates an expected call of List.
   197  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) List(arg0, arg1 any) *gomock.Call {
   198  	mr.mock.ctrl.T.Helper()
   199  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).List), arg0, arg1)
   200  }
   201  
   202  // Patch mocks base method.
   203  func (m *MockMutatingWebhookConfigurationV1Interface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v10.PatchOptions, arg5 ...string) (*v1.MutatingWebhookConfiguration, error) {
   204  	m.ctrl.T.Helper()
   205  	varargs := []any{arg0, arg1, arg2, arg3, arg4}
   206  	for _, a := range arg5 {
   207  		varargs = append(varargs, a)
   208  	}
   209  	ret := m.ctrl.Call(m, "Patch", varargs...)
   210  	ret0, _ := ret[0].(*v1.MutatingWebhookConfiguration)
   211  	ret1, _ := ret[1].(error)
   212  	return ret0, ret1
   213  }
   214  
   215  // Patch indicates an expected call of Patch.
   216  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 any, arg5 ...any) *gomock.Call {
   217  	mr.mock.ctrl.T.Helper()
   218  	varargs := append([]any{arg0, arg1, arg2, arg3, arg4}, arg5...)
   219  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).Patch), varargs...)
   220  }
   221  
   222  // Update mocks base method.
   223  func (m *MockMutatingWebhookConfigurationV1Interface) Update(arg0 context.Context, arg1 *v1.MutatingWebhookConfiguration, arg2 v10.UpdateOptions) (*v1.MutatingWebhookConfiguration, error) {
   224  	m.ctrl.T.Helper()
   225  	ret := m.ctrl.Call(m, "Update", arg0, arg1, arg2)
   226  	ret0, _ := ret[0].(*v1.MutatingWebhookConfiguration)
   227  	ret1, _ := ret[1].(error)
   228  	return ret0, ret1
   229  }
   230  
   231  // Update indicates an expected call of Update.
   232  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) Update(arg0, arg1, arg2 any) *gomock.Call {
   233  	mr.mock.ctrl.T.Helper()
   234  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).Update), arg0, arg1, arg2)
   235  }
   236  
   237  // Watch mocks base method.
   238  func (m *MockMutatingWebhookConfigurationV1Interface) Watch(arg0 context.Context, arg1 v10.ListOptions) (watch.Interface, error) {
   239  	m.ctrl.T.Helper()
   240  	ret := m.ctrl.Call(m, "Watch", arg0, arg1)
   241  	ret0, _ := ret[0].(watch.Interface)
   242  	ret1, _ := ret[1].(error)
   243  	return ret0, ret1
   244  }
   245  
   246  // Watch indicates an expected call of Watch.
   247  func (mr *MockMutatingWebhookConfigurationV1InterfaceMockRecorder) Watch(arg0, arg1 any) *gomock.Call {
   248  	mr.mock.ctrl.T.Helper()
   249  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockMutatingWebhookConfigurationV1Interface)(nil).Watch), arg0, arg1)
   250  }
   251  
   252  // MockValidatingWebhookConfigurationV1Interface is a mock of ValidatingWebhookConfigurationInterface interface.
   253  type MockValidatingWebhookConfigurationV1Interface struct {
   254  	ctrl     *gomock.Controller
   255  	recorder *MockValidatingWebhookConfigurationV1InterfaceMockRecorder
   256  }
   257  
   258  // MockValidatingWebhookConfigurationV1InterfaceMockRecorder is the mock recorder for MockValidatingWebhookConfigurationV1Interface.
   259  type MockValidatingWebhookConfigurationV1InterfaceMockRecorder struct {
   260  	mock *MockValidatingWebhookConfigurationV1Interface
   261  }
   262  
   263  // NewMockValidatingWebhookConfigurationV1Interface creates a new mock instance.
   264  func NewMockValidatingWebhookConfigurationV1Interface(ctrl *gomock.Controller) *MockValidatingWebhookConfigurationV1Interface {
   265  	mock := &MockValidatingWebhookConfigurationV1Interface{ctrl: ctrl}
   266  	mock.recorder = &MockValidatingWebhookConfigurationV1InterfaceMockRecorder{mock}
   267  	return mock
   268  }
   269  
   270  // EXPECT returns an object that allows the caller to indicate expected use.
   271  func (m *MockValidatingWebhookConfigurationV1Interface) EXPECT() *MockValidatingWebhookConfigurationV1InterfaceMockRecorder {
   272  	return m.recorder
   273  }
   274  
   275  // Apply mocks base method.
   276  func (m *MockValidatingWebhookConfigurationV1Interface) Apply(arg0 context.Context, arg1 *v11.ValidatingWebhookConfigurationApplyConfiguration, arg2 v10.ApplyOptions) (*v1.ValidatingWebhookConfiguration, error) {
   277  	m.ctrl.T.Helper()
   278  	ret := m.ctrl.Call(m, "Apply", arg0, arg1, arg2)
   279  	ret0, _ := ret[0].(*v1.ValidatingWebhookConfiguration)
   280  	ret1, _ := ret[1].(error)
   281  	return ret0, ret1
   282  }
   283  
   284  // Apply indicates an expected call of Apply.
   285  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) Apply(arg0, arg1, arg2 any) *gomock.Call {
   286  	mr.mock.ctrl.T.Helper()
   287  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Apply", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).Apply), arg0, arg1, arg2)
   288  }
   289  
   290  // Create mocks base method.
   291  func (m *MockValidatingWebhookConfigurationV1Interface) Create(arg0 context.Context, arg1 *v1.ValidatingWebhookConfiguration, arg2 v10.CreateOptions) (*v1.ValidatingWebhookConfiguration, error) {
   292  	m.ctrl.T.Helper()
   293  	ret := m.ctrl.Call(m, "Create", arg0, arg1, arg2)
   294  	ret0, _ := ret[0].(*v1.ValidatingWebhookConfiguration)
   295  	ret1, _ := ret[1].(error)
   296  	return ret0, ret1
   297  }
   298  
   299  // Create indicates an expected call of Create.
   300  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call {
   301  	mr.mock.ctrl.T.Helper()
   302  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).Create), arg0, arg1, arg2)
   303  }
   304  
   305  // Delete mocks base method.
   306  func (m *MockValidatingWebhookConfigurationV1Interface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error {
   307  	m.ctrl.T.Helper()
   308  	ret := m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
   309  	ret0, _ := ret[0].(error)
   310  	return ret0
   311  }
   312  
   313  // Delete indicates an expected call of Delete.
   314  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call {
   315  	mr.mock.ctrl.T.Helper()
   316  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).Delete), arg0, arg1, arg2)
   317  }
   318  
   319  // DeleteCollection mocks base method.
   320  func (m *MockValidatingWebhookConfigurationV1Interface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error {
   321  	m.ctrl.T.Helper()
   322  	ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1, arg2)
   323  	ret0, _ := ret[0].(error)
   324  	return ret0
   325  }
   326  
   327  // DeleteCollection indicates an expected call of DeleteCollection.
   328  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 any) *gomock.Call {
   329  	mr.mock.ctrl.T.Helper()
   330  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).DeleteCollection), arg0, arg1, arg2)
   331  }
   332  
   333  // Get mocks base method.
   334  func (m *MockValidatingWebhookConfigurationV1Interface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.ValidatingWebhookConfiguration, error) {
   335  	m.ctrl.T.Helper()
   336  	ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2)
   337  	ret0, _ := ret[0].(*v1.ValidatingWebhookConfiguration)
   338  	ret1, _ := ret[1].(error)
   339  	return ret0, ret1
   340  }
   341  
   342  // Get indicates an expected call of Get.
   343  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) Get(arg0, arg1, arg2 any) *gomock.Call {
   344  	mr.mock.ctrl.T.Helper()
   345  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).Get), arg0, arg1, arg2)
   346  }
   347  
   348  // List mocks base method.
   349  func (m *MockValidatingWebhookConfigurationV1Interface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.ValidatingWebhookConfigurationList, error) {
   350  	m.ctrl.T.Helper()
   351  	ret := m.ctrl.Call(m, "List", arg0, arg1)
   352  	ret0, _ := ret[0].(*v1.ValidatingWebhookConfigurationList)
   353  	ret1, _ := ret[1].(error)
   354  	return ret0, ret1
   355  }
   356  
   357  // List indicates an expected call of List.
   358  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) List(arg0, arg1 any) *gomock.Call {
   359  	mr.mock.ctrl.T.Helper()
   360  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).List), arg0, arg1)
   361  }
   362  
   363  // Patch mocks base method.
   364  func (m *MockValidatingWebhookConfigurationV1Interface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v10.PatchOptions, arg5 ...string) (*v1.ValidatingWebhookConfiguration, error) {
   365  	m.ctrl.T.Helper()
   366  	varargs := []any{arg0, arg1, arg2, arg3, arg4}
   367  	for _, a := range arg5 {
   368  		varargs = append(varargs, a)
   369  	}
   370  	ret := m.ctrl.Call(m, "Patch", varargs...)
   371  	ret0, _ := ret[0].(*v1.ValidatingWebhookConfiguration)
   372  	ret1, _ := ret[1].(error)
   373  	return ret0, ret1
   374  }
   375  
   376  // Patch indicates an expected call of Patch.
   377  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 any, arg5 ...any) *gomock.Call {
   378  	mr.mock.ctrl.T.Helper()
   379  	varargs := append([]any{arg0, arg1, arg2, arg3, arg4}, arg5...)
   380  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).Patch), varargs...)
   381  }
   382  
   383  // Update mocks base method.
   384  func (m *MockValidatingWebhookConfigurationV1Interface) Update(arg0 context.Context, arg1 *v1.ValidatingWebhookConfiguration, arg2 v10.UpdateOptions) (*v1.ValidatingWebhookConfiguration, error) {
   385  	m.ctrl.T.Helper()
   386  	ret := m.ctrl.Call(m, "Update", arg0, arg1, arg2)
   387  	ret0, _ := ret[0].(*v1.ValidatingWebhookConfiguration)
   388  	ret1, _ := ret[1].(error)
   389  	return ret0, ret1
   390  }
   391  
   392  // Update indicates an expected call of Update.
   393  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) Update(arg0, arg1, arg2 any) *gomock.Call {
   394  	mr.mock.ctrl.T.Helper()
   395  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).Update), arg0, arg1, arg2)
   396  }
   397  
   398  // Watch mocks base method.
   399  func (m *MockValidatingWebhookConfigurationV1Interface) Watch(arg0 context.Context, arg1 v10.ListOptions) (watch.Interface, error) {
   400  	m.ctrl.T.Helper()
   401  	ret := m.ctrl.Call(m, "Watch", arg0, arg1)
   402  	ret0, _ := ret[0].(watch.Interface)
   403  	ret1, _ := ret[1].(error)
   404  	return ret0, ret1
   405  }
   406  
   407  // Watch indicates an expected call of Watch.
   408  func (mr *MockValidatingWebhookConfigurationV1InterfaceMockRecorder) Watch(arg0, arg1 any) *gomock.Call {
   409  	mr.mock.ctrl.T.Helper()
   410  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockValidatingWebhookConfigurationV1Interface)(nil).Watch), arg0, arg1)
   411  }