acceptableusepolicy

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 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(kubernetes kubernetes.Interface, edgenet versioned.Interface)

Start function is entry point of the controller

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler implementation

func (*Handler) Init

func (t *Handler) Init(kubernetes kubernetes.Interface, edgenet versioned.Interface)

Init handles any handler initialization

func (*Handler) ObjectCreated

func (t *Handler) ObjectCreated(obj interface{})

ObjectCreated is called when an object is created

func (*Handler) ObjectDeleted

func (t *Handler) ObjectDeleted(obj interface{})

ObjectDeleted is called when an object is deleted

func (*Handler) ObjectUpdated

func (t *Handler) ObjectUpdated(obj, updated interface{})

ObjectUpdated is called when an object is updated

type HandlerInterface

type HandlerInterface interface {
	Init(kubernetes kubernetes.Interface, edgenet versioned.Interface)
	ObjectCreated(obj interface{})
	ObjectUpdated(obj, updated interface{})
	ObjectDeleted(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