stages_manager

package
v1.1.9-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: Apache-2.0 Imports: 10 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) AtomicStoreStagesBySignatureToCache

func (m *StagesManager) AtomicStoreStagesBySignatureToCache(stageName, stageSig string, stageIDs []image.StageID) error

func (*StagesManager) DeleteStages

func (m *StagesManager) DeleteStages(options storage.DeleteImageOptions, stages ...*image.StageDescription) error

func (*StagesManager) FetchStage

func (m *StagesManager) FetchStage(stg stage.Interface) error

func (*StagesManager) GenerateStageUniqueID

func (m *StagesManager) GenerateStageUniqueID(signature string, stages []*image.StageDescription) (string, string)

func (*StagesManager) GetAllStages

func (m *StagesManager) GetAllStages() ([]*image.StageDescription, error)

func (*StagesManager) GetStagesBySignature

func (m *StagesManager) GetStagesBySignature(stageName, stageSig string) ([]*image.StageDescription, error)

func (*StagesManager) SelectSuitableStage

func (m *StagesManager) SelectSuitableStage(stg stage.Interface, stages []*image.StageDescription) (*image.StageDescription, error)

Jump to

Keyboard shortcuts

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