Documentation ¶
Index ¶
- func AnalyseDockerImage(arg string, flagImage string, flagDebug bool, flagInsecure bool) error
- func AnalyseLocal(dockerURL string, filePath string) error
- func AnalyseRegistry(dockerURL string, username string, password string, insecure bool) error
- func GetDockercfgAuth(indexServer string) (string, string, error)
- func GetIndexName(dockerURL string) string
- type AnalyseBackend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyseDockerImage ¶
func AnalyseLocal ¶
func AnalyseRegistry ¶
func GetDockercfgAuth ¶
GetDockercfgAuth reads a ~/.dockercfg file and returns the username and password of the given docker index server.
func GetIndexName ¶
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) }
Click to show internal directories.
Click to hide internal directories.