controller

package
v0.0.0-...-50a54d8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(client kubernetes.Interface, namespace string) (*Controller, error)

func (*Controller) Add

func (c *Controller) Add(obj interface{})

Add function to add a new object to the queue in case of creating a resource

func (*Controller) Delete

func (c *Controller) Delete(old interface{})

Delete function to add an object to the queue in case of deleting a resource

func (*Controller) Run

func (c *Controller) Run()

Run function for controller which handles the queue

func (*Controller) Update

func (c *Controller) Update(old interface{}, new interface{})

Update function to add an old object and a new object to the queue in case of updating a resource

Jump to

Keyboard shortcuts

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