fetchers

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2015 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package fetchers implements vulnerability fetchers for several sources.

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrCouldNotParse is returned when a fetcher fails to parse the update data.
	ErrCouldNotParse = errors.New("updater/fetchers: could not parse")

	// ErrFilesystem is returned when a fetcher fails to interact with the local filesystem.
	ErrFilesystem = errors.New("updater/fetchers: something went wrong when interacting with the fs")
)

Functions

This section is empty.

Types

type DebianFetcher

type DebianFetcher struct{}

DebianFetcher implements updater.Fetcher for the Debian Security Tracker (https://security-tracker.debian.org).

func (*DebianFetcher) FetchUpdate

func (fetcher *DebianFetcher) FetchUpdate() (resp updater.FetcherResponse, err error)

FetchUpdate fetches vulnerability updates from the Debian Security Tracker.

type RHELFetcher

type RHELFetcher struct{}

RHELFetcher implements updater.Fetcher and gets vulnerability updates from the Red Hat OVAL definitions.

func (*RHELFetcher) FetchUpdate

func (f *RHELFetcher) FetchUpdate() (resp updater.FetcherResponse, err error)

FetchUpdate gets vulnerability updates from the Red Hat OVAL definitions.

type UbuntuFetcher

type UbuntuFetcher struct{}

UbuntuFetcher implements updater.Fetcher and get vulnerability updates from the Ubuntu CVE Tracker.

func (*UbuntuFetcher) FetchUpdate

func (fetcher *UbuntuFetcher) FetchUpdate() (resp updater.FetcherResponse, err error)

FetchUpdate gets vulnerability updates from the Ubuntu CVE Tracker.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL