Documentation
¶
Overview ¶
Package compose loads Docker Compose files and exposes the service context dockviz needs to explain runtime problems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
ProjectName string
WorkingDir string
Files []string
Services map[string]ServiceContext
}
Context is the compose information dockviz overlays on top of live Docker daemon data.
type ServiceContext ¶
type ServiceContext struct {
Name string
Image string
DependsOn []string
Dependents []string
Networks []string
Volumes []string
Ports []string
CPUs float64
MemoryLimitMB float64
Restart string
}
ServiceContext describes the service-level blast radius of a running container: dependencies, dependents, networks, volumes, and configured limits.
Click to show internal directories.
Click to hide internal directories.