fleetautoscalers

package
Version: v1.16.0 Latest Latest
Warning

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

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

Documentation

Overview

Package fleetautoscalers handles management of the Fleet Custom Resource Definition

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
}

Controller is a the FleetAutoscaler controller

func NewController

func NewController(
	wh *webhooks.WebHook,
	health healthcheck.Handler,
	kubeClient kubernetes.Interface,
	extClient extclientset.Interface,
	agonesClient versioned.Interface,
	agonesInformerFactory externalversions.SharedInformerFactory) *Controller

NewController returns a controller for a FleetAutoscaler

func (*Controller) Run

func (c *Controller) Run(ctx context.Context, workers int) error

Run the FleetAutoscaler controller. Will block until stop is closed. Runs threadiness number workers to process the rate limited queue

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to