controller

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressReconciler

type IngressReconciler struct {
	client.Client
	IngressClass     string
	DefaultClass     bool
	KeepAliveTimeout time.Duration
	// contains filtered or unexported fields
}

ReplicaSetReconciler is a simple ControllerManagedBy example implementation.

func (*IngressReconciler) InjectClient

func (a *IngressReconciler) InjectClient(c client.Client) error

func (*IngressReconciler) Reconcile

Implement the business logic: This function will be called when there is a change to a ReplicaSet or a Pod with an OwnerReference to a ReplicaSet.

* Read the ReplicaSet * Read the Pods * Set a Label on the ReplicaSet with the Pod count

Jump to

Keyboard shortcuts

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