reporting

package
v1.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 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 traffic policy that has been applied to a TrafficTarget
	ReportTrafficPolicyToTrafficTarget(trafficTarget *discoveryv1alpha2.TrafficTarget, trafficPolicy ezkube.ResourceId, err error)

	// report an error on an access policy that has been applied to a TrafficTarget
	ReportAccessPolicyToTrafficTarget(trafficTarget *discoveryv1alpha2.TrafficTarget, accessPolicy ezkube.ResourceId, err error)

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

	// report an error on a failover service that has been applied to a Mesh
	ReportFailoverServiceToMesh(mesh *discoveryv1alpha2.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