Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
AddImage(trustPolicy string, imageRef string, result types.ImageInfo) error
GetImage(trustPolicy string, imageRef string) (*types.ImageInfo, bool)
AddAttestation(trustPolicy string, imageRef string, attestationType string, conditions []kyvernov1.AnyAllConditions) error
GetAttestation(trustPolicy string, imageRef string, attestationType string, conditions []kyvernov1.AnyAllConditions) bool
Clear()
}
type Option ¶
type Option = func(*cache) error
func WithCacheEnabled ¶
func WithLogger ¶ added in v0.6.19
func WithLogger(l *zap.SugaredLogger) Option
func WithMaxSize ¶
func WithTTLDuration ¶
Click to show internal directories.
Click to hide internal directories.