Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunImageFacade ¶
func RunImageFacade(configPath string, stop <-chan struct{})
Types ¶
type Config ¶
type Config struct {
// These allow images to be pulled from registries that require authentication
PrivateDockerRegistries []docker.RegistryAuth
LogLevel string
CreateImagesOnly bool
Port int
}
type DiskMetrics ¶
type GetImage ¶
type GetImage struct {
Image *common.Image
Continuation func(imageStatus common.ImageStatus)
}
func NewGetImage ¶
func NewGetImage(image *common.Image, continuation func(imageStatus common.ImageStatus)) *GetImage
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
func NewHTTPServer ¶
func NewHTTPServer() *HTTPServer
func (*HTTPServer) GetImageChannel ¶
func (h *HTTPServer) GetImageChannel() <-chan *GetImage
func (*HTTPServer) PullImageChannel ¶
func (h *HTTPServer) PullImageChannel() <-chan *PullImage
type ImageFacade ¶
type ImageFacade struct {
// contains filtered or unexported fields
}
func NewImageFacade ¶
func NewImageFacade(dockerRegistries []pdocker.RegistryAuth, createImagesOnly bool) *ImageFacade
type Model ¶
type Model struct {
State ModelState
Images map[string]common.ImageStatus
// contains filtered or unexported fields
}
func (*Model) PullImageChannel ¶
type ModelState ¶
type ModelState int
const ( ModelStateReady ModelState = iota ModelStatePulling ModelState = iota )
func (ModelState) String ¶
func (m ModelState) String() string
Click to show internal directories.
Click to hide internal directories.