validator

package
v2.25.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonHandler

type CommonHandler struct {
	check.HandlerWithValues

	Rejects  int64
	Rejected int64
	// contains filtered or unexported fields
}

CommonHandler implements common.HandlerWithValues.

func (*CommonHandler) CheckRequest

func (c *CommonHandler) CheckRequest(
	ctx context.Context,
	requestContext iface.RequestContext,
) *flowcontrolv1.CheckResponse

CheckRequest is a dummy function for creating *flowcontrolv1.CheckResponse from given parameters.

type FlowControlHandler

type FlowControlHandler struct {
	flowcontrolv1.UnimplementedFlowControlServiceServer

	CommonHandler check.HandlerWithValues
}

FlowControlHandler implements FlowControlService.

func (*FlowControlHandler) Check

Check is a dummy Check handler.

type TraceHandler

type TraceHandler struct {
	tracev1.UnimplementedTraceServiceServer
}

TraceHandler implements ExportTraceService.

func (TraceHandler) Export

Export is a dummy Export handler.

Jump to

Keyboard shortcuts

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