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.
Click to show internal directories.
Click to hide internal directories.