test

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocumentsOnList

type DocumentsOnList struct {
	Given *advisory.DocumentFilter
	List  *advisory.DocumentList
	Error error
}

type MockSecurityAdvisoryClient

type MockSecurityAdvisoryClient struct {
	OnListDocuments             []DocumentsOnList
	OnListVulnerabilityMetadata []VulnerabilityMetadataOnList
}

func (MockSecurityAdvisoryClient) ListDocuments

func (MockSecurityAdvisoryClient) ListVulnerabilityMetadata added in v0.1.15

type MockSecurityAdvisoryClients

type MockSecurityAdvisoryClients struct {
	OnClose error

	SecurityAdvisoryClient MockSecurityAdvisoryClient
}

func (MockSecurityAdvisoryClients) Close

func (MockSecurityAdvisoryClients) SecurityAdvisory

type VulnerabilityMetadataOnList added in v0.1.15

type VulnerabilityMetadataOnList struct {
	Given *advisory.VulnerabilityMetadataFilter
	List  *advisory.VulnerabilityMetadataList
	Error error
}

Jump to

Keyboard shortcuts

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