controller

package
v0.0.0-...-69a20ee Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeployment

func NewDeployment(obj *v1alpha1.KubeApi) *appsv1.Deployment

func NewService

func NewService(obj *v1alpha1.KubeApi) *v1.Service

func Start

func Start()

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(
	indexer cache.Indexer,
	queue workqueue.RateLimitingInterface,
	informer cache.Controller,
	kClient kubernetes.Interface,
	crdClient kubeapiClientset.Interface) *Controller

NewController creates a new controller.

func (*Controller) Run

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

Jump to

Keyboard shortcuts

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