configuration

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleEnvironmentVars

func HandleEnvironmentVars(config Config)

preparations for docker

Types

type Config

type Config = *ConfigStruct

func Load

func Load(location string) (config Config, err error)

type ConfigStruct

type ConfigStruct struct {
	ApiPort            string `json:"api_port"`
	DeviceRepoUrl      string `json:"device_repo_url"`
	ProcessRepoUrl     string `json:"process_repo_url"`
	PermissionsV2Url   string `json:"permissions_v2_url"`
	DeviceSelectionUrl string `json:"device_selection_url"`
	Debug              bool   `json:"debug"`
	NotificationUrl    string `json:"notification_url"`
	ProcessSyncUrl     string `json:"process_sync_url"`

	EnableDeviceGroupsForTasks  bool `json:"enable_device_groups_for_tasks"`
	EnableDeviceGroupsForEvents bool `json:"enable_device_groups_for_events"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL