zerotrust

package
v3.2.0-dev.54 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenZitiControllerKey = "OpenZitiController"
	ZeroTrustMode         = "zerotrust"
	OpenZitiServicePrefix = "edgex."
)

Variables

This section is empty.

Functions

func AuthToOpenZiti

func AuthToOpenZiti(ozController, jwt string) (ziti.Context, error)

func HttpTransportFromClient

func HttpTransportFromClient(secretProvider interfaces.SecretProviderExt, clientInfo *config.ClientInfo, lc logger.LoggingClient) (http.RoundTripper, error)

func HttpTransportFromService

func HttpTransportFromService(secretProvider interfaces.SecretProviderExt, serviceInfo config.ServiceInfo, lc logger.LoggingClient) (http.RoundTripper, error)

Types

type ZitiDialer

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

func (ZitiDialer) Dial

func (z ZitiDialer) Dial(network, address string) (net.Conn, error)

Jump to

Keyboard shortcuts

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