Documentation ¶ Index ¶ func Run(cfg *Config, cc clairclient.Client, backend datastore.Backend, ...) func RunHealth(cfg *Config, backend datastore.Backend, st *stopper.Stopper) type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(cfg *Config, cc clairclient.Client, backend datastore.Backend, st *stopper.Stopper) Run starts main API func RunHealth ¶ func RunHealth(cfg *Config, backend datastore.Backend, st *stopper.Stopper) RunHealth starts the health API Types ¶ type Config ¶ type Config struct { Port int HealthPort int Timeout time.Duration ClairURL string ClairTimeout int CertFile, KeyFile, CAFile string ImageWebhookDefaultBlock bool RegAuth []map[string]string `yaml:"k8scrawlcredentials"` } Config is the configuration for the API service Source Files ¶ View all Source files api.go router.go Directories ¶ Show internal Expand all Path Synopsis v1 Click to show internal directories. Click to hide internal directories.