 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( DaemonPrefix = "daemon://" RemotePrefix = "remote://" )
Variables ¶
      View Source
      
  
    var LogLevel string
    
      View Source
      
  
var RootCmd = &cobra.Command{ Use: "container-diff", Short: "container-diff is a tool for analyzing and comparing container images", Long: `container-diff is a CLI tool for analyzing and comparing container images. Images can be specified from either a local Docker daemon, or from a remote registry. To specify a local image, prefix the image ID with 'daemon://', e.g. 'daemon://gcr.io/foo/bar'. To specify a remote image, prefix the image ID with 'remote://', e.g. 'remote://gcr.io/foo/bar'. If no prefix is specified, the local daemon will be checked first. Tarballs can also be specified by simply providing the path to the .tar, .tar.gz, or .tgz file.`, PersistentPreRun: func(c *cobra.Command, s []string) { ll, err := logrus.ParseLevel(LogLevel) if err != nil { fmt.Println(err) os.Exit(1) } logrus.SetLevel(ll) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.