Versions in this module Expand all Collapse all v0 v0.10.0 Oct 3, 2025 Changes in this version + type NotationValidator struct + func NewNotationValidator(logger *slog.Logger, name string, verifier notation.ImageVerifier) *NotationValidator + func (v *NotationValidator) Name() string + func (v *NotationValidator) Validate(ctx context.Context, payload *types.Payload) ([]error, error) + type OpaValidator struct + func NewOpaValidator(name, filename, query string, logger *slog.Logger, ...) (*OpaValidator, error) + func (v *OpaValidator) Name() string + func (v *OpaValidator) Validate(ctx context.Context, payload *types.Payload) ([]error, error) + type WebhookValidator struct + func NewWebhookValidator(name string, endpoint string, method string, logger *slog.Logger) (*WebhookValidator, error) + func (w *WebhookValidator) Name() string + func (w *WebhookValidator) Validate(ctx context.Context, payload *types.Payload) ([]error, error)