Documentation ¶
Index ¶
Constants ¶
View Source
const ( AggregationTypeNo = iota AggregationTypeSkip = iota AggregationTypeAppend = iota )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregationType ¶
type AggregationType int
type Config ¶
type Config struct { ProjectID string IngressSubscription string DefaultEgress EgressTopicConfig Routing map[string]EgressTopicConfig }
func ParseConfig ¶
type EgressTopicConfig ¶
type EgressTopicConfig struct { Name string Aggregation AggregationType }
type Ingress ¶
type Ingress struct {
// contains filtered or unexported fields
}
func NewIngress ¶
func NewIngress(config IngressConfig) *Ingress
type IngressConfig ¶
type IngressConfig struct { Router Router Storage storage.SchedulerStorage TimeSource TimeSource }
type Router ¶
type SystemTime ¶
type SystemTime struct{}
func (SystemTime) Now ¶
func (SystemTime) Now() time.Time
type Ticker ¶
type Ticker struct {
// contains filtered or unexported fields
}
func NewTicker ¶
func NewTicker(config TickerConfig) *Ticker
func (*Ticker) HandleMessage ¶
type TickerConfig ¶
type TickerConfig struct { Router Router Storage storage.SchedulerStorage TimeSource TimeSource }
type TimeSource ¶
Click to show internal directories.
Click to hide internal directories.