condition

package
v0.4.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatadogAgentStatusCondition

func NewDatadogAgentStatusCondition(conditionType datadoghqv1alpha1.DatadogAgentConditionType, conditionStatus corev1.ConditionStatus, now metav1.Time, reason, message string) datadoghqv1alpha1.DatadogAgentCondition

NewDatadogAgentStatusCondition returns new DatadogAgentCondition instance

func SetDatadogAgentStatusCondition

func SetDatadogAgentStatusCondition(status *datadoghqv1alpha1.DatadogAgentStatus, condition *datadoghqv1alpha1.DatadogAgentCondition)

SetDatadogAgentStatusCondition use to set a condition

func UpdateDatadogAgentStatusCondition

UpdateDatadogAgentStatusCondition used to update a specific DatadogAgentConditionType

func UpdateDatadogAgentStatusConditions

func UpdateDatadogAgentStatusConditions(status *datadoghqv1alpha1.DatadogAgentStatus, now metav1.Time, t datadoghqv1alpha1.DatadogAgentConditionType, conditionStatus corev1.ConditionStatus, desc string, writeFalseIfNotExist bool)

UpdateDatadogAgentStatusConditions used to update a specific DatadogAgentConditionType in conditions

func UpdateDatadogAgentStatusConditionsFailure

func UpdateDatadogAgentStatusConditionsFailure(status *datadoghqv1alpha1.DatadogAgentStatus, now metav1.Time, conditionType datadoghqv1alpha1.DatadogAgentConditionType, err error)

UpdateDatadogAgentStatusConditionsFailure used to update the failure StatusConditions

Types

This section is empty.

Jump to

Keyboard shortcuts

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