Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyImageInManifest ¶
func VerifyImageInManifest(resource unstructured.Unstructured, profile ishieldconfig.ImageProfile) (bool, error)
verify all images in a container of the specified resource
Types ¶
type ImageVerifyOption ¶
type ImageVerifyOption struct {
KeyPath string
}
type ImageVerifyResult ¶
type ImageVerifyResult struct { Object unstructured.Unstructured `json:"object"` ImageRef string `json:"imageRef"` Verified bool `json:"verified"` InScope bool `json:"inScope"` Signer string `json:"signer"` SignedTime *time.Time `json:"signedTime"` FailReason string `json:"failReason"` }
Click to show internal directories.
Click to hide internal directories.