Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_DIR = "/var/db/sherpa" DEFAULT_HOST = "0.0.0.0" DEFAULT_PORT = ":6430" VERSION = "0.0.1" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opts ¶
type Opts struct { BuildGCInterval int `json:"build_gc_interval"` // how often to remove failed builds (default 1hr) BuildGCMarkFailedInterval int `json:"build_gc_mark_failed_interval"` // how long to wait before marking a build as failed (default 60sec) DataDir string `json:"data_dir"` // (/var/db/sherpa by default) DBConn string `json:"db_conn"` // postgres://username:password@ip:port/database (postgres://postgres@localhost/sherpa) Host string `json:"host"` // Binding IP Port string `json:"port"` // Binding Port TemplateGCInterval int `json:"template_gc_interval"` // how often to remove unknown templates (default 1hr) URI string // }
Click to show internal directories.
Click to hide internal directories.