statuscontroller

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAvailableStatusController

func NewAvailableStatusController(
	recorder events.Recorder,
	spokeDynamicClient dynamic.Interface,
	manifestWorkClient workv1client.ManifestWorkInterface,
	manifestWorkInformer workinformer.ManifestWorkInformer,
	manifestWorkLister worklister.ManifestWorkNamespaceLister,
	syncInterval time.Duration,
) factory.Controller

NewAvailableStatusController returns a AvailableStatusController

Types

type AvailableStatusController

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

AvailableStatusController is to update the available status conditions of both manifests and manifestworks. It is also used to get the status value based on status feedback configuration in manifestwork. The two functions are logically disinct, however, they are put in the same control loop to reduce live get call to spoke apiserver and status update call to hub apiserver.

Jump to

Keyboard shortcuts

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