Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewId = func() string { return uuid.NewString() }
to replace when testing
View Source
var TimeNow = func() time.Time { return time.Now() }
to replace time when testing
Functions ¶
Types ¶
type ConfigStruct ¶
type ConfigStruct struct {
ApiPort string `json:"api_port"`
KafkaUrl string `json:"kafka_url"`
DeviceRepoUrl string `json:"device_repo_url"`
ProcessRepoUrl string `json:"process_repo_url"`
PermissionsV2Url string `json:"permissions_v2_url"`
DeviceSelectionUrl string `json:"device_selection_url"`
MongoUrl string `json:"mongo_url"`
MongoTable string `json:"mongo_table"`
MongoDeploymentCollection string `json:"mongo_deployment_collection"`
MongoDependenciesCollection string `json:"mongo_dependencies_collection"`
ConsumerGroup string `json:"consumer_group"`
Debug bool `json:"debug"`
ConnectivityTest bool `json:"connectivity_test"`
DeploymentTopic string `json:"deployment_topic"`
UsersTopic string `json:"users_topic"`
NotificationUrl string `json:"notification_url"`
ImportDeployUrl string `json:"import_deploy_url"`
CacheInvalidationKafkaTopics []string `json:"cache_invalidation_kafka_topics"`
EnableDeviceGroupsForTasks bool `json:"enable_device_groups_for_tasks"`
EnableDeviceGroupsForEvents bool `json:"enable_device_groups_for_events"`
EnableImportsForEvents bool `json:"enable_imports_for_events"`
EnableModifiedDevicesForDeploymentOptions bool `json:"enable_modified_devices_for_deployment_options"`
HttpClientTimeout string `json:"http_client_timeout"`
HttpServerTimeout string `json:"http_server_timeout"`
HttpServerReadTimeout string `json:"http_server_read_timeout"`
}
Click to show internal directories.
Click to hide internal directories.