Documentation
¶
Overview ¶
Package docker provides Docker-related analysis capabilities.
Package docker provides Docker-related analysis capabilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerCommand ¶
DockerCommand represents a command in a Dockerfile.
type DockerfileAnalyzer ¶
type DockerfileAnalyzer struct{}
DockerfileAnalyzer analyzes Dockerfiles for container compatibility issues.
func NewDockerfileAnalyzer ¶
func NewDockerfileAnalyzer() *DockerfileAnalyzer
NewDockerfileAnalyzer creates a new Dockerfile analyzer.
type ImageInfo ¶
type ImageInfo struct {
ID string `json:"Id"`
RepoTags []string `json:"RepoTags"`
Architecture string `json:"Architecture"`
OS string `json:"Os"`
Config struct {
Env []string `json:"Env"`
Entrypoint []string `json:"Entrypoint"`
Cmd []string `json:"Cmd"`
WorkingDir string `json:"WorkingDir"`
} `json:"Config"`
RootFS struct {
Type string `json:"Type"`
Layers []string `json:"Layers"`
} `json:"RootFS"`
}
ImageInfo contains information about a Docker image.
type ImageInspector ¶
type ImageInspector struct{}
ImageInspector inspects Docker images for compatibility issues.
func NewImageInspector ¶
func NewImageInspector() *ImageInspector
NewImageInspector creates a new Docker image inspector.
Click to show internal directories.
Click to hide internal directories.