handlers

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const MANAGED_BY = "Markhor"

Variables

This section is empty.

Functions

func HandleAddition

func HandleAddition(attrs HandlerAttrs) bool

func HandleDeletion

func HandleDeletion(args HandlerAttrs)

Types

type HandlerAttrs

type HandlerAttrs struct {
	//The Markhor Secret being processed
	MarkhorSecret *v1.MarkhorSecret
	//Identifier of this event
	EventId slog.Attr
	//Client to talk with kubernetes
	Clientset *kubernetes.Clientset
	//The configuration of Markhor
	Config *config.Config
}

Arguments to pass to the handlers of MarkhorSecret events

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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