Help us shape the future of Go! Take the 2026 Go Developer Survey

aggregator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateStatus

func AggregateStatus(rss []*event.ResourceStatus, desired status.Status) status.Status

AggregateStatus computes the aggregate status for all the resources. The rules are the following:

  • If any of the resources has the FailedStatus, the aggregate status is also FailedStatus
  • If none of the resources have the FailedStatus and at least one is UnknownStatus, the aggregate status is UnknownStatus
  • If all the resources have the desired status, the aggregate status is the desired status.
  • If none of the first three rules apply, the aggregate status is InProgressStatus

Types

This section is empty.

Jump to

Keyboard shortcuts

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