controller

package
v0.0.0-...-a4b30f2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const ANNOTATION_OWNED_KINDS = "controller-zero-scaler/ownedKinds"
View Source
const ANNOTATION_TIMEOUT = "controller-zero-scaler/idleTimeout"
View Source
const ANNOTATION_WATCHED_KINDS = "controller-zero-scaler/watchedKinds"

Variables

View Source
var AddToManagerFuncs []func(manager.Manager) error

AddToManagerFuncs is a list of functions to add all Controllers to the Manager

Functions

func Add

func Add(mgr manager.Manager) error

func AddToManager

func AddToManager(m manager.Manager) error

AddToManager adds all Controllers to the Manager

Types

type ReconcileDeployment

type ReconcileDeployment struct {
	client.Client

	ScaleManager *scaler.Manager
	// contains filtered or unexported fields
}

func (*ReconcileDeployment) Reconcile

func (r *ReconcileDeployment) Reconcile(request reconcile.Request) (reconcile.Result, error)

+kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=deployments/status,verbs=get;update;patch +kubebuilder:rbac:groups=apps,resources=statefulsets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=statefulsets/status,verbs=get;update;patch

Jump to

Keyboard shortcuts

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