Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdServer ¶
func NewCmdServer(logger logrus.FieldLogger, config *Config) *cobra.Command
Types ¶
type Config ¶
type Config struct { Logging struct { Level string `mapstructure:"level"` Format string `mapstructure:"format"` } `mapstructure:"logging"` Adapter struct { RepositoryTable string `mapstructure:"repository_table"` ProcessingTable string `mapstructure:"processing_table"` RegistryTable string `mapstructure:"registry_table"` QueueRecvMainAddr string `mapstructure:"queue_recv_main_addr"` QueueSendMainAddr string `mapstructure:"queue_send_main_addr"` QueueSendErrorAddr string `mapstructure:"queue_send_error_addr"` QueueSendInvalidAddr string `mapstructure:"queue_send_invalid_addr"` ValidationServiceAddr string `mapstructure:"validation_service_addr"` } `mapstructure:"adapter"` AWS struct { S3Profile string `mapstructure:"s3_profile"` S3Endpoint string `mapstructure:"s3_endpoint"` DynamoDBProfile string `mapstructure:"dynamodb_profile"` DynamoDBEndpoint string `mapstructure:"dynamodb_endpoint"` SQSProfile string `mapstructure:"sqs_profile"` SQSEndpoint string `mapstructure:"sqs_endpoint"` SNSProfile string `mapstructure:"sns_profile"` SNSEndpoint string `mapstructure:"sns_endpoint"` } `mapstructure:"aws"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.