Skip to content

installers._archive.syncthing #

fn new #

fn new(args_ AppArgs) !App

struct App #

struct App {
pub:
	name string
pub mut:
	instance string
	docker   docker.DockerEngine
	last_gid int
}

fn (App) query #

fn (mut a App) query() !

struct AppArgs #

@[params]
struct AppArgs {
pub mut:
	instance        string = 'default'
	reset           bool
	deploy          bool = true
	sshkeys_allowed []string // ssh keys which will be inserted when a docker gets deployed (is not implemented yet)
	localonly       bool     // do you build for local utilization only
	prefix          string   // e.g. despiegk/ or myimage registry-host:5000/despiegk/) is added to the name when pushing	
}