 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      Index ¶
Constants ¶
      View Source
      
  const ( // DefaultVersion of Current REST API DefaultVersion string = "1.25" // NoBaseImageSpecifier is the symbol used by the FROM // command to specify that no base image is to be used. NoBaseImageSpecifier string = "scratch" )
Common constants for daemon and client.
      View Source
      
  const MinVersion string = "1.12"
    MinVersion represents Minimum REST API version supported
Variables ¶
This section is empty.
Functions ¶
func DisplayablePorts ¶ added in v0.10.0
DisplayablePorts returns formatted string representing open ports of container e.g. "0.0.0.0:80->9090/tcp, 9988/tcp" it's used by command 'docker ps'
func LoadOrCreateTrustKey ¶ added in v1.4.0
func LoadOrCreateTrustKey(trustKeyPath string) (libtrust.PrivateKey, error)
LoadOrCreateTrustKey attempts to load the libtrust key at the given path, otherwise generates a new one
func MatchesContentType ¶
MatchesContentType validates the content type against the expected one
Types ¶
This section is empty.
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package types is used for API stability in the types and response to the consumers of the API stats endpoint. | Package types is used for API stability in the types and response to the consumers of the API stats endpoint. | 
| 
          
            backend
            
            
          
           Package backend includes types to send information to server backends. | Package backend includes types to send information to server backends. | 
| 
          
            filters
            
            
          
           Package filters provides helper function to parse and handle command line filter, used for example in docker ps or docker images commands. | Package filters provides helper function to parse and handle command line filter, used for example in docker ps or docker images commands. | 
| 
          
            versions/v1p19
            
            
          
           Package v1p19 provides specific API types for the API version 1, patch 19. | Package v1p19 provides specific API types for the API version 1, patch 19. | 
| 
          
            versions/v1p20
            
            
          
           Package v1p20 provides specific API types for the API version 1, patch 20. | Package v1p20 provides specific API types for the API version 1, patch 20. | 
 Click to show internal directories. 
   Click to hide internal directories.