status

package
v0.0.0-...-aa7a887 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusTrue  = "True"
	StatusFalse = "False"
)
View Source
const (
	// WorkloadEntryHealthCheckAnnotation is the annotation that is added to workload entries when
	// health checks are enabled.
	// If this annotation is present, a WorkloadEntry with the condition Healthy=False or Healthy not set
	// should be treated as unhealthy and not sent to proxies
	WorkloadEntryHealthCheckAnnotation = "proxy.istio.io/health-checks-enabled"

	// ConditionHealthy defines a status field to declare if a WorkloadEntry is healthy or not
	ConditionHealthy = "Healthy"
)

Variables

This section is empty.

Functions

func DeleteConfigCondition

func DeleteConfigCondition(cfg config.Config, condition string) config.Config

func GetBoolCondition

func GetBoolCondition(conditions []*v1alpha1.IstioCondition, condition string, defaultValue bool) bool

func GetBoolConditionFromSpec

func GetBoolConditionFromSpec(cfg config.Config, condition string, defaultValue bool) bool

func GetCondition

func GetCondition(conditions []*v1alpha1.IstioCondition, condition string) *v1alpha1.IstioCondition

func GetConditionFromSpec

func GetConditionFromSpec(cfg config.Config, condition string) *v1alpha1.IstioCondition

func UpdateConfigCondition

func UpdateConfigCondition(cfg config.Config, condition *v1alpha1.IstioCondition) config.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

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