Documentation ¶
Index ¶
- type ErrBadAffectedManifests
- type ErrBadIndexReport
- type ErrBadManifest
- type ErrBadNotification
- type ErrBadVulnerabilities
- type ErrCreated
- type ErrDeleteNotification
- type ErrDeliveryFailed
- type ErrFailed
- type ErrIndexReportNotFound
- type ErrIndexReportRetrieval
- type ErrIndexStart
- type ErrKeyNotFound
- type ErrMatch
- type ErrNoReceipt
- type ErrNoUpdateOperation
- type ErrNotInitialized
- type ErrPutNotifications
- type ErrReceipt
- type ErrRequestFail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrBadAffectedManifests ¶
type ErrBadAffectedManifests struct {
E error
}
ErrBadAffectedManifests indicates an issue where an AffectedManifests could not be marshalled or unmarshalled into JSON.
func (*ErrBadAffectedManifests) Error ¶
func (e *ErrBadAffectedManifests) Error() string
func (*ErrBadAffectedManifests) Unwrap ¶
func (e *ErrBadAffectedManifests) Unwrap() error
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 ErrBadNotification ¶
ErrBadNotification indicates a notification was malformed. The wrapped error will contain further details.
func (ErrBadNotification) Error ¶
func (e ErrBadNotification) Error() string
func (ErrBadNotification) Unwrap ¶
func (e ErrBadNotification) Unwrap() error
type ErrBadVulnerabilities ¶
type ErrBadVulnerabilities struct {
E error
}
ErrBadVulnerabilities indicates an issue where a set of Vulnerabilities could not be marshalled or unmarshalled into JSON.
func (*ErrBadVulnerabilities) Error ¶
func (e *ErrBadVulnerabilities) Error() string
func (*ErrBadVulnerabilities) Unwrap ¶
func (e *ErrBadVulnerabilities) Unwrap() error
type ErrCreated ¶
type ErrCreated struct {
E error
}
ErrCreated indicates an error occured when retrieving created notification ids.
func (ErrCreated) Error ¶
func (e ErrCreated) Error() string
func (ErrCreated) Unwrap ¶
func (e ErrCreated) Unwrap() error
type ErrDeleteNotification ¶
ErrDeleteNotification indicates an error while deleting notifcations. The wrapped error will contain further details.
func (ErrDeleteNotification) Error ¶
func (e ErrDeleteNotification) Error() string
func (ErrDeleteNotification) Unwrap ¶
func (e ErrDeleteNotification) Unwrap() error
type ErrDeliveryFailed ¶
type ErrDeliveryFailed struct {
E error
}
ErrDeliveryFailed indicates a failure to deliver a notification.
func (ErrDeliveryFailed) Error ¶
func (e ErrDeliveryFailed) Error() string
func (ErrDeliveryFailed) Unwrap ¶
func (e ErrDeliveryFailed) Unwrap() error
type ErrFailed ¶
type ErrFailed struct {
E error
}
ErrFailed indicates an error occured when retrieving created notification ids.
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 ErrKeyNotFound ¶
func (ErrKeyNotFound) Error ¶
func (e ErrKeyNotFound) Error() string
type ErrMatch ¶
type ErrMatch struct {
E error
}
ErrMatch indicates an issue with matching a IndexReport to a VulnerabilityReport
type ErrNoReceipt ¶
ErrNoReceipt is returned when a notification id has no associated Receipt.
func (ErrNoReceipt) Error ¶
func (e ErrNoReceipt) Error() string
type ErrNoUpdateOperation ¶
type ErrNoUpdateOperation struct {
Updater string
}
ErrNoUpdateOperation inidcates that the queried updater has no update operations associated.
func (ErrNoUpdateOperation) Error ¶
func (e ErrNoUpdateOperation) Error() string
type ErrNotInitialized ¶
type ErrNotInitialized struct {
Msg string
}
ErrNotInitialized indicates an issue with initialization.
func (ErrNotInitialized) Error ¶
func (e ErrNotInitialized) Error() string
type ErrPutNotifications ¶
ErrPutNotifications indicates an issues occured when persisting a slice of computed notifications. The wrapped error will contain further details.
func (ErrPutNotifications) Error ¶
func (e ErrPutNotifications) Error() string
func (ErrPutNotifications) Unwrap ¶
func (e ErrPutNotifications) Unwrap() error
type ErrReceipt ¶
ErrReceipt indicates an error retreiving a receipt for referenced notification id.
func (ErrReceipt) Error ¶
func (e ErrReceipt) Error() string
func (ErrReceipt) Unwrap ¶
func (e ErrReceipt) Unwrap() error
type ErrRequestFail ¶
ErrRequestFail indicates an http request failure
func (*ErrRequestFail) Error ¶
func (e *ErrRequestFail) Error() string