firemesh

package
v0.0.0-...-1cc6e83 Latest Latest
Warning

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

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

Documentation

Overview

Package FIREMESH implements a CloudEvents adapter that allows Triggermesh Sources to integrate with a Firefly Node.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvAccessorCtor

func EnvAccessorCtor() pkgadapter.EnvConfigAccessor

EnvAccessorCtor for configuration parameters

func NewAdapter

NewAdapter adapter implementation

Types

type Blob

type Blob struct {
	Hash string `json:"hash"`
	Size int    `json:"size"`
	Name string `json:"name"`
}

type BlobDataUploadResponse

type BlobDataUploadResponse struct {
	ID        string      `json:"id"`
	Validator string      `json:"validator"`
	Namespace string      `json:"namespace"`
	Hash      string      `json:"hash"`
	Created   time.Time   `json:"created"`
	Value     interface{} `json:"value"`
	Blob      Blob        `json:"blob"`
}

type BroadcastBlobData

type BroadcastBlobData struct {
	Data   []Data                 `json:"data"`
	Header BroadcastMessageHeader `json:"header"`
}

type BroadcastMessage

type BroadcastMessage struct {
	Header BroadcastMessageHeader `json:"header"`
	Data   []BroadcastMessageData `json:"data"`
}

type BroadcastMessageData

type BroadcastMessageData struct {
	Value interface{} `json:"value"`
}

type BroadcastMessageHeader

type BroadcastMessageHeader struct {
	Tag    string   `json:"tag"`
	Topics []string `json:"topics"`
}

type Data

type Data struct {
	ID string `json:"id"`
}

Jump to

Keyboard shortcuts

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