Documentation ¶
Index ¶
- Constants
- func HttpTransportFromClient(secretProvider interfaces.SecretProviderExt, clientInfo *config.ClientInfo, ...) (http.RoundTripper, error)
- func HttpTransportFromService(secretProvider interfaces.SecretProviderExt, serviceInfo config.ServiceInfo, ...) (http.RoundTripper, error)
- func ListenOnMode(bootstrapConfig config.BootstrapConfiguration, serverKey, addr string, ...) error
- func SetupWebListener(serviceConfig config.ServiceInfo, serviceName, addr string, dic *di.Container) (net.Listener, error)
- type OpenZitiIdentityKey
- type ZitiDialer
Constants ¶
View Source
const ( OpenZitiControllerKey = "OpenZitiController" ZeroTrustMode = "zerotrust" OpenZitiServicePrefix = "edgex." )
Variables ¶
This section is empty.
Functions ¶
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)
func ListenOnMode ¶
func ListenOnMode(bootstrapConfig config.BootstrapConfiguration, serverKey, addr string, t startup.Timer, server *http.Server, dic *di.Container) error
ListenOnMode configures and starts an HTTP server based on the provided security mode. If the security mode is set to zerotrust, it establishes a zero trust overlay network using OpenZiti. Otherwise, it listens on the specified address using the default network.
func SetupWebListener ¶
Types ¶
type OpenZitiIdentityKey ¶
type OpenZitiIdentityKey struct{}
type ZitiDialer ¶
type ZitiDialer struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.