Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package standalone provides a way to extract in a standalone mode (e.g. a command).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extractor ¶
type Extractor interface {
	extractor.Extractor
	// Extract the information.
	Extract(ctx context.Context, input *ScanInput) (inventory.Inventory, error)
}
    Extractor is an interface for plugins that extract information independently. For example, a plugin that executes a command or retrieves information from only one file.
      
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
       containers
        | 
      |
| 
         
          
            containerd
            
            
          
           
      Package containerd extracts container inventory from containerd API. 
         | 
      Package containerd extracts container inventory from containerd API. | 
| 
         
          
            containerd/fakeclient
            
            
          
           
      Package fakeclient contains a fake implementation of the containerd client for testing purposes. 
         | 
      Package fakeclient contains a fake implementation of the containerd client for testing purposes. | 
| 
         
          
            docker
            
            
          
           
      Package docker extracts container inventory from docker API. 
         | 
      Package docker extracts container inventory from docker API. | 
| 
         
          
            docker/fakeclient
            
            
          
           
      Package fakeclient contains a fake implementation of the docker client for testing purposes. 
         | 
      Package fakeclient contains a fake implementation of the docker client for testing purposes. | 
| 
       Package list contains the list of all standalone extractors. 
         | 
      Package list contains the list of all standalone extractors. | 
| 
       os
        | 
      |
| 
         
          
            netports
            
            
          
           
      Package netports extracts open ports on the system and maps them to running processes when possible. 
         | 
      Package netports extracts open ports on the system and maps them to running processes when possible. | 
| 
       windows
        | 
      |
| 
         
          
            common/metadata
            
            
          
           
      Package metadata provides metadata structures to annotate Windows packages. 
         | 
      Package metadata provides metadata structures to annotate Windows packages. | 
| 
         
          
            common/purl
            
            
          
           
      Package purl converts Windows application package details into a PackageURL. 
         | 
      Package purl converts Windows application package details into a PackageURL. | 
| 
         
          
            common/winproducts
            
            
          
           
      Package winproducts contains information about Windows products. 
         | 
      Package winproducts contains information about Windows products. | 
| 
         
          
            dismpatch
            
            
          
           
      Package dismpatch extract patch level from the DISM command line tool. 
         | 
      Package dismpatch extract patch level from the DISM command line tool. | 
| 
         
          
            dismpatch/dismparser
            
            
          
           
      Package dismparser has methods that can be used to parse DISM output 
         | 
      Package dismparser has methods that can be used to parse DISM output | 
| 
         
          
            ospackages
            
            
          
           
      Package ospackages extracts installed softwares on Windows. 
         | 
      Package ospackages extracts installed softwares on Windows. | 
| 
         
          
            regosversion
            
            
          
           
      Package regosversion extracts the OS version (build, major, minor release) from the registry. 
         | 
      Package regosversion extracts the OS version (build, major, minor release) from the registry. | 
| 
         
          
            regpatchlevel
            
            
          
           
      Package regpatchlevel extract patch level from the Windows registry. 
         | 
      Package regpatchlevel extract patch level from the Windows registry. | 
 Click to show internal directories. 
   Click to hide internal directories.