reporting

package
v1.0.0-beta9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter interface {
	// report an error on a TrafficPolicy that has been applied to a Destination
	ReportTrafficPolicyToDestination(destination *discoveryv1.Destination, trafficPolicy ezkube.ResourceId, err error)

	// report an error on an AccessPolicy that has been applied to a Destination
	ReportAccessPolicyToDestination(destination *discoveryv1.Destination, accessPolicy ezkube.ResourceId, err error)

	// report an error on a VirtualMesh that has been applied to a Mesh
	ReportVirtualMeshToMesh(mesh *discoveryv1.Mesh, virtualMesh ezkube.ResourceId, err error)
}

the reporter reports status errors on user configuration objects

func NewPanickingReporter

func NewPanickingReporter(ctx context.Context) Reporter

Directories

Path Synopsis
Package mock_reporting is a generated GoMock package.
Package mock_reporting is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL