Documentation ¶
Index ¶
- func NewCmd() *cobra.Command
- func NewFromStagesStorage(containerRuntime container_runtime.ContainerRuntime) (storage.StagesStorage, error)
- func NewStagesStorage(stagesStorageAddress string, repoData *common.RepoData, ...) (storage.StagesStorage, error)
- func NewToStagesStorage(containerRuntime container_runtime.ContainerRuntime) (storage.StagesStorage, error)
- func SetupFromStagesStorage(cmd *cobra.Command)
- func SetupToStagesStorage(cmd *cobra.Command)
- func SyncStages(projectName string, fromStagesStorage storage.StagesStorage, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromStagesStorage ¶
func NewFromStagesStorage(containerRuntime container_runtime.ContainerRuntime) (storage.StagesStorage, error)
func NewStagesStorage ¶
func NewStagesStorage(stagesStorageAddress string, repoData *common.RepoData, containerRuntime container_runtime.ContainerRuntime) (storage.StagesStorage, error)
func NewToStagesStorage ¶
func NewToStagesStorage(containerRuntime container_runtime.ContainerRuntime) (storage.StagesStorage, error)
func SetupFromStagesStorage ¶
func SetupToStagesStorage ¶
func SyncStages ¶
func SyncStages(projectName string, fromStagesStorage storage.StagesStorage, toStagesStorage storage.StagesStorage, storageLockManager storage.LockManager, containerRuntime container_runtime.ContainerRuntime) error
SyncStages will make sure, that destination stages storage contains all stages from source stages storage. Repeatedly calling SyncStages will copy stages from source stages storage to destination, that already exists in the destination. SyncStages will not delete excess stages from destination storage, that does not exists in the source.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.