Documentation ¶
Overview ¶
Code generated by gogen-enum DO NOT EDIT.
Index ¶
Constants ¶
View Source
const ( // EnvInputType -- AWS input source type [SQS|SNS|KINESIS] EnvInputType = "SCP_INPUT_TYPE" // EnvTenant -- tenant name environment variable EnvTenant = "SCP_TENANT" // EnvClientID -- client id environment variable EnvClientID = "SCP_CLIENT_ID" // EnvClientSecret -- client secret environment variable EnvClientSecret = "SCP_CLIENT_SECRET" //nolint:gosec // EnvHost -- event host environment variable EnvHost = "SCP_EVENT_HOST" // EnvSource -- event source environment variable EnvSource = "SCP_EVENT_SOURCE" // EnvSourceType -- event source type environment variable EnvSourceType = "SCP_EVENT_SOURCETYPE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { EventSource EventSourceType Tenant string ClientID string ClientSecret string Host string Source string SourceType string Events chan ingest.Event }
Config --
type EventSourceType ¶
type EventSourceType int
EventSourceType -- enum type
const ( EventSourceTypeUnknown EventSourceType = 0 + iota EventSourceTypeSQS EventSourceTypeSNS EventSourceTypeKinesis )
EventSourceType -- enum constants
func NewEventSourceType ¶
func NewEventSourceType(k string) EventSourceType
NewEventSourceType -- Create EventSourceType instance from string representation
Click to show internal directories.
Click to hide internal directories.