github.com/cloudwego/kitex@v0.9.0/internal/mocks/diagnosis/service.go (about)

     1  /*
     2   * Copyright 2021 CloudWeGo 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: github.com/cloudwego/kitex/pkg/diagnosis (interfaces: Service)
    19  
    20  // Package remote is a generated GoMock package.
    21  package diagnosis
    22  
    23  import (
    24  	reflect "reflect"
    25  
    26  	gomock "github.com/golang/mock/gomock"
    27  
    28  	diagnosis "github.com/cloudwego/kitex/pkg/diagnosis"
    29  )
    30  
    31  // MockService is a mock of Service interface.
    32  type MockService struct {
    33  	ctrl     *gomock.Controller
    34  	recorder *MockServiceMockRecorder
    35  }
    36  
    37  // MockServiceMockRecorder is the mock recorder for MockService.
    38  type MockServiceMockRecorder struct {
    39  	mock *MockService
    40  }
    41  
    42  // NewMockService creates a new mock instance.
    43  func NewMockService(ctrl *gomock.Controller) *MockService {
    44  	mock := &MockService{ctrl: ctrl}
    45  	mock.recorder = &MockServiceMockRecorder{mock}
    46  	return mock
    47  }
    48  
    49  // EXPECT returns an object that allows the caller to indicate expected use.
    50  func (m *MockService) EXPECT() *MockServiceMockRecorder {
    51  	return m.recorder
    52  }
    53  
    54  // RegisterProbeFunc mocks base method.
    55  func (m *MockService) RegisterProbeFunc(arg0 diagnosis.ProbeName, arg1 diagnosis.ProbeFunc) {
    56  	m.ctrl.T.Helper()
    57  	m.ctrl.Call(m, "RegisterProbeFunc", arg0, arg1)
    58  }
    59  
    60  // RegisterProbeFunc indicates an expected call of RegisterProbeFunc.
    61  func (mr *MockServiceMockRecorder) RegisterProbeFunc(arg0, arg1 interface{}) *gomock.Call {
    62  	mr.mock.ctrl.T.Helper()
    63  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterProbeFunc", reflect.TypeOf((*MockService)(nil).RegisterProbeFunc), arg0, arg1)
    64  }