Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { controllers.Controller MetadataCache }
func NewController ¶
func NewController( client dclient.Interface, polInformer kyvernov1informers.PolicyInformer, cpolInformer kyvernov1informers.ClusterPolicyInformer, ) Controller
type EventHandler ¶
type EventHandler func(types.UID, schema.GroupVersionKind, Resource)
type MetadataCache ¶
type MetadataCache interface { GetResourceHash(uid types.UID) (Resource, schema.GroupVersionKind, bool) AddEventHandler(EventHandler) }
Click to show internal directories.
Click to hide internal directories.