Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(kubernetes kubernetes.Interface)
Start function is entry point of the controller
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a sample implementation of Handler
func (*Handler) Init ¶
func (t *Handler) Init(kubernetes kubernetes.Interface)
Init handles any handler initialization
func (*Handler) SetNodeGeolocation ¶
func (t *Handler) SetNodeGeolocation(obj interface{})
SetNodeGeolocation is called when an object is created or updated
type HandlerInterface ¶
type HandlerInterface interface { Init(kubernetes kubernetes.Interface) SetNodeGeolocation(obj interface{}) }
HandlerInterface interface contains the methods that are required
Click to show internal directories.
Click to hide internal directories.