cronhpa

package
v0.0.0-...-2a08e8c Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new cronhpa Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileCHPA

type ReconcileCHPA struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileCHPA reconciles a CHPA object

func (*ReconcileCHPA) Reconcile

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

Automatically generate RBAC rules to allow the Controller to read and write Deployments TODO: decide, what to use: patch or update in rbac +kubebuilder:rbac:groups=autoscaling,resources=horizontalpodautoscalers,verbs=get;update +kubebuilder:rbac:groups=confighpa.shareit.com,resources=confighpas,verbs=get;update +kubebuilder:rbac:groups=cronhpa.shareit.com,resources=cronhpas,verbs=get;list;watch;create;update;patch;delete

Jump to

Keyboard shortcuts

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