generic

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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 GenericResolver

type GenericResolver struct {
	Client client.Client
}

GenericResolver is a generic targetresolver that checks which actual resolver is required and then uses it to resolve the Target.

func New

New creates a new GenericResolver. This constructor's argument list is the union of all actual targetresolver's arguments. The given arguments may be nil, if it is known that the specific resolver which requires the argument will not be needed, but this will cause errors if done wrong (which tries to instantiate an actual resolver with nil arguments).

func (GenericResolver) Resolve

Jump to

Keyboard shortcuts

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