Documentation ¶
Index ¶
- type UtilContext
- func (ctx *UtilContext) DeleteContainer(containerList []dockerclient.Container, status string, dry_run bool, hours int) (err error)
- func (ctx *UtilContext) DeleteExitedContainers(dry_run bool, hours int) error
- func (ctx *UtilContext) FlattenImage(image string, name string, tag string) error
- func (ctx *UtilContext) RemoveUntaggedDockerImages(dry_run bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UtilContext ¶
type UtilContext struct {
// contains filtered or unexported fields
}
func InitUtilContext ¶
func InitUtilContext() (*UtilContext, error)
func (*UtilContext) DeleteContainer ¶
func (ctx *UtilContext) DeleteContainer(containerList []dockerclient.Container, status string, dry_run bool, hours int) (err error)
func (*UtilContext) DeleteExitedContainers ¶
func (ctx *UtilContext) DeleteExitedContainers(dry_run bool, hours int) error
func (*UtilContext) FlattenImage ¶
func (ctx *UtilContext) FlattenImage(image string, name string, tag string) error
func (*UtilContext) RemoveUntaggedDockerImages ¶
func (ctx *UtilContext) RemoveUntaggedDockerImages(dry_run bool) error
Click to show internal directories.
Click to hide internal directories.