clair: github.com/coreos/clair/api Index | Files | Directories

package api

import "github.com/coreos/clair/api"

Index

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.

Directories

PathSynopsis
v3
v3/clairpbPackage clairpb is a generated protocol buffer package.

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