s2irun

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 20 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
}

*

s2irun-controller used to handle s2irun's delete logic.
s2irun creation and operation provided by s2ioperator

func NewS2iRunController

func NewS2iRunController(
	client clientset.Interface,
	devopsClientSet devopsclient.Interface,
	s2iBinInformer devopsinformers.S2iBinaryInformer,
	s2iRunInformer devopsinformers.S2iRunInformer) *Controller

func (Controller) DeleteS2iBinary

func (c Controller) DeleteS2iBinary(s2irun *devopsv1alpha1.S2iRun) error

*

DeleteS2iBinary mainly cleans up two parts of S2iBinary
1. s2ibinary bound to s2irun
2. s2ibinary that has been created for more than 24 hours but has not been used

func (Controller) Run

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

func (Controller) Start

func (c Controller) Start(stopCh <-chan struct{}) error

Jump to

Keyboard shortcuts

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