controllerhelper

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectEventHelper

type ObjectEventHelper struct {
	Name           string
	OnObjectChange func(obj runtime.Object) error
	OnObjectDelete func(obj runtime.Object) error
}

func (*ObjectEventHelper) OnAdd

func (o *ObjectEventHelper) OnAdd(obj interface{})

func (*ObjectEventHelper) OnDelete

func (o *ObjectEventHelper) OnDelete(obj interface{})

func (*ObjectEventHelper) OnUpdate

func (o *ObjectEventHelper) OnUpdate(_, newObj interface{})

Jump to

Keyboard shortcuts

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