Documentation
¶
Overview ¶
Package tlsconfig contains the tlsConfig node implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLSConfigNode ¶
TLSConfigNode is a config entity; its Execute is never invoked (no ports), existing only to satisfy the NodeExecutor contract.
func NewTLSConfigNode ¶
func NewTLSConfigNode(node nodestore.NodeInterface, config *nodebase.TLSConfig) *TLSConfigNode
NewTLSConfigNode creates a new tlsConfig node
func (*TLSConfigNode) Execute ¶
func (n *TLSConfigNode) Execute(ctx context.Context, input nodestore.MessageInterface) (nodestore.MessageInterface, error)
Execute passes the payload through — unreachable in practice since a tlsConfig node has no inputs.
func (*TLSConfigNode) Validate ¶
func (n *TLSConfigNode) Validate() error
Validate checks the structural config: a cert requires its key and vice versa. File readability is checked when the material is loaded (LoadTLSConfig) — Node-RED similarly flags unreadable files at use.