stages_manager

package
v1.1.9-alpha.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 (m *StagesManager) GetImagesBySignatureFromCache(stageName, stageSig string) (bool, []*image.Info, error)

func (*StagesManager) SelectSuitableStagesStorageImage

func (m *StagesManager) SelectSuitableStagesStorageImage(stg stage.Interface, imagesDescs []*image.Info) (*image.Info, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL