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) ReportTrafficPolicyToDestination(destination *v1.Destination, trafficPolicy ezkube.ResourceId, err error)
- func (m *MockReporter) ReportVirtualMeshToDestination(destination *v1.Destination, virtualMesh 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) ReportTrafficPolicyToDestination(destination, trafficPolicy, err interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportVirtualMeshToDestination(destination, virtualMesh, 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) ReportTrafficPolicyToDestination ¶ added in v1.0.0
func (m *MockReporter) ReportTrafficPolicyToDestination(destination *v1.Destination, trafficPolicy ezkube.ResourceId, err error)
ReportTrafficPolicyToDestination mocks base method.
func (*MockReporter) ReportVirtualMeshToDestination ¶ added in v1.0.4
func (m *MockReporter) ReportVirtualMeshToDestination(destination *v1.Destination, virtualMesh ezkube.ResourceId, err error)
ReportVirtualMeshToDestination 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) 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) ReportVirtualMeshToDestination ¶ added in v1.0.4
func (mr *MockReporterMockRecorder) ReportVirtualMeshToDestination(destination, virtualMesh, err interface{}) *gomock.Call
ReportVirtualMeshToDestination indicates an expected call of ReportVirtualMeshToDestination.
func (*MockReporterMockRecorder) ReportVirtualMeshToMesh ¶
func (mr *MockReporterMockRecorder) ReportVirtualMeshToMesh(mesh, virtualMesh, err interface{}) *gomock.Call
ReportVirtualMeshToMesh indicates an expected call of ReportVirtualMeshToMesh.