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

Struct IdentityTransportFactory

controller/rest_util/clients.go:103–105  ·  view source on GitHub ↗

IdentityTransportFactory will use the client TLSConfig provided by the given identity to configure a ClientTransport

Source from the content-addressed store, hash-verified

101// IdentityTransportFactory will use the client TLSConfig provided by the given identity to configure
102// a ClientTransport
103type IdentityTransportFactory struct {
104 identity identity.Identity
105}
106
107func (self *IdentityTransportFactory) New(config TransportConfig) (runtime.ClientTransport, error) {
108 ctrlUrl, err := url.Parse(config.GetHost())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected