Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPyxisClient ¶
func NewPyxisClient(pyxisHost string, apiToken string, projectID string, httpClient HTTPClient) *pyxisClient
Types ¶
type CertImage ¶
type CertImage struct { ID string `json:"_id,omitempty"` Certified bool `json:"certified"` Deleted bool `json:"deleted" default:"false"` DockerImageDigest string `json:"docker_image_digest,omitempty"` DockerImageID string `json:"docker_image_id,omitempty"` ImageID string `json:"image_id,omitempty"` ISVPID string `json:"isv_pid,omitempty"` // required ParsedData *ParsedData `json:"parsed_data,omitempty"` Architecture string `json:"architecture" default:"amd64"` RawConfig string `json:"raw_config,omitempty"` Repositories []Repository `json:"repositories,omitempty"` SumLayerSizeBytes int64 `json:"sum_layer_size_bytes,omitempty"` UncompressedTopLayerID string `json:"uncompressed_top_layer_id,omitempty"` FreshnessGrades []FreshnessGrade `json:"freshness_grades,omitempty"` }
type FreshnessGrade ¶
type ParsedData ¶
type ParsedData struct { Architecture string `json:"architecture,omitempty"` Command string `json:"command,omitempty"` Comment string `json:"comment,omitempty"` Container string `json:"container,omitempty"` Created string `json:"created,omitempty"` DockerVersion string `json:"docker_version,omitempty"` ImageID string `json:"image_id,omitempty"` Labels []Label `json:"labels,omitempty"` // required Layers []string `json:"layers,omitempty"` // required OS string `json:"os,omitempty"` Ports string `json:"ports,omitempty"` Size int64 `json:"size,omitempty"` UncompressedLayerSizes []Layer `json:"uncompressed_layer_sizes,omitempty"` }
type Repository ¶
type Repository struct { Published bool `json:"published" default:"false"` PushDate string `json:"push_date,omitempty"` // time.Now Registry string `json:"registry,omitempty"` Repository string `json:"repository,omitempty"` Tags []Tag `json:"tags,omitempty"` ManifestListDigest string `json:"manifest_list_digest,omitempty"` }
Click to show internal directories.
Click to hide internal directories.