clair: Index | Files | Directories

package api

import ""


Package Files

api.go router.go

func Run Uses

func Run(cfg *Config, store database.Datastore)

func RunHealth Uses

func RunHealth(cfg *Config, store database.Datastore, st *stopper.Stopper)

type Config Uses

type Config struct {
    Addr                      string
    HealthAddr                string
    Timeout                   time.Duration
    CertFile, KeyFile, CAFile string

Config is the configuration for the API service.


v3/clairpbPackage clairpb is a generated protocol buffer package.

Package api imports 8 packages (graph) and is imported by 19 packages. Updated 2019-07-16. Refresh now. Tools for package owners.