clairerror

package
v4.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrBadIndexReport

type ErrBadIndexReport struct {
	E error
}

ErrBadManifest inidcates a manifest could not be parsed

func (*ErrBadIndexReport) Error

func (e *ErrBadIndexReport) Error() string

func (*ErrBadIndexReport) Unwrap

func (e *ErrBadIndexReport) Unwrap() error

type ErrBadManifest

type ErrBadManifest struct {
	E error
}

ErrBadManifest inidcates a manifest could not be parsed

func (*ErrBadManifest) Error

func (e *ErrBadManifest) Error() string

func (*ErrBadManifest) Unwrap

func (e *ErrBadManifest) Unwrap() error

type ErrIndexReportNotFound

type ErrIndexReportNotFound struct {
	Hash string
}

ErrIndexReportNotFound indicates a requested IndexReport was not found

func (*ErrIndexReportNotFound) Error

func (e *ErrIndexReportNotFound) Error() string

type ErrIndexReportRetrieval

type ErrIndexReportRetrieval struct {
	E error
}

ErrIndexReportRetrieval indicates an error while attempting to retrieve an IndexReport

func (*ErrIndexReportRetrieval) Error

func (e *ErrIndexReportRetrieval) Error() string

func (*ErrIndexReportRetrieval) Unwrap

func (e *ErrIndexReportRetrieval) Unwrap() error

type ErrIndexStart

type ErrIndexStart struct {
	E error
}

IndexStartErr indicates an index operation failed to start

func (*ErrIndexStart) Error

func (e *ErrIndexStart) Error() string

func (*ErrIndexStart) Unwrap

func (e *ErrIndexStart) Unwrap() error

type ErrMatch

type ErrMatch struct {
	E error
}

ErrMatch indicates an issue with matching a IndexReport to a VulnerabilityReport

func (*ErrMatch) Error

func (e *ErrMatch) Error() string

func (*ErrMatch) Unwrap

func (e *ErrMatch) Unwrap() error

type ErrNotInitialized

type ErrNotInitialized struct {
	Msg string
}

func (ErrNotInitialized) Error

func (e ErrNotInitialized) Error() string

type ErrRequestFail

type ErrRequestFail struct {
	Code   int
	Status string
}

ErrRequestFail indicates an http request failure

func (*ErrRequestFail) Error

func (e *ErrRequestFail) Error() string

Jump to

Keyboard shortcuts

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