handlers

package
v0.0.0-...-a26ffa4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmHandler

func NewCmHandler(globalHandler GenericHandler) cache.ResourceEventHandler

func NewSecretsHandler

func NewSecretsHandler(globalHandler GenericHandler) cache.ResourceEventHandler

Types

type GenericHandler

type GenericHandler interface {
	OnAdd(meta v1.ObjectMeta, data map[string]string, binaryData map[string][]byte, isInInitialList bool)
	OnUpdate(meta v1.ObjectMeta, oldData map[string]string, oldBinaryData map[string][]byte, data map[string]string, binaryData map[string][]byte)
	OnDelete(meta v1.ObjectMeta, data map[string]string, binaryData map[string][]byte)
}

func NewGenericHandlerImpl

func NewGenericHandlerImpl(folder string, callback func(), defaultFileMode string, folderAnnotation string, uniqFilenames bool) (GenericHandler, error)

Jump to

Keyboard shortcuts

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