Documentation ¶
Overview ¶
Package handler is responsible for monitoring and maintaining authn/z policies
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrdHandler ¶
type CrdHandler struct {
// contains filtered or unexported fields
}
CrdHandler is responsible for storing and managing policy/client data
func (*CrdHandler) HandleAddUpdateEvent ¶
func (c *CrdHandler) HandleAddUpdateEvent(obj interface{})
HandleAddUpdateEvent updates the store after a CRD has been added
func (*CrdHandler) HandleDeleteEvent ¶
func (c *CrdHandler) HandleDeleteEvent(obj interface{})
HandleDeleteEvent updates the store after a CRD has been deleted
type PolicyHandler ¶
type PolicyHandler interface { HandleAddUpdateEvent(obj interface{}) HandleDeleteEvent(obj interface{}) }
PolicyHandler is responsible for storing and managing policy/client data
func New ¶
func New(store policystore.PolicyStore, kubeClient kubernetes.Interface) PolicyHandler
New creates a PolicyManager
Click to show internal directories.
Click to hide internal directories.