firehose-to-syslog: github.com/cloudfoundry-community/firehose-to-syslog/eventRouting Index | Files

package eventRouting

import "github.com/cloudfoundry-community/firehose-to-syslog/eventRouting"

Index

Package Files

eventrouting.go eventrouting_default.go

func GetListAuthorizedEventEvents Uses

func GetListAuthorizedEventEvents() (authorizedEvents string)

func IsAuthorizedEvent Uses

func IsAuthorizedEvent(wantedEvent string) bool

type EventRouting Uses

type EventRouting interface {
    GetSelectedEvents() map[string]bool
    RouteEvent(msg *events.Envelope)
    SetupEventRouting(wantedEvents string) error
    SetExtraFields(extraEventsString string)
}

func NewEventRouting Uses

func NewEventRouting(caching caching.Caching, logging logging.Logging, stats *stats.Stats) EventRouting

type EventRoutingDefault Uses

type EventRoutingDefault struct {
    CachingClient caching.Caching

    Stats *stats.Stats

    ExtraFields map[string]string
    // contains filtered or unexported fields
}

func (*EventRoutingDefault) GetSelectedEvents Uses

func (e *EventRoutingDefault) GetSelectedEvents() map[string]bool

func (*EventRoutingDefault) RouteEvent Uses

func (e *EventRoutingDefault) RouteEvent(msg *events.Envelope)

func (*EventRoutingDefault) SetExtraFields Uses

func (e *EventRoutingDefault) SetExtraFields(extraEventsString string)

func (*EventRoutingDefault) SetupEventRouting Uses

func (e *EventRoutingDefault) SetupEventRouting(wantedEvents string) error

Package eventRouting imports 10 packages (graph) and is imported by 4 packages. Updated 2017-11-22. Refresh now. Tools for package owners.