...

Source file src/edge-infra.dev/pkg/edge/api/mocks/mock_gcp_client_service.go

Documentation: edge-infra.dev/pkg/edge/api/mocks

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: edge-infra.dev/pkg/edge/api/services (interfaces: GcpClientService)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	types "edge-infra.dev/pkg/edge/api/types"
    12  	gomock "github.com/golang/mock/gomock"
    13  )
    14  
    15  // MockGcpClientService is a mock of GcpClientService interface.
    16  type MockGcpClientService struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockGcpClientServiceMockRecorder
    19  }
    20  
    21  // MockGcpClientServiceMockRecorder is the mock recorder for MockGcpClientService.
    22  type MockGcpClientServiceMockRecorder struct {
    23  	mock *MockGcpClientService
    24  }
    25  
    26  // NewMockGcpClientService creates a new mock instance.
    27  func NewMockGcpClientService(ctrl *gomock.Controller) *MockGcpClientService {
    28  	mock := &MockGcpClientService{ctrl: ctrl}
    29  	mock.recorder = &MockGcpClientServiceMockRecorder{mock}
    30  	return mock
    31  }
    32  
    33  // EXPECT returns an object that allows the caller to indicate expected use.
    34  func (m *MockGcpClientService) EXPECT() *MockGcpClientServiceMockRecorder {
    35  	return m.recorder
    36  }
    37  
    38  // GetComputeClient mocks base method.
    39  func (m *MockGcpClientService) GetComputeClient(arg0 context.Context, arg1 string) (types.ComputeService, error) {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "GetComputeClient", arg0, arg1)
    42  	ret0, _ := ret[0].(types.ComputeService)
    43  	ret1, _ := ret[1].(error)
    44  	return ret0, ret1
    45  }
    46  
    47  // GetComputeClient indicates an expected call of GetComputeClient.
    48  func (mr *MockGcpClientServiceMockRecorder) GetComputeClient(arg0, arg1 interface{}) *gomock.Call {
    49  	mr.mock.ctrl.T.Helper()
    50  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetComputeClient", reflect.TypeOf((*MockGcpClientService)(nil).GetComputeClient), arg0, arg1)
    51  }
    52  
    53  // GetContainerClient mocks base method.
    54  func (m *MockGcpClientService) GetContainerClient(arg0 context.Context, arg1 string) (types.ContainerService, error) {
    55  	m.ctrl.T.Helper()
    56  	ret := m.ctrl.Call(m, "GetContainerClient", arg0, arg1)
    57  	ret0, _ := ret[0].(types.ContainerService)
    58  	ret1, _ := ret[1].(error)
    59  	return ret0, ret1
    60  }
    61  
    62  // GetContainerClient indicates an expected call of GetContainerClient.
    63  func (mr *MockGcpClientServiceMockRecorder) GetContainerClient(arg0, arg1 interface{}) *gomock.Call {
    64  	mr.mock.ctrl.T.Helper()
    65  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetContainerClient", reflect.TypeOf((*MockGcpClientService)(nil).GetContainerClient), arg0, arg1)
    66  }
    67  
    68  // GetPubSubClient mocks base method.
    69  func (m *MockGcpClientService) GetPubSubClient(arg0 context.Context, arg1 string) (types.PubSubService, error) {
    70  	m.ctrl.T.Helper()
    71  	ret := m.ctrl.Call(m, "GetPubSubClient", arg0, arg1)
    72  	ret0, _ := ret[0].(types.PubSubService)
    73  	ret1, _ := ret[1].(error)
    74  	return ret0, ret1
    75  }
    76  
    77  // GetPubSubClient indicates an expected call of GetPubSubClient.
    78  func (mr *MockGcpClientServiceMockRecorder) GetPubSubClient(arg0, arg1 interface{}) *gomock.Call {
    79  	mr.mock.ctrl.T.Helper()
    80  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPubSubClient", reflect.TypeOf((*MockGcpClientService)(nil).GetPubSubClient), arg0, arg1)
    81  }
    82  
    83  // GetSecretClient mocks base method.
    84  func (m *MockGcpClientService) GetSecretClient(arg0 context.Context, arg1 string) (types.SecretManagerService, error) {
    85  	m.ctrl.T.Helper()
    86  	ret := m.ctrl.Call(m, "GetSecretClient", arg0, arg1)
    87  	ret0, _ := ret[0].(types.SecretManagerService)
    88  	ret1, _ := ret[1].(error)
    89  	return ret0, ret1
    90  }
    91  
    92  // GetSecretClient indicates an expected call of GetSecretClient.
    93  func (mr *MockGcpClientServiceMockRecorder) GetSecretClient(arg0, arg1 interface{}) *gomock.Call {
    94  	mr.mock.ctrl.T.Helper()
    95  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecretClient", reflect.TypeOf((*MockGcpClientService)(nil).GetSecretClient), arg0, arg1)
    96  }
    97  

View as plain text