Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // Name of the command Name string // Description of the command (user-friendly) Description string // CMD is actual command to run CMD string // Log lines to show Log int // LogOnError to show log only when command failed LogOnError bool // Migrate command to the following command name Migrate string }
Command config
type Config ¶
type Config struct { // Homeserver url Homeserver string // Login is a MXID localpart (scheduler - OK, @scheduler:example.com - wrong) Login string // Password for login/password auth only Password string // RoomID of the admin room RoomID id.RoomID // OrdersRoomID of the orders room OrdersRoomID id.RoomID // InventoryPath is a path to the ansible inventory InventoryPath string // LogLevel for logger LogLevel string // Sentry DSN Sentry string // Hetzner config Hetzner Hetzner // GitPoster config GP GP // Prometheus Service Discovery config PSD PSD // Commands map Commands map[string]*Command // AdminCommands map, the same commands, but visible only in the admin room AdminCommands map[string]*Command // Alerts config Alerts Alerts // Reminders config Reminders Postmark // Followup config Followup Postmark // Onboarding config Onboarding Onboarding // Goodbye config Goodbye Postmark // DB config DB DB // HTTP config HTTP HTTP }
Config of Scheduler
type HetznerCloud ¶
type HetznerCloud struct {
Token string
}
type HetznerDNS ¶
type HetznerDNS struct {
Token string
}
type Onboarding ¶
Click to show internal directories.
Click to hide internal directories.