Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteFunc ¶
DeleteFunc knows how to handle resource deletes.
type Handler ¶
type Handler interface { Add(context.Context, runtime.Object) error Delete(context.Context, string) error }
Handler knows how to handle the received resources from a kubernetes cluster.
type HandlerFunc ¶
type HandlerFunc struct { AddFunc AddFunc DeleteFunc DeleteFunc }
HandlerFunc is a handler that is created from functions that the Handler interface requires.
Click to show internal directories.
Click to hide internal directories.