errorinjectors

package
v1.4.2-prerelease01 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminClient

func NewAdminClient(client _sourceAdmin.Client, errorRate float64, logger log.Logger) _sourceAdmin.Client

NewAdminClient creates a new instance of adminClient that injects error into every call with a given rate.

func NewFrontendClient

func NewFrontendClient(client _sourceFrontend.Client, errorRate float64, logger log.Logger) _sourceFrontend.Client

NewFrontendClient creates a new instance of frontendClient that injects error into every call with a given rate.

func NewHistoryClient

func NewHistoryClient(client _sourceHistory.Client, errorRate float64, logger log.Logger) _sourceHistory.Client

NewHistoryClient creates a new instance of historyClient that injects error into every call with a given rate.

func NewMatchingClient

func NewMatchingClient(client _sourceMatching.Client, errorRate float64, logger log.Logger) _sourceMatching.Client

NewMatchingClient creates a new instance of matchingClient that injects error into every call with a given rate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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