ttl

package
v1.30.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 21 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller added in v1.20.0

type Controller struct {
	// contains filtered or unexported fields
}

Controller sets ttl annotations on nodes, based on cluster size.

func NewTTLController

func NewTTLController(ctx context.Context, nodeInformer informers.NodeInformer, kubeClient clientset.Interface) *Controller

NewTTLController creates a new TTLController

func (*Controller) Run added in v1.20.0

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

Run begins watching and syncing.

Jump to

Keyboard shortcuts

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