Documentation ¶
Index ¶
- Constants
- type Auth
- type MQTTClientAuth
- func (a *MQTTClientAuth) Close()
- func (a *MQTTClientAuth) DefaultSpec() interface{}
- func (a *MQTTClientAuth) Description() string
- func (a *MQTTClientAuth) HandleMQTT(ctx context.MQTTContext) *context.MQTTResult
- func (a *MQTTClientAuth) Inherit(filterSpec *pipeline.FilterSpec, previousGeneration pipeline.Filter)
- func (a *MQTTClientAuth) Init(filterSpec *pipeline.FilterSpec)
- func (a *MQTTClientAuth) Kind() string
- func (a *MQTTClientAuth) Results() []string
- func (a *MQTTClientAuth) Status() interface{}
- type Spec
Constants ¶
View Source
const (
// Kind is the kind of MQTTClientAuth
Kind = "MQTTClientAuth"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Username string `yaml:"username" jsonschema:"required"` SaltedSha256Pass string `yaml:"saltedSha256Pass" jsonschema:"required"` }
Auth describes username and password for MQTTProxy
type MQTTClientAuth ¶
type MQTTClientAuth struct {
// contains filtered or unexported fields
}
MQTTClientAuth is used to check authentication for MQTT client
func (*MQTTClientAuth) DefaultSpec ¶
func (a *MQTTClientAuth) DefaultSpec() interface{}
DefaultSpec return default spec of MQTTClientAuth
func (*MQTTClientAuth) Description ¶
func (a *MQTTClientAuth) Description() string
Description return description of MQTTClientAuth
func (*MQTTClientAuth) HandleMQTT ¶
func (a *MQTTClientAuth) HandleMQTT(ctx context.MQTTContext) *context.MQTTResult
HandleMQTT handle MQTT context
func (*MQTTClientAuth) Inherit ¶
func (a *MQTTClientAuth) Inherit(filterSpec *pipeline.FilterSpec, previousGeneration pipeline.Filter)
Inherit init MQTTClientAuth based on previous generation
func (*MQTTClientAuth) Init ¶
func (a *MQTTClientAuth) Init(filterSpec *pipeline.FilterSpec)
Init init MQTTClientAuth
func (*MQTTClientAuth) Kind ¶
func (a *MQTTClientAuth) Kind() string
Kind return kind of MQTTClientAuth
func (*MQTTClientAuth) Results ¶
func (a *MQTTClientAuth) Results() []string
Results return possible results of MQTTClientAuth
func (*MQTTClientAuth) Status ¶
func (a *MQTTClientAuth) Status() interface{}
Status return status of MQTTClientAuth
Click to show internal directories.
Click to hide internal directories.