Documentation ¶
Index ¶
- type StagesManager
- func (m *StagesManager) AtomicGetImagesBySignatureFromStagesStorageWithCacheReset(stageName, stageSig string) ([]*image.Info, error)
- func (m *StagesManager) AtomicStoreStageCache(stageName, stageSig string, imagesDescs []*image.Info) error
- func (m *StagesManager) DeleteStages(options storage.DeleteImageOptions, imageList ...*image.Info) error
- func (m *StagesManager) FetchStage(stg stage.Interface) error
- func (m *StagesManager) GetAllStages() ([]*image.Info, error)
- func (m *StagesManager) GetImagesBySignatureFromCache(stageName, stageSig string) (bool, []*image.Info, error)
- func (m *StagesManager) SelectSuitableStagesStorageImage(stg stage.Interface, imagesDescs []*image.Info) (*image.Info, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StagesManager ¶
type StagesManager struct { ProjectName string StorageLockManager storage.LockManager StagesStorage storage.StagesStorage StagesStorageCache storage.StagesStorageCache }
func NewStagesManager ¶
func NewStagesManager(projectName string, storageLockManager storage.LockManager, stagesStorage storage.StagesStorage, stagesStorageCache storage.StagesStorageCache) *StagesManager
func (*StagesManager) AtomicGetImagesBySignatureFromStagesStorageWithCacheReset ¶
func (m *StagesManager) AtomicGetImagesBySignatureFromStagesStorageWithCacheReset(stageName, stageSig string) ([]*image.Info, error)
func (*StagesManager) AtomicStoreStageCache ¶
func (m *StagesManager) AtomicStoreStageCache(stageName, stageSig string, imagesDescs []*image.Info) error
func (*StagesManager) DeleteStages ¶
func (m *StagesManager) DeleteStages(options storage.DeleteImageOptions, imageList ...*image.Info) error
func (*StagesManager) FetchStage ¶
func (m *StagesManager) FetchStage(stg stage.Interface) error
func (*StagesManager) GetAllStages ¶
func (m *StagesManager) GetAllStages() ([]*image.Info, error)
func (*StagesManager) GetImagesBySignatureFromCache ¶
func (*StagesManager) SelectSuitableStagesStorageImage ¶
Click to show internal directories.
Click to hide internal directories.