Documentation ¶
Index ¶
- func GetCustomTagsMetadata(ctx context.Context, storageManager manager.StorageManagerInterface) (map[string][]string, error)
- type GitRepo
- type Manager
- func (m *Manager) ForgetCustomTagsByStageID(stageID string)
- func (m *Manager) ForgetDeletedFinalStages(stages []*image.StageDescription)
- func (m *Manager) ForgetDeletedStages(stages []*image.StageDescription)
- func (m *Manager) GetCustomTagsMetadata() map[string][]string
- func (m *Manager) GetFinalStageDescriptionList(opts StageDescriptionListOptions) []*image.StageDescription
- func (m *Manager) GetFinalStageIDList() []string
- 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(opts StageDescriptionListOptions) []*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) InitCustomTagsMetadata(ctx context.Context, storageManager manager.StorageManagerInterface) error
- func (m *Manager) InitFinalStages(ctx context.Context, storageManager manager.StorageManagerInterface) error
- func (m *Manager) InitImagesMetadata(ctx context.Context, storageManager manager.StorageManagerInterface, ...) error
- func (m *Manager) InitStages(ctx context.Context, storageManager manager.StorageManagerInterface) error
- func (m *Manager) IsStageExist(stageID string) bool
- func (m *Manager) MarkFinalStageAsProtected(stageID string)
- func (m *Manager) MarkStageAsProtected(stageID string)
- type StageDescriptionListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomTagsMetadata ¶ added in v1.2.28
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() Manager
func (*Manager) ForgetCustomTagsByStageID ¶ added in v1.2.83
func (*Manager) ForgetDeletedFinalStages ¶ added in v1.2.16
func (m *Manager) ForgetDeletedFinalStages(stages []*image.StageDescription)
func (*Manager) ForgetDeletedStages ¶ added in v1.2.16
func (m *Manager) ForgetDeletedStages(stages []*image.StageDescription)
func (*Manager) GetCustomTagsMetadata ¶ added in v1.2.28
func (*Manager) GetFinalStageDescriptionList ¶ added in v1.2.16
func (m *Manager) GetFinalStageDescriptionList(opts StageDescriptionListOptions) []*image.StageDescription
func (*Manager) GetFinalStageIDList ¶ added in v1.2.16
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(opts StageDescriptionListOptions) []*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) InitCustomTagsMetadata ¶ added in v1.2.28
func (*Manager) InitFinalStages ¶ added in v1.2.16
func (*Manager) InitImagesMetadata ¶
func (*Manager) InitStages ¶
func (*Manager) IsStageExist ¶ added in v1.2.28
func (*Manager) MarkFinalStageAsProtected ¶ added in v1.2.16
func (*Manager) MarkStageAsProtected ¶
type StageDescriptionListOptions ¶ added in v1.2.16
Click to show internal directories.
Click to hide internal directories.