Documentation ¶
Index ¶
Constants ¶
View Source
const ( NamespaceValidationLabel = "namespaces.warden.kyma-project.io/validate" NamespaceValidationEnabled = "enabled" )
View Source
const ( PodValidationLabel = "pods.warden.kyma-project.io/validate" // Pending is status when pod validation result is unknown - probably where is some problem with infrastructure. ValidationStatusPending = "pending" // Success is status when pod validation passed the controller check. ValidationStatusSuccess = "success" // Failed is status when pod validation didn't pass the controller check. // This value will go through ValidationStatusFailed = "failed" )
Variables ¶
This section is empty.
Functions ¶
func NewUnknownResultErr ¶
func NewValidationFailedErr ¶
Types ¶
type ErrorType ¶
type ErrorType int
const ( // UnexpectedError // The error is not known UnexpectedError ErrorType = iota + 1 // ValidationError // This error describe when the input image is not valid // ValidationError // UnknownResult // This error appears when during validation strange error come up and we don't know the validation result. // e.g.: communication errors // UnknownResult )
type NotaryError ¶
type NotaryError struct { Message string // contains filtered or unexported fields }
func (NotaryError) Error ¶
func (e NotaryError) Error() string
func (NotaryError) Is ¶
func (e NotaryError) Is(err error) bool
Click to show internal directories.
Click to hide internal directories.