Documentation ¶
Index ¶
- Constants
- type ImageInfo
- func (image *ImageInfo) FromMetadata(metadata map[string]string) error
- func (image *ImageInfo) GetHashFromRepoDigests() string
- func (image *ImageInfo) GetHashFromRepoDigestsOrImageID() (string, error)
- func (image *ImageInfo) ToContainerImageInfo() (*types.ContainerImageInfo, error)
- func (image *ImageInfo) ToMetadata() map[string]string
Constants ¶
View Source
const ImageInfoMetadataKey = "vmclarity/internal/image_info"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageInfo ¶
func (*ImageInfo) FromMetadata ¶
func (*ImageInfo) GetHashFromRepoDigests ¶
func (*ImageInfo) GetHashFromRepoDigestsOrImageID ¶
func (*ImageInfo) ToContainerImageInfo ¶
func (image *ImageInfo) ToContainerImageInfo() (*types.ContainerImageInfo, error)
func (*ImageInfo) ToMetadata ¶
ToMetadata note that only one ImageInfo can be specified in metadata as it is always found under ImageInfoMetadataKey key.
Click to show internal directories.
Click to hide internal directories.