common

package
v1.1.10-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromStagesStorage

func NewFromStagesStorage(commonCmdData *common.CmdData, cmdData *SyncCmdData, containerRuntime container_runtime.ContainerRuntime, defaultAddress string) (storage.StagesStorage, error)

func NewStagesStorage

func NewStagesStorage(commonCmdData *common.CmdData, stagesStorageAddress string, repoData *common.RepoData, containerRuntime container_runtime.ContainerRuntime) (storage.StagesStorage, error)

func NewToStagesStorage

func NewToStagesStorage(commonCmdData *common.CmdData, cmdData *SyncCmdData, containerRuntime container_runtime.ContainerRuntime) (storage.StagesStorage, error)

func SetupCleanupLocalCache

func SetupCleanupLocalCache(cmdData *SyncCmdData, cmd *cobra.Command)

func SetupFromStagesStorage

func SetupFromStagesStorage(commonCmdData *common.CmdData, cmdData *SyncCmdData, cmd *cobra.Command)

func SetupRemoveSource

func SetupRemoveSource(cmdData *SyncCmdData, cmd *cobra.Command)

func SetupToStagesStorage

func SetupToStagesStorage(commonCmdData *common.CmdData, cmdData *SyncCmdData, cmd *cobra.Command)

Types

type SyncCmdData

type SyncCmdData struct {
	FromStagesStorage         *string
	FromStagesStorageRepoData *common.RepoData

	ToStagesStorage         *string
	ToStagesStorageRepoData *common.RepoData

	RemoveSource      *bool
	CleanupLocalCache *bool
}

Jump to

Keyboard shortcuts

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