Documentation ¶
Index ¶
- type Anonymize
- type App
- type Backend
- type Cloudevents
- type Config
- type Cors
- type Device
- type Http
- type Identity
- type IdentityCookie
- type Inputs
- type Manifold
- type Middleware
- type Pixel
- type Privacy
- type Purge
- type RateLimiter
- type Registry
- type Relay
- type RequestLogger
- type SelfDescribing
- type SelfDescribingRootAndChildConfig
- type SelfDescribingRootConfig
- type Sink
- type Snowplow
- type Squawkbox
- type Tele
- type Timeout
- type User
- type Webhook
- type Yeet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { Type string `json:"type"` Path string `json:"path"` // S3 and Gcs Bucket string `json:"bucket,omitempty"` // Gcs Region string `json:"region,omitempty"` // Http Host string `json:"host,omitempty"` // Db, general RegistryTable string `json:"registryTable,omitempty"` // Postgres Database PgHost string `json:"-"` PgPort uint16 `json:"-"` PgDbName string `json:"-"` PgUser string `json:"-"` PgPass string `json:"-"` // Mysql Database MysqlHost string `json:"-"` MysqlPort uint16 `json:"-"` MysqlDbName string `json:"-"` MysqlUser string `json:"-"` MysqlPass string `json:"-"` // Materialize Database MzHost string `json:"-"` MzPort uint16 `json:"-"` MzDbName string `json:"-"` MzUser string `json:"-"` MzPass string `json:"-"` // Clickhouse Database ClickhouseHost string `json:"-"` ClickhousePort uint16 `json:"-"` ClickhouseDbName string `json:"-"` ClickhouseUser string `json:"-"` ClickhousePass string `json:"-"` // Mongodb MongoHosts []string `json:"mongoHosts,omitempty"` MongoPort string `json:"mongoDbPort,omitempty"` MongoDbName string `json:"mongoDbName,omitempty"` MongoUser string `json:"-"` MongoPass string `json:"-"` RegistryCollection string `json:"registryCollection,omitempty"` // Minio MinioEndpoint string `json:"minioEndpoint,omitempty"` AccessKeyId string `json:"accessKeyId,omitempty"` SecretAccessKey string `json:"secretAccessKey,omitempty"` }
type Cloudevents ¶
type Identity ¶
type Identity struct { Cookie IdentityCookie `json:"cookie"` Fallback string `json:"fallback"` }
type IdentityCookie ¶
type Inputs ¶
type Inputs struct { Snowplow `json:"snowplow"` Cloudevents `json:"cloudevents"` SelfDescribing `json:"selfDescribing"` Webhook `json:"webhook"` Pixel `json:"pixel"` }
type Middleware ¶
type Middleware struct { Timeout `json:"timeout"` RateLimiter `json:"rateLimiter"` Identity `json:"identity"` Cors `json:"cors"` RequestLogger `json:"requestLogger"` Yeet `json:"yeet"` }
type RateLimiter ¶
type RequestLogger ¶
type RequestLogger struct {
Enabled bool `json:"enabled"`
}
type SelfDescribing ¶ added in v0.12.0
type SelfDescribing struct { Enabled bool `json:"enabled"` Path string `json:"path"` Contexts SelfDescribingRootConfig `json:"contexts"` Payload SelfDescribingRootAndChildConfig `json:"payload"` }
type SelfDescribingRootAndChildConfig ¶ added in v0.12.0
type SelfDescribingRootConfig ¶ added in v0.12.0
type SelfDescribingRootConfig struct {
RootKey string `json:"rootKey"`
}
type Sink ¶
type Sink struct { Name string `json:"name"` Type string `json:"type"` DeliveryRequired bool `json:"deliveryRequired"` Project string `json:"project,omitempty"` KafkaBrokers []string `json:"kakfaBrokers,omitempty"` // Kafka, Pubsub ValidTopic string `json:"validTopic,omitempty"` InvalidTopic string `json:"invalidTopic,omitempty"` // Kinesis ValidStream string `json:"validStream,omitempty"` InvalidStream string `json:"invalidStream,omitempty"` // Relay, HTTP/S, etc ValidUrl string `json:"validUrl,omitempty"` InvalidUrl string `json:"invalidUrl,omitempty"` // Subject-based ValidSubject string `json:"validSubject,omitempty"` InvalidSubject string `json:"invalidSubject,omitempty"` // NATS NatsHost string `json:"-"` NatsUser string `json:"-"` NatsPass string `json:"-"` // Elasticsearch ValidIndex string `json:"validIndex,omitempty"` InvalidIndex string `json:"invalidIndex,omitempty"` ElasticsearchHosts []string `json:"elasticsearchHosts,omitempty"` ElasticsearchUsername string `json:"-"` ElasticsearchPassword string `json:"-"` // File ValidFile string `json:"validFile,omitempty"` InvalidFile string `json:"invalidFile,omitempty"` // Postgres Database PgHost string `json:"-"` PgPort uint16 `json:"-"` PgDbName string `json:"-"` PgUser string `json:"-"` PgPass string `json:"-"` // Mysql Database MysqlHost string `json:"-"` MysqlPort uint16 `json:"-"` MysqlDbName string `json:"-"` MysqlUser string `json:"-"` MysqlPass string `json:"-"` // Materialize Database MzHost string `json:"-"` MzPort uint16 `json:"-"` MzDbName string `json:"-"` MzUser string `json:"-"` MzPass string `json:"-"` // Timescale Database TimescaleHost string `json:"-"` TimescalePort uint16 `json:"-"` TimescaleDbName string `json:"-"` TimescaleUser string `json:"-"` TimescalePass string `json:"-"` // Clickhouse Database ClickhouseHost string `json:"-"` ClickhousePort uint16 `json:"-"` ClickhouseDbName string `json:"-"` ClickhouseUser string `json:"-"` ClickhousePass string `json:"-"` // Database ValidTable string `json:"validTable,omitempty"` InvalidTable string `json:"invalidTable,omitempty"` // Pubnub ValidChannel string `json:"validChannel,omitempty"` InvalidChannel string `json:"invalidChannel,omitempty"` PubnubPubKey string `json:"pubnubPubKey,omitempty"` PubnubSubKey string `json:"pubnubSubKey,omitempty"` // Mongodb MongoHosts []string `json:"mongoHosts,omitempty"` MongoPort string `json:"mongoDbPort,omitempty"` MongoDbName string `json:"mongoDbName,omitempty"` MongoUser string `json:"-"` MongoPass string `json:"-"` ValidCollection string `json:"validCollection,omitempty"` InvalidCollection string `json:"invalidCollection,omitempty"` // Indicative IndicativeApiKey string `json:"-"` // Amplitude AmplitudeApiKey string `json:"-"` AmplitudeRegion string `json:"amplitudeRegion,omitempty"` }
Click to show internal directories.
Click to hide internal directories.