Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "cache warmer", PersistentPreRunE: func(cmd *cobra.Command, args []string) error { if err := util.ConfigureLogging(logLevel); err != nil { return err } if len(opts.Images) == 0 { return errors.New("You must select at least one image to cache") } return nil }, Run: func(cmd *cobra.Command, args []string) { if err := cache.WarmCache(opts); err != nil { exit(errors.Wrap(err, "Failed warming cache")) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.