...

Source file src/edge-infra.dev/pkg/edge/api/mocks/mock_log_classification_labels_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: LogClassificationLabelsService)
     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  // MockLogClassificationLabelsService is a mock of LogClassificationLabelsService interface.
    16  type MockLogClassificationLabelsService struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockLogClassificationLabelsServiceMockRecorder
    19  }
    20  
    21  // MockLogClassificationLabelsServiceMockRecorder is the mock recorder for MockLogClassificationLabelsService.
    22  type MockLogClassificationLabelsServiceMockRecorder struct {
    23  	mock *MockLogClassificationLabelsService
    24  }
    25  
    26  // NewMockLogClassificationLabelsService creates a new mock instance.
    27  func NewMockLogClassificationLabelsService(ctrl *gomock.Controller) *MockLogClassificationLabelsService {
    28  	mock := &MockLogClassificationLabelsService{ctrl: ctrl}
    29  	mock.recorder = &MockLogClassificationLabelsServiceMockRecorder{mock}
    30  	return mock
    31  }
    32  
    33  // EXPECT returns an object that allows the caller to indicate expected use.
    34  func (m *MockLogClassificationLabelsService) EXPECT() *MockLogClassificationLabelsServiceMockRecorder {
    35  	return m.recorder
    36  }
    37  
    38  // CreateLogClassificationLabel mocks base method.
    39  func (m *MockLogClassificationLabelsService) CreateLogClassificationLabel(arg0 context.Context, arg1, arg2, arg3 string) (string, error) {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "CreateLogClassificationLabel", arg0, arg1, arg2, arg3)
    42  	ret0, _ := ret[0].(string)
    43  	ret1, _ := ret[1].(error)
    44  	return ret0, ret1
    45  }
    46  
    47  // CreateLogClassificationLabel indicates an expected call of CreateLogClassificationLabel.
    48  func (mr *MockLogClassificationLabelsServiceMockRecorder) CreateLogClassificationLabel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
    49  	mr.mock.ctrl.T.Helper()
    50  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogClassificationLabel", reflect.TypeOf((*MockLogClassificationLabelsService)(nil).CreateLogClassificationLabel), arg0, arg1, arg2, arg3)
    51  }
    52  
    53  // DeleteLogClassificationLabel mocks base method.
    54  func (m *MockLogClassificationLabelsService) DeleteLogClassificationLabel(arg0 context.Context, arg1, arg2, arg3 string) (bool, error) {
    55  	m.ctrl.T.Helper()
    56  	ret := m.ctrl.Call(m, "DeleteLogClassificationLabel", arg0, arg1, arg2, arg3)
    57  	ret0, _ := ret[0].(bool)
    58  	ret1, _ := ret[1].(error)
    59  	return ret0, ret1
    60  }
    61  
    62  // DeleteLogClassificationLabel indicates an expected call of DeleteLogClassificationLabel.
    63  func (mr *MockLogClassificationLabelsServiceMockRecorder) DeleteLogClassificationLabel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
    64  	mr.mock.ctrl.T.Helper()
    65  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogClassificationLabel", reflect.TypeOf((*MockLogClassificationLabelsService)(nil).DeleteLogClassificationLabel), arg0, arg1, arg2, arg3)
    66  }
    67  
    68  // GetLogClassificationLabel mocks base method.
    69  func (m *MockLogClassificationLabelsService) GetLogClassificationLabel(arg0 context.Context, arg1, arg2, arg3 string) (*model.LogClassificationLabel, error) {
    70  	m.ctrl.T.Helper()
    71  	ret := m.ctrl.Call(m, "GetLogClassificationLabel", arg0, arg1, arg2, arg3)
    72  	ret0, _ := ret[0].(*model.LogClassificationLabel)
    73  	ret1, _ := ret[1].(error)
    74  	return ret0, ret1
    75  }
    76  
    77  // GetLogClassificationLabel indicates an expected call of GetLogClassificationLabel.
    78  func (mr *MockLogClassificationLabelsServiceMockRecorder) GetLogClassificationLabel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
    79  	mr.mock.ctrl.T.Helper()
    80  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogClassificationLabel", reflect.TypeOf((*MockLogClassificationLabelsService)(nil).GetLogClassificationLabel), arg0, arg1, arg2, arg3)
    81  }
    82  
    83  // GetLogClassificationLabelsByBanner mocks base method.
    84  func (m *MockLogClassificationLabelsService) GetLogClassificationLabelsByBanner(arg0 context.Context, arg1 string) ([]*model.LogClassificationLabel, error) {
    85  	m.ctrl.T.Helper()
    86  	ret := m.ctrl.Call(m, "GetLogClassificationLabelsByBanner", arg0, arg1)
    87  	ret0, _ := ret[0].([]*model.LogClassificationLabel)
    88  	ret1, _ := ret[1].(error)
    89  	return ret0, ret1
    90  }
    91  
    92  // GetLogClassificationLabelsByBanner indicates an expected call of GetLogClassificationLabelsByBanner.
    93  func (mr *MockLogClassificationLabelsServiceMockRecorder) GetLogClassificationLabelsByBanner(arg0, arg1 interface{}) *gomock.Call {
    94  	mr.mock.ctrl.T.Helper()
    95  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogClassificationLabelsByBanner", reflect.TypeOf((*MockLogClassificationLabelsService)(nil).GetLogClassificationLabelsByBanner), arg0, arg1)
    96  }
    97  
    98  // GetLogClassificationLabelsByLabel mocks base method.
    99  func (m *MockLogClassificationLabelsService) GetLogClassificationLabelsByLabel(arg0 context.Context, arg1 string) ([]*model.LogClassificationLabel, error) {
   100  	m.ctrl.T.Helper()
   101  	ret := m.ctrl.Call(m, "GetLogClassificationLabelsByLabel", arg0, arg1)
   102  	ret0, _ := ret[0].([]*model.LogClassificationLabel)
   103  	ret1, _ := ret[1].(error)
   104  	return ret0, ret1
   105  }
   106  
   107  // GetLogClassificationLabelsByLabel indicates an expected call of GetLogClassificationLabelsByLabel.
   108  func (mr *MockLogClassificationLabelsServiceMockRecorder) GetLogClassificationLabelsByLabel(arg0, arg1 interface{}) *gomock.Call {
   109  	mr.mock.ctrl.T.Helper()
   110  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogClassificationLabelsByLabel", reflect.TypeOf((*MockLogClassificationLabelsService)(nil).GetLogClassificationLabelsByLabel), arg0, arg1)
   111  }
   112  
   113  // UpdateLogClassificationLabel mocks base method.
   114  func (m *MockLogClassificationLabelsService) UpdateLogClassificationLabel(arg0 context.Context, arg1, arg2 string) (string, error) {
   115  	m.ctrl.T.Helper()
   116  	ret := m.ctrl.Call(m, "UpdateLogClassificationLabel", arg0, arg1, arg2)
   117  	ret0, _ := ret[0].(string)
   118  	ret1, _ := ret[1].(error)
   119  	return ret0, ret1
   120  }
   121  
   122  // UpdateLogClassificationLabel indicates an expected call of UpdateLogClassificationLabel.
   123  func (mr *MockLogClassificationLabelsServiceMockRecorder) UpdateLogClassificationLabel(arg0, arg1, arg2 interface{}) *gomock.Call {
   124  	mr.mock.ctrl.T.Helper()
   125  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogClassificationLabel", reflect.TypeOf((*MockLogClassificationLabelsService)(nil).UpdateLogClassificationLabel), arg0, arg1, arg2)
   126  }
   127  

View as plain text