Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatePullRunning = "PULLING" StatePullSucceeded = "PULL_SUCCEEDED" StatePullFailed = "PULL_FAILED" StatePullTimeout = "PULL_TIMEOUT" StatePullCanceled = "PULL_CANCELED" StateMounted = "MOUNTED" StateUmounted = "UMOUNTED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶ added in v0.1.1
type Hook struct {
// contains filtered or unexported fields
}
func (*Hook) AfterPullLayer ¶ added in v0.1.1
func (h *Hook) AfterPullLayer(desc ocispec.Descriptor, err error)
func (*Hook) BeforePullLayer ¶ added in v0.1.1
func (h *Hook) BeforePullLayer(desc ocispec.Descriptor, manifest ocispec.Manifest)
func (*Hook) GetProgress ¶ added in v0.1.1
type HookManager ¶ added in v0.1.1
type HookManager struct {
// contains filtered or unexported fields
}
func NewHookManager ¶ added in v0.1.1
func NewHookManager() *HookManager
func (*HookManager) Delete ¶ added in v0.1.1
func (hm *HookManager) Delete(key string)
func (*HookManager) GetProgress ¶ added in v0.1.1
func (hm *HookManager) GetProgress(key string) Progress
func (*HookManager) Set ¶ added in v0.1.1
func (hm *HookManager) Set(key string, hook *Hook)
type Progress ¶
type Progress struct {
Total int `json:"total"`
Items []ProgressItem `json:"items"`
}
type ProgressItem ¶
type StatusManager ¶
type StatusManager struct {
HookManager *HookManager
// contains filtered or unexported fields
}
func NewStatusManager ¶
func NewStatusManager() (*StatusManager, error)
Click to show internal directories.
Click to hide internal directories.