handler

package
v0.0.0-...-200b26a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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

New creates a PolicyManager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL