Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "image-syncer", Aliases: []string{"image-syncer"}, Short: "A docker registry image synchronization tool", Long: `A Fast and Flexible docker registry image synchronization tool implement by Go. Complete documentation is available at https://github.com/AliyunContainerService/image-syncer`, RunE: func(cmd *cobra.Command, args []string) error { cmd.SilenceErrors = true client, err := client.NewSyncClient(configFile, authFile, imagesFile, logPath, successImagesFile, outputImagesFormat, procNum, retries, utils.RemoveEmptyItems(osFilterList), utils.RemoveEmptyItems(archFilterList), forceUpdate) if err != nil { return fmt.Errorf("init sync client error: %v", err) } cmd.SilenceUsage = true return client.Run() }, }
RootCmd describes "image-syncer" command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.