nodelabeler

package
v1.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Start function is entry point of the controller

Types

type Handler

type Handler struct{}

Handler is a sample implementation of Handler

func (*Handler) Init

func (t *Handler) Init() error

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() error
	SetNodeGeolocation(obj interface{})
}

HandlerInterface interface contains the methods that are required

Jump to

Keyboard shortcuts

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