storage

package
v0.0.0-...-7f4d65f Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportStorage

type ReportStorage interface {
	Store(map[string]types.ContainerReport, string) error
}

ReportStorage handles persistence of generated container reports, taking a map with a report for each container and the unique reportID for the overall scan or report.

type Storage

type Storage struct {
	ConsumerURL string
}

Storage submits the captured data an appropriate destination

func (Storage) Store

func (s Storage) Store(results map[string]types.ContainerReport, reportID string) error

Store marshalls the supplied types.Report before storing it

Jump to

Keyboard shortcuts

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