...

Source file src/edge-infra.dev/pkg/edge/api/mocks/mock_big_query_client.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/clients (interfaces: BQClient)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	model "edge-infra.dev/pkg/edge/api/graph/model"
    12  	gomock "github.com/golang/mock/gomock"
    13  )
    14  
    15  // MockBQClient is a mock of BQClient interface.
    16  type MockBQClient struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockBQClientMockRecorder
    19  }
    20  
    21  // MockBQClientMockRecorder is the mock recorder for MockBQClient.
    22  type MockBQClientMockRecorder struct {
    23  	mock *MockBQClient
    24  }
    25  
    26  // NewMockBQClient creates a new mock instance.
    27  func NewMockBQClient(ctrl *gomock.Controller) *MockBQClient {
    28  	mock := &MockBQClient{ctrl: ctrl}
    29  	mock.recorder = &MockBQClientMockRecorder{mock}
    30  	return mock
    31  }
    32  
    33  // EXPECT returns an object that allows the caller to indicate expected use.
    34  func (m *MockBQClient) EXPECT() *MockBQClientMockRecorder {
    35  	return m.recorder
    36  }
    37  
    38  // GetKubeResource mocks base method.
    39  func (m *MockBQClient) GetKubeResource(arg0 context.Context, arg1 string, arg2 *model.Cluster, arg3 model.LoqRequest) ([]string, error) {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "GetKubeResource", arg0, arg1, arg2, arg3)
    42  	ret0, _ := ret[0].([]string)
    43  	ret1, _ := ret[1].(error)
    44  	return ret0, ret1
    45  }
    46  
    47  // GetKubeResource indicates an expected call of GetKubeResource.
    48  func (mr *MockBQClientMockRecorder) GetKubeResource(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
    49  	mr.mock.ctrl.T.Helper()
    50  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetKubeResource", reflect.TypeOf((*MockBQClient)(nil).GetKubeResource), arg0, arg1, arg2, arg3)
    51  }
    52  
    53  // Read mocks base method.
    54  func (m *MockBQClient) Read(arg0 context.Context, arg1 string) ([]string, error) {
    55  	m.ctrl.T.Helper()
    56  	ret := m.ctrl.Call(m, "Read", arg0, arg1)
    57  	ret0, _ := ret[0].([]string)
    58  	ret1, _ := ret[1].(error)
    59  	return ret0, ret1
    60  }
    61  
    62  // Read indicates an expected call of Read.
    63  func (mr *MockBQClientMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call {
    64  	mr.mock.ctrl.T.Helper()
    65  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Read", reflect.TypeOf((*MockBQClient)(nil).Read), arg0, arg1)
    66  }
    67  

View as plain text