analyse

package
v0.0.0-...-9dc5196 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyseDockerImage

func AnalyseDockerImage(arg string, flagImage string, flagDebug bool, flagInsecure bool) error

func AnalyseLocal

func AnalyseLocal(dockerURL string, filePath string) error

func AnalyseRegistry

func AnalyseRegistry(dockerURL string, username string, password string, insecure bool) error

func GetDockercfgAuth

func GetDockercfgAuth(indexServer string) (string, string, error)

GetDockercfgAuth reads a ~/.dockercfg file and returns the username and password of the given docker index server.

func GetIndexName

func GetIndexName(dockerURL string) string

GetIndexName returns the docker index server from a docker URL.

Types

type AnalyseBackend

type AnalyseBackend interface {
	GetImageInfo(dockerUrl string) ([]string, *attr.ParsedDockerURL, error)
	GetLayerInfo(layerID string, dockerURL *attr.ParsedDockerURL) (*attr.DockerImageData, error)
}

Jump to

Keyboard shortcuts

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