handler

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileHandler

func NewFileHandler(config Config) cache.ResourceEventHandlerFuncs

Create a new FileHandler

func ResolveFilePath

func ResolveFilePath(config Config, meta metav1.Object, file string) string

func ResolveFolder

func ResolveFolder(config Config, meta metav1.Object) string

Types

type Config

type Config struct {
	FolderAnnotation string
	Folder           string
}

configuration

type Event

type Event struct {
	metav1.Object
	Action string
}

* Events managed by the handler

Jump to

Keyboard shortcuts

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