Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasHealthCondition ¶
HasHealthCondition returns true if a given WorkloadEntry has ConditionHealthy condition.
func IsEligibleForHealthStatusUpdates ¶
IsEligibleForHealthStatusUpdates returns true if a given WorkloadEntry is allowed to receive health status updates sent by an Istio Proxy.
Consider a workload eligible for health status updates as long as the WorkloadEntryHealthCheckAnnotation is present (no matter what the value is). In case the annotation is present but the value is not "true", the proxy should be allowed to send health status updates, config health condition should be updated accordingly, however reported health status should not come into effect.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller knows how to update health status of a workload.
func NewController ¶
func NewController(stateStore *state.Store, maxRetries int) *Controller
NewController returns a new Controller instance.
func (*Controller) QueueWorkloadEntryHealth ¶
func (c *Controller) QueueWorkloadEntryHealth(proxy *model.Proxy, event HealthEvent)
QueueWorkloadEntryHealth enqueues the associated WorkloadEntries health status.
func (*Controller) Run ¶
func (c *Controller) Run(stop <-chan struct{})
type HealthCondition ¶
type HealthCondition struct {
// contains filtered or unexported fields
}