Documentation ¶
Overview ¶
Package mock_reporting is a generated GoMock package.
Index ¶
- type MockReporter
- func (m *MockReporter) EXPECT() *MockReporterMockRecorder
- func (m *MockReporter) ReportAccessPolicyToDestination(destination *v1.Destination, accessPolicy ezkube.ResourceId, err error)
- func (m *MockReporter) ReportFailoverService(failoverService ezkube.ResourceId, errs []error)
- func (m *MockReporter) ReportFailoverServiceToMesh(mesh *v1.Mesh, failoverService ezkube.ResourceId, err error)
- func (m *MockReporter) ReportTrafficPolicyToDestination(destination *v1.Destination, trafficPolicy ezkube.ResourceId, err error)
- func (m *MockReporter) ReportVirtualMeshToMesh(mesh *v1.Mesh, virtualMesh ezkube.ResourceId, err error)
- type MockReporterMockRecorder
- func (mr *MockReporterMockRecorder) ReportAccessPolicyToDestination(destination, accessPolicy, err interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportFailoverService(failoverService, errs interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportFailoverServiceToMesh(mesh, failoverService, err interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportTrafficPolicyToDestination(destination, trafficPolicy, err interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportVirtualMeshToMesh(mesh, virtualMesh, err interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReporter ¶
type MockReporter struct {
// contains filtered or unexported fields
}
MockReporter is a mock of Reporter interface
func NewMockReporter ¶
func NewMockReporter(ctrl *gomock.Controller) *MockReporter
NewMockReporter creates a new mock instance
func (*MockReporter) EXPECT ¶
func (m *MockReporter) EXPECT() *MockReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReporter) ReportAccessPolicyToDestination ¶ added in v1.0.0
func (m *MockReporter) ReportAccessPolicyToDestination(destination *v1.Destination, accessPolicy ezkube.ResourceId, err error)
ReportAccessPolicyToDestination mocks base method
func (*MockReporter) ReportFailoverService ¶
func (m *MockReporter) ReportFailoverService(failoverService ezkube.ResourceId, errs []error)
ReportFailoverService mocks base method
func (*MockReporter) ReportFailoverServiceToMesh ¶
func (m *MockReporter) ReportFailoverServiceToMesh(mesh *v1.Mesh, failoverService ezkube.ResourceId, err error)
ReportFailoverServiceToMesh mocks base method
func (*MockReporter) ReportTrafficPolicyToDestination ¶ added in v1.0.0
func (m *MockReporter) ReportTrafficPolicyToDestination(destination *v1.Destination, trafficPolicy ezkube.ResourceId, err error)
ReportTrafficPolicyToDestination mocks base method
func (*MockReporter) ReportVirtualMeshToMesh ¶
func (m *MockReporter) ReportVirtualMeshToMesh(mesh *v1.Mesh, virtualMesh ezkube.ResourceId, err error)
ReportVirtualMeshToMesh mocks base method
type MockReporterMockRecorder ¶
type MockReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockReporterMockRecorder is the mock recorder for MockReporter
func (*MockReporterMockRecorder) ReportAccessPolicyToDestination ¶ added in v1.0.0
func (mr *MockReporterMockRecorder) ReportAccessPolicyToDestination(destination, accessPolicy, err interface{}) *gomock.Call
ReportAccessPolicyToDestination indicates an expected call of ReportAccessPolicyToDestination
func (*MockReporterMockRecorder) ReportFailoverService ¶
func (mr *MockReporterMockRecorder) ReportFailoverService(failoverService, errs interface{}) *gomock.Call
ReportFailoverService indicates an expected call of ReportFailoverService
func (*MockReporterMockRecorder) ReportFailoverServiceToMesh ¶
func (mr *MockReporterMockRecorder) ReportFailoverServiceToMesh(mesh, failoverService, err interface{}) *gomock.Call
ReportFailoverServiceToMesh indicates an expected call of ReportFailoverServiceToMesh
func (*MockReporterMockRecorder) ReportTrafficPolicyToDestination ¶ added in v1.0.0
func (mr *MockReporterMockRecorder) ReportTrafficPolicyToDestination(destination, trafficPolicy, err interface{}) *gomock.Call
ReportTrafficPolicyToDestination indicates an expected call of ReportTrafficPolicyToDestination
func (*MockReporterMockRecorder) ReportVirtualMeshToMesh ¶
func (mr *MockReporterMockRecorder) ReportVirtualMeshToMesh(mesh, virtualMesh, err interface{}) *gomock.Call
ReportVirtualMeshToMesh indicates an expected call of ReportVirtualMeshToMesh