controller

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoKeepAliveMonitorAnnotation = "cloud.sap/no-http-keep-alive-monitor"
)

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

type PromVec added in v0.4.9

type PromVec interface {
	Collect(chan<- prometheus.Metric)
	Delete(prometheus.Labels) bool
}

Jump to

Keyboard shortcuts

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