package
0.10.0
Repository: https://github.com/sigstore/policy-controller.git
Documentation: pkg.go.dev

# Functions

FromContext extracts a PolicyControllerConfig from the provided context.
FromContextOrDefaults is like FromContext, but when no PolicyControllerConfig is attached, it returns a PolicyControllerConfig populated with the defaults for each of the fields.
No description provided by the author
No description provided by the author
NewStore creates a new store of Configs and optionally calls functions when ConfigMaps are updated.
ToContext attaches the provided PolicyControllerConfig to the provided context, returning the new context with the Config attached.

# Constants

Specifies that if an image is not found to match any policy, it should be allowed.
Specifies that if an image is not found to match any policy, it should be rejected.
No description provided by the author
No description provided by the author
nolint: gosec.
No description provided by the author

# Structs

PolicyControllerConfig controls the behaviour of policy-controller that needs to be more flexible than requiring a controller restart.
Store is a typed wrapper around configmap.Untyped store to handle our configmaps.