Documentation ¶
Index ¶
Constants ¶
View Source
const ( TEST_NAMESPACE = "default" TEST_CONFIGMAP = "myconfigmap" LabelCacheKey = "cache.kyverno.io/enabled" )
Variables ¶
This section is empty.
Functions ¶
func GetCacheInformerFactory ¶
func GetCacheInformerFactory(client kubernetes.Interface, resyncPeriod time.Duration) (kubeinformers.SharedInformerFactory, error)
func GetCacheSelector ¶
Types ¶
type ConfigmapResolver ¶
type ConfigmapResolver = NamespacedResourceResolver[*corev1.ConfigMap]
func NewClientBasedResolver ¶
func NewClientBasedResolver(client kubernetes.Interface) (ConfigmapResolver, error)
func NewInformerBasedResolver ¶
func NewInformerBasedResolver(lister corev1listers.ConfigMapLister) (ConfigmapResolver, error)
func NewResolverChain ¶
func NewResolverChain(resolvers ...ConfigmapResolver) (ConfigmapResolver, error)
Click to show internal directories.
Click to hide internal directories.