controller

package
v0.0.13-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Definitions for the Kubernetes Controllers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterDeploymentController

type FilterDeploymentController interface {
	AddEventHandler(ctx context.Context, h FilterDeploymentEventHandler, predicates ...predicate.Predicate) error
}

func NewFilterDeploymentController

func NewFilterDeploymentController(name string, mgr manager.Manager) (FilterDeploymentController, error)

type FilterDeploymentControllerImpl

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

func (*FilterDeploymentControllerImpl) AddEventHandler

type FilterDeploymentEventHandler

type FilterDeploymentEventHandler interface {
	Create(obj *FilterDeployment) error
	Update(old, new *FilterDeployment) error
	Delete(obj *FilterDeployment) error
	Generic(obj *FilterDeployment) error
}

type FilterDeploymentEventHandlerFuncs

type FilterDeploymentEventHandlerFuncs struct {
	OnCreate  func(obj *FilterDeployment) error
	OnUpdate  func(old, new *FilterDeployment) error
	OnDelete  func(obj *FilterDeployment) error
	OnGeneric func(obj *FilterDeployment) error
}

func (*FilterDeploymentEventHandlerFuncs) Create

func (f *FilterDeploymentEventHandlerFuncs) Create(obj *FilterDeployment) error

func (*FilterDeploymentEventHandlerFuncs) Delete

func (f *FilterDeploymentEventHandlerFuncs) Delete(obj *FilterDeployment) error

func (*FilterDeploymentEventHandlerFuncs) Generic

func (f *FilterDeploymentEventHandlerFuncs) Generic(obj *FilterDeployment) error

func (*FilterDeploymentEventHandlerFuncs) Update

func (f *FilterDeploymentEventHandlerFuncs) Update(objOld, objNew *FilterDeployment) error

Jump to

Keyboard shortcuts

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