Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadImage ¶
DownloadImage is the main image pull consumer
func ShowContainers ¶
ShowContainers is the consumer utility
func ShowImagesIDs ¶
ShowImagesIDs return a slice with all images
Types ¶
type Manager ¶
Manager is the client core struct
func (*Manager) BuildClient ¶
func (m *Manager) BuildClient()
BuildClient create new Docker client instance
func (*Manager) BuildContainer ¶
BuildContainer create local container from pulled image
func (*Manager) ListContainers ¶
ListContainers list system containers
func (*Manager) ListImages ¶
func (m *Manager) ListImages() ([]types.ImageSummary, error)
ListImages returns slice of pulled images
type MockManager ¶
MockManager mock Repo object
func NewMockManager ¶
func NewMockManager() *MockManager
NewMockManager returns MockManager instance
func (*MockManager) BuildContainer ¶
func (m *MockManager) BuildContainer() error
BuildContainer create local container from pulled image
func (*MockManager) ListContainers ¶
func (m *MockManager) ListContainers() ([]string, error)
ListContainers list system containers
func (*MockManager) ListImages ¶
func (m *MockManager) ListImages() ([]types.ImageSummary, error)
ListImages returns slice of pulled images
func (*MockManager) PullImage ¶
func (m *MockManager) PullImage(name string) error
PullImage mocks the docker image pull
Click to show internal directories.
Click to hide internal directories.