docker

package
v0.0.0-...-754a9e4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(path string)

func ScanImage

func ScanImage(imageName string, projectPath string, walkers ...nodepackage.Walker) (vulnfetcher.VulnerabilityReport, error)

ScanImage extracts an image and analyzes its layers

Types

type DockerConfig

type DockerConfig struct {
	ContainerConfig DockerContainerConfig `json:"container_config"`
}

type DockerContainerConfig

type DockerContainerConfig struct {
	WorkingDir string `json:"WorkingDir"`
}

type DockerImageFiles

type DockerImageFiles struct {
	Layers []string `json:"Layers"`
	Config string   `json:"Config"`
}

Jump to

Keyboard shortcuts

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