controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 18 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(
	kubeClient kubernetes.Interface,
	kubeConfigPath string,
	informersFactory informers.SharedInformerFactory,
	queueUnitClient *versioned.Clientset,
	queueInformer cache.SharedIndexInformer,
	stopCh <-chan struct{},
	podInitialBackoffSeconds int,
	podMaxBackoffSeconds int) (*Controller, error)

func (*Controller) AddDequeuedQueueUnit

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

func (*Controller) AddQueueUnit

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

func (*Controller) DeleteDequeuedQueueUnit

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

func (*Controller) DeleteQueueUnit

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

func (*Controller) Start

func (c *Controller) Start(ctx context.Context)

func (*Controller) UpdateQueueUnit

func (c *Controller) UpdateQueueUnit(oldObj, newObj interface{})

Jump to

Keyboard shortcuts

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