Documentation ¶
Index ¶
- type GitRepo
- type Manager
- func (m *Manager) GetImageStageIDCommitListToCleanup() map[string]map[string][]string
- func (m *Manager) GetNonexistentStageIDCommitList(imageName string) map[string][]string
- func (m *Manager) GetProtectedStageDescriptionList() []*image.StageDescription
- func (m *Manager) GetStageDescriptionList() []*image.StageDescription
- func (m *Manager) GetStageIDCommitListByNonexistentImage() map[string]map[string][]string
- func (m *Manager) GetStageIDCommitListToCleanup(imageName string) map[string][]string
- func (m *Manager) GetStageIDList() []string
- func (m *Manager) GetStageIDNonexistentCommitList(imageName string) map[string][]string
- func (m *Manager) InitImagesMetadata(ctx context.Context, storageManager *manager.StorageManager, localGit GitRepo, ...) error
- func (m *Manager) InitStages(ctx context.Context, storageManager *manager.StorageManager) error
- func (m *Manager) MarkStageAsProtected(stageID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() Manager
func (*Manager) GetImageStageIDCommitListToCleanup ¶
GetImageStageIDCommitListToCleanup method returns existing stage IDs and related existing commits (for each managed image)
func (*Manager) GetNonexistentStageIDCommitList ¶
GetNonexistentStageIDCommitList method returns nonexistent stage IDs and all related commits for certain image
func (*Manager) GetProtectedStageDescriptionList ¶
func (m *Manager) GetProtectedStageDescriptionList() []*image.StageDescription
func (*Manager) GetStageDescriptionList ¶
func (m *Manager) GetStageDescriptionList() []*image.StageDescription
func (*Manager) GetStageIDCommitListByNonexistentImage ¶
GetStageIDCommitListByNonexistentImage method returns all stage IDs and related commits for each nonexistent image
func (*Manager) GetStageIDCommitListToCleanup ¶
GetStageIDCommitListToCleanup method is shortcut for GetImageStageIDCommitListToCleanup
func (*Manager) GetStageIDList ¶
func (*Manager) GetStageIDNonexistentCommitList ¶
GetStageIDNonexistentCommitList method returns stage IDs and related nonexistent commits for certain image
func (*Manager) InitImagesMetadata ¶
func (*Manager) InitStages ¶
func (*Manager) MarkStageAsProtected ¶
Click to show internal directories.
Click to hide internal directories.