Documentation ¶
Index ¶
- Constants
- func DeleteConfigCondition(cfg config.Config, condition string) config.Config
- func GetBoolCondition(conditions []*v1alpha1.IstioCondition, condition string, defaultValue bool) bool
- func GetBoolConditionFromSpec(cfg config.Config, condition string, defaultValue bool) bool
- func GetCondition(conditions []*v1alpha1.IstioCondition, condition string) *v1alpha1.IstioCondition
- func GetConditionFromSpec(cfg config.Config, condition string) *v1alpha1.IstioCondition
- func UpdateConfigCondition(cfg config.Config, condition *v1alpha1.IstioCondition) config.Config
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 GetBoolCondition ¶
func GetBoolCondition(conditions []*v1alpha1.IstioCondition, 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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.