Documentation ¶
Index ¶
- func WithEnableDebug(debug bool) verifierOptsFunc
- func WithImagePullSecrets(secrets string) verifierOptsFunc
- func WithInsecureRegistry(insecureRegistry bool) verifierOptsFunc
- func WithMaxSignatureAttempts(maxSignatureAttempts int) verifierOptsFunc
- func WithPluginConfig(pluginConfigMap string) verifierOptsFunc
- func WithProviderAuthConfigResolver(...) verifierOptsFunc
- type Verifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithEnableDebug ¶
func WithEnableDebug(debug bool) verifierOptsFunc
func WithImagePullSecrets ¶
func WithImagePullSecrets(secrets string) verifierOptsFunc
func WithInsecureRegistry ¶
func WithInsecureRegistry(insecureRegistry bool) verifierOptsFunc
func WithMaxSignatureAttempts ¶
func WithMaxSignatureAttempts(maxSignatureAttempts int) verifierOptsFunc
func WithPluginConfig ¶
func WithPluginConfig(pluginConfigMap string) verifierOptsFunc
func WithProviderAuthConfigResolver ¶ added in v0.2.1
Types ¶
type Verifier ¶
type Verifier interface { // HandleCheckImages is a handler function that takes Kyverno images variable in body and returns JSONPatch compatible object in response HandleCheckImages(w http.ResponseWriter, r *http.Request) UpdateNotationVerfier() error // Shuts down all the factories before exiting Stop() }
func NewVerifier ¶
func NewVerifier(logger *zap.SugaredLogger, opts ...verifierOptsFunc) Verifier
Click to show internal directories.
Click to hide internal directories.