controllers

package
v0.0.0-...-0a7b4dd Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

func WaitUntilDeploymentReady

func WaitUntilDeploymentReady(c kubernetes.Interface, meta metav1.ObjectMeta) error

Types

type Controller

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

Controller demonstrates how to implement a controller with client-go.

func NewController

func NewController(queue workqueue.RateLimitingInterface, indexer cache.Indexer, informer cache.Controller, crdClient ShahinV1alpha1.Interface, kClient kubernetes.Interface) *Controller

NewController creates a new Controller

func (*Controller) Run

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

Run begins watching and syncing

Jump to

Keyboard shortcuts

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