Documentation
¶
Index ¶
- type ContainerImage
- func ContainerImageFromString(hashString string, statusString string) (image ContainerImage, convErr error)
- func CreateContainerImage(hash string, hashType string, status ImageFuzzStatus) (ContainerImage, error)
- func CreateContainerImagesFromPod(l logger.Logger, pod *apiv1.Pod) ([]ContainerImage, error)
- type ImageFuzzStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerImage ¶
type ContainerImage struct {
Hash string
HashType string
Status ImageFuzzStatus
}
ContainerImage container image struct that contains a fuzz status
func ContainerImageFromString ¶
func ContainerImageFromString(hashString string, statusString string) (image ContainerImage, convErr error)
ContainerImageFromString create ContainerImage from a string in format hashtype:hash and a string representing the status as an int
func CreateContainerImage ¶
func CreateContainerImage(hash string, hashType string, status ImageFuzzStatus) (ContainerImage, error)
func CreateContainerImagesFromPod ¶
CreateContainerImagesFromPod extracts container info from a pod and converts their images to ContainerImages
func (ContainerImage) String ¶
func (img ContainerImage) String() (key string, status string)
String ContainerImage to string representation
func (ContainerImage) Verify ¶
func (img ContainerImage) Verify() error
Verify verifies if this model is valid, model is not valid if some non nullable properties are empty or nil
type ImageFuzzStatus ¶
type ImageFuzzStatus int
const ( NotFuzzed ImageFuzzStatus = iota Fuzzed BeingFuzzed )
Click to show internal directories.
Click to hide internal directories.