Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventTypeAnnotationKey = "integrityshield.io/eventType" EventResultAnnotationKey = "integrityshield.io/eventResult" EventTypeValueVerifyResult = "verify-result" EventTypeAnnotationValueDeny = "deny" )
View Source
const AnnotationKeyDomain = "integrityshield.io"
View Source
const ImageRefAnnotationKeyShield = "integrityshield.io/signature"
View Source
const SignatureAnnotationTypeShield = "IntegrityShield"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageCheckProfile ¶
type ImageToVerify ¶
type ImageToVerify struct { Image string `json:"image"` Profile ImageCheckProfile `json:"profile"` Result ImageVerifyResult `json:"result"` ProfileCheckResult bool `json:"profileCheckResult"` }
type ImageVerifyResult ¶
type ResultFromRequestHandler ¶
type ResultFromRequestHandler struct { Allow bool `json:"allow"` Message string `json:"message"` Profile string `json:"profile,omitempty"` }
func RequestHandler ¶
func RequestHandler(req admission.Request, paramObj *k8smnfconfig.ParameterObject) *ResultFromRequestHandler
type SigCheckImages ¶
type SigCheckImages struct {
ImagesToVerify []ImageToVerify `json:"imagesToVefiry"`
}
Click to show internal directories.
Click to hide internal directories.