v1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunWorker

func RunWorker(workqueue workqueue.RateLimitingInterface, objType string, syncHandler func(string) error)

RunWorker is a long-running function that will continually call the processNextWorkItem function in order to read and process a message on the workqueue.

Types

type Controller

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

Controller is the controller implementation for Rollout resources

func NewController

func NewController(cfg ControllerConfig) *Controller

NewController returns a new rollout controller

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error

type ControllerConfig

type ControllerConfig struct {
	KubeClientSet    kubernetes.Interface
	RolloutManager   v1alpha12.RolloutInterface
	RolloutWorkqueue workqueue.RateLimitingInterface
}

ControllerConfig describes the data required to instantiate a new rollout controller

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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