Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchoreEngine ¶
type AnchoreEngine struct { URL string `yaml:"url"` User string `yaml:"user"` Pass string `yaml:"pass"` AsAccount string `yaml:"as_account"` }
AnchoreEngine is the struct that stores a vendor and its config
type Clair ¶
type Clair struct {
URL string `yaml:"url"`
}
Clair is the struct that stores a vendor and its config
type Client ¶
type Client struct {
URL string `yaml:"url"`
}
Client is the struct that stores config need to run client
type Configuration ¶
type Configuration struct { Server *Server `yaml:"server,omitempty"` DB *Database `yaml:"database,omitempty"` Vendors *Vendors `yaml:"vendors,omitempty"` Client *Client `yaml:"client,omitempty"` }
Configuration holds data necessary for configuring application
type Database ¶
type Database struct { LogQueries bool `yaml:"log_queries,omitempty"` Timeout int `yaml:"timeout_seconds,omitempty"` }
Database holds data necessary for database configuration
type Server ¶
type Server struct { Port string `yaml:"port,omitempty"` Debug bool `yaml:"debug,omitempty"` ReadTimeout int `yaml:"read_timeout_seconds,omitempty"` WriteTimeout int `yaml:"write_timeout_seconds,omitempty"` }
Server holds data necessary for server configuration
type Vendors ¶
type Vendors struct { Clair *Clair `yaml:"clair,omitempty"` AnchoreEngine *AnchoreEngine `yaml:"anchore_engine,omitempty"` Trivy *Trivy `yaml:"trivy,omitempty"` }
Vendors is the struct that stores a list of vendors
Click to show internal directories.
Click to hide internal directories.