housekeeping

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SyncTagsInterval defines how often tags are synced to nodes
	SyncTagsInterval = 1 * time.Minute
	// SyncTagsMinimalInterval defines the minimal interval how often tags are synced to nodes
	SyncTagsMinimalInterval = 5 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Housekeeper

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

Housekeeper periodically updates nodes, loadbalancers and metallb

func New

func New(metalClient metalgo.Client, stop <-chan struct{}, lbController *loadbalancer.LoadBalancerController, k8sClient clientset.Interface, projectID string, sshPublicKey string, clusterID string) *Housekeeper

New returns a new house keeper

func (*Housekeeper) Run

func (h *Housekeeper) Run()

Run runs the housekeeper...

Jump to

Keyboard shortcuts

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