package
Version:
v0.0.0-...-d1992f0
Opens a new window with list of versions in this module.
Published: Oct 18, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Get(client clairclient.Client, image Image) ([]*clairclient.LayerEnvelope, error)
Get func init
GetMD5Hash gets the MD5 hash of a string
func Push(client *clairclient.Client, image Image) error
Push will push an image's layers into Clair
Headers are passed to Clair and reused on requests it makes to registries
type Image struct {
Digest string `json:"digest"`
Registry string `json:"registry"`
Repo string `json:"repo"`
Tag string `json:"tag"`
Layers []string `json:"layers"`
}
Image struct init
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.