secure

package
v2.0.0-dev.9 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AuthModeNone             = "none"
	AuthModeUsernamePassword = "usernamepassword"
	AuthModeCert             = "clientcert"
	AuthModeCA               = "cacert"
	// Name of the keys to look for in secret provider
	MQTTSecretUsername   = "username"
	MQTTSecretPassword   = "password"
	MQTTSecretClientKey  = "clientkey"
	MQTTSecretClientCert = AuthModeCert
	MQTTSecretCACert     = AuthModeCA
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MqttFactory

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

func NewMqttFactory

func NewMqttFactory(lc logger.LoggingClient, sp interfaces.SecretProvider, mode string, path string, skipVerify bool) MqttFactory

func (MqttFactory) Create

func (factory MqttFactory) Create(opts *mqtt.ClientOptions) (mqtt.Client, error)

Jump to

Keyboard shortcuts

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