Discover Packages
gitproxy.zycloud.tk/contiv/vpp
plugins
crd
handler
package
Version:
v2.0.1+incompatible
Opens a new window with list of versions in this module.
Published: Nov 21, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Map maps each event handler function to a name for easily lookup
Default handler implements Handler interface
Init initializes handler configuration
Do nothing for default handler
func (d *Default ) ObjectCreated(obj interface{})
ObjectCreated is called when a CRD object is created
func (d *Default ) ObjectDeleted(obj interface{})
ObjectDeleted is called when a CRD object is deleted
func (d *Default ) ObjectUpdated(oldObj, newObj interface{})
ObjectUpdated is called when a CRD object is updated
type Handler ¶
type Handler interface {
Init() error
ObjectCreated(obj interface{})
ObjectDeleted(obj interface{})
ObjectUpdated(oldObj, newObj interface{})
}
Handler is implemented by any handler.
The Handle method is used to process an event
Source Files
¶
Directories
¶
model
Package model is a generated protocol buffer package.
Package model is a generated protocol buffer package.
Click to show internal directories.
Click to hide internal directories.