Discover modules > github.com/xchangeee/syslet/schema > addons
v0.2.0
#SysdefBackup: ¶
backup!: ¶
[string]: #SysdefBackupEntry ¶
#SysdefBackupEntry: ¶

backup of one application

volumes!: ¶

volume name -> paths inside the volume

[VolumeName=string]: [...string] ¶
[...]: string
snapshotHooks!: #SysdefSnapshotHooks ¶

commands the backup system runs around a snapshot

restoreHooks!: #SysdefRestoreHooks ¶

commands the backup system runs around a restore

#SysdefSnapshotHooks: ¶
pre!: [...string] ¶

commands run before the snapshot

[...]: string
post!: [...string] ¶

commands run after the snapshot failed

[...]: string
#SysdefRestoreHooks: ¶
postRestoreScript?: string ¶

shell script run in the backup container while the application is stopped, after its files and database are restored, e.g. to put a restored file in place

offline!: [...string] ¶

commands run while the application is stopped, after its files and database are restored, e.g. to empty its cache

[...]: string
online!: [...string] ¶

commands run after the application is started again

[...]: string
#SysdefBackupDefaults: ¶
backup: ¶
[string]: ¶
snapshotHooks: ¶
pre: *[] | [...string] ¶
[...]: string
post: *[] | [...string] ¶
[...]: string
restoreHooks: ¶
offline: *[] | [...string] ¶
[...]: string
online: *[] | [...string] ¶
[...]: string
#SysdefIngress: ¶
ingress!: ¶
[string]: #SysdefIngressEntry ¶
#SysdefIngressEntry: ¶

Sysdef collects containers, networks, volumes, builds, secrets by name and provides an 'enabled' flag to quickly remove items without deleting them from code

enabled!: bool ¶
host!: string ¶
tls!: bool ¶
containerPort?: int ¶
backends?: string ¶
reverseProxyConfig: string ¶
extraConfig: string ¶
#SysdefIngressDefaults: ¶
ingress: ¶
[string]: ¶
enabled: bool | *true ¶
tls: bool | *true ¶
reverseProxyConfig: string | *"" ¶
extraConfig: string | *"" ¶

Source files

  • backup.cue
  • ingress.cue