tree

package
v2.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tree provides data structures that define the possible paths through chained Backends to assist with config Validation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrInvalidBackendRouting

func NewErrInvalidBackendRouting(errorString string, a ...any) error

NewErrInvalidBackendRouting returns an invalid User Router Options error

Types

type Entries

type Entries []*Entry

func (Entries) Validate

func (e Entries) Validate() error

type Entry

type Entry struct {
	Name           string
	Type           string
	Pool           []string
	UserRouterPool []string
	TargetProvider string
}

type InvalidBackendRoutingError

type InvalidBackendRoutingError struct {
	// contains filtered or unexported fields
}

InvalidBackendRoutingError is an error type for Invalid Backend Routing

type Lookup

type Lookup map[string]*Entry

Jump to

Keyboard shortcuts

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