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
DbHost string `json:"-"`
DbPort uint16 `json:"-"`
DbName string `json:"-"`
DbUser string `json:"-"`
DbPass 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"`
DefaultOutput string `json:"defaultOutput"`
DeadletterOutput string `json:"deadletterOutput"`
// GCP
Project string `json:"project,omitempty"`
// Kafka
Brokers []string `json:"kakfaBrokers,omitempty"`
// Http / API
ApiKey string `json:"-"`
// Misc
Region string `json:"-"`
// Database
Hosts []string `json:"-"`
Port uint16 `json:"-"`
Database string `json:"-"`
User string `json:"-"`
Password string `json:"-"`
// Pubnub
PubnubPubKey string `json:"pubnubPubKey,omitempty"`
PubnubSubKey string `json:"pubnubSubKey,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.