Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseComposeDiagnostics ¶
func ParseComposeDiagnostics(data []byte) ([]ComposeServiceImage, []BindMountDiagnostics, error)
Types ¶
type BindMountDiagnostics ¶
type ComposeDiagnostics ¶
type ComposeDiagnostics struct {
ComposePath string
Services []ComposeServiceImage
BindMounts []BindMountDiagnostics
Issues []string
}
func CollectComposeDiagnostics ¶
func CollectComposeDiagnostics(runCtx context.Context, ctxCfg *config.Context) ComposeDiagnostics
type ComposeServiceImage ¶
func ParseComposeServiceImages ¶
func ParseComposeServiceImages(data []byte) ([]ComposeServiceImage, error)
type HostDiagnostics ¶
type HostDiagnostics struct {
CPUCount int
MemoryBytes int64
SwapBytes int64
DiskAvailableBytes int64
OSVersion string
Issues []string
}
func CollectHostDiagnostics ¶
func CollectHostDiagnostics(runCtx context.Context, ctxCfg *config.Context) HostDiagnostics
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) DockerClient ¶
func (s *Session) DockerClient() (*docker.DockerClient, error)
Click to show internal directories.
Click to hide internal directories.