MCPcopy
hub / github.com/openziti/ziti / TypedProvider

Interface TypedProvider

controller/ioc/typed_registry.go:31–33  ·  view source on GitHub ↗

TypedProvider instances return instances of a given type. They may return singletons or a new instance each time

Source from the content-addressed store, hash-verified

29// TypedProvider instances return instances of a given type. They may return singletons or
30// a new instance each time
31type TypedProvider[T any] interface {
32 Get() (T, error)
33}
34
35type typedSingletonProvider[T any] struct {
36 value T

Callers 4

CachingProviderFunction · 0.65
GetTypedProviderFunction · 0.65
GetTypedFunction · 0.65
InjectableProviderFunction · 0.65

Implementers 7

CircuitManagercontroller/model/circuit_manager.go
testJwksProvidercontroller/model/authenticator_mod_ext
LinkManagercontroller/model/link_manager.go
routerTxMapcontroller/sync_strats/rtx.go
TerminatorCostscontroller/xt_common/cost_visitor.go
HostedServiceRegistryrouter/xgress_edge_tunnel/hosted.go
hostedServiceRegistryrouter/xgress_edge/hosted.go

Calls

no outgoing calls

Tested by

no test coverage detected