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

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