sigs.k8s.io/cluster-api-provider-aws@v1.5.5/pkg/cloud/services/mock_services/security_group_interface_mock.go (about)

     1  /*
     2  Copyright The Kubernetes Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8  	http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // Code generated by MockGen. DO NOT EDIT.
    18  // Source: sigs.k8s.io/cluster-api-provider-aws/pkg/cloud/services (interfaces: SecurityGroupInterface)
    19  
    20  // Package mock_services is a generated GoMock package.
    21  package mock_services
    22  
    23  import (
    24  	reflect "reflect"
    25  
    26  	gomock "github.com/golang/mock/gomock"
    27  )
    28  
    29  // MockSecurityGroupInterface is a mock of SecurityGroupInterface interface.
    30  type MockSecurityGroupInterface struct {
    31  	ctrl     *gomock.Controller
    32  	recorder *MockSecurityGroupInterfaceMockRecorder
    33  }
    34  
    35  // MockSecurityGroupInterfaceMockRecorder is the mock recorder for MockSecurityGroupInterface.
    36  type MockSecurityGroupInterfaceMockRecorder struct {
    37  	mock *MockSecurityGroupInterface
    38  }
    39  
    40  // NewMockSecurityGroupInterface creates a new mock instance.
    41  func NewMockSecurityGroupInterface(ctrl *gomock.Controller) *MockSecurityGroupInterface {
    42  	mock := &MockSecurityGroupInterface{ctrl: ctrl}
    43  	mock.recorder = &MockSecurityGroupInterfaceMockRecorder{mock}
    44  	return mock
    45  }
    46  
    47  // EXPECT returns an object that allows the caller to indicate expected use.
    48  func (m *MockSecurityGroupInterface) EXPECT() *MockSecurityGroupInterfaceMockRecorder {
    49  	return m.recorder
    50  }
    51  
    52  // DeleteSecurityGroups mocks base method.
    53  func (m *MockSecurityGroupInterface) DeleteSecurityGroups() error {
    54  	m.ctrl.T.Helper()
    55  	ret := m.ctrl.Call(m, "DeleteSecurityGroups")
    56  	ret0, _ := ret[0].(error)
    57  	return ret0
    58  }
    59  
    60  // DeleteSecurityGroups indicates an expected call of DeleteSecurityGroups.
    61  func (mr *MockSecurityGroupInterfaceMockRecorder) DeleteSecurityGroups() *gomock.Call {
    62  	mr.mock.ctrl.T.Helper()
    63  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecurityGroups", reflect.TypeOf((*MockSecurityGroupInterface)(nil).DeleteSecurityGroups))
    64  }
    65  
    66  // ReconcileSecurityGroups mocks base method.
    67  func (m *MockSecurityGroupInterface) ReconcileSecurityGroups() error {
    68  	m.ctrl.T.Helper()
    69  	ret := m.ctrl.Call(m, "ReconcileSecurityGroups")
    70  	ret0, _ := ret[0].(error)
    71  	return ret0
    72  }
    73  
    74  // ReconcileSecurityGroups indicates an expected call of ReconcileSecurityGroups.
    75  func (mr *MockSecurityGroupInterfaceMockRecorder) ReconcileSecurityGroups() *gomock.Call {
    76  	mr.mock.ctrl.T.Helper()
    77  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileSecurityGroups", reflect.TypeOf((*MockSecurityGroupInterface)(nil).ReconcileSecurityGroups))
    78  }