reporting

package
v1.0.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 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)

	// report an error on a failover service that has been applied to a Mesh
	ReportFailoverServiceToMesh(mesh *discoveryv1.Mesh, failoverService ezkube.ResourceId, err error)

	// report an error on a failover service
	ReportFailoverService(failoverService ezkube.ResourceId, errs []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