service

package
v0.0.0-...-25be970 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package service contains service interfaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SBOMService

type SBOMService interface {
	// GenerateSBOM generate a SBOM
	GenerateSBOM(ctx context.Context, identifier string) (string, error)
}

SBOMService provides SBOM related services.

type SecScanService

type SecScanService interface {
	// Scan SBOMs for vulnerabilities
	Scan(sbomURLs []string) error
}

SecScanService provides security scan related services.

type TraceService

type TraceService interface {
	// List lists trace ids
	List() ([]string, error)
	// ListSBOMs lists SBOMs from a trace
	ListSBOMs(traceID string) ([]string, error)
}

TraceService provides traces related services.

Directories

Path Synopsis
Package sbomhostservice contains a host based implementation of service.SBOMService
Package sbomhostservice contains a host based implementation of service.SBOMService
Package sbomimageservice contains image based implementation of service.SBOM
Package sbomimageservice contains image based implementation of service.SBOM
Package secscanservice contains a Grype based implementation of service.SecScanService
Package secscanservice contains a Grype based implementation of service.SecScanService
Package traceservice provides an implementation of service.TraceService
Package traceservice provides an implementation of service.TraceService

Jump to

Keyboard shortcuts

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