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 { client, err := client.NewSyncClient(configFile, logPath, procNum, retries, defaultRegistry, defaultNamespace) if err != nil { return fmt.Errorf("init sync client error: %v", err) } client.Run() return nil }, }
RootCmd describes "image-syncer" command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.