Documentation ¶
Index ¶
- Constants
- func IsOutdated(timeProvider *timeprovider.Provider, dynakube *dynatracev1beta1.DynaKube, ...) bool
- func SetDynatraceApiError(conditions *[]metav1.Condition, conditionType string, err error)
- func SetKubeApiError(conditions *[]metav1.Condition, conditionType string, err error)
- func SetSecretCreated(conditions *[]metav1.Condition, conditionType, name string)
- func SetSecretOutdated(conditions *[]metav1.Condition, conditionType, message string)
- func SetSecretUpdated(conditions *[]metav1.Condition, conditionType, name string)
- func SetStatefulSetCreated(conditions *[]metav1.Condition, conditionType, name string)
- func SetStatefulSetDeleted(conditions *[]metav1.Condition, conditionType, name string)
- func SetStatefulSetOutdated(conditions *[]metav1.Condition, conditionType, name string)
- func SetStatefulSetUpdated(conditions *[]metav1.Condition, conditionType, name string)
Constants ¶
View Source
const ( KubeApiErrorReason = "KubeApiError" DynatraceApiErrorReason = "DynatraceApiError" )
View Source
const ( SecretCreatedReason = "SecretCreated" SecretUpdatedReason = "SecretUpdated" SecretOutdatedReason = "SecretOutdated" )
View Source
const ( StatefulSetCreatedReason = "StatefulSetCreated" StatefulSetUpdatedReason = "StatefulSetUpdated" StatefulSetOutdatedReason = "StatefulSetOutdated" )
Variables ¶
This section is empty.
Functions ¶
func IsOutdated ¶
func IsOutdated(timeProvider *timeprovider.Provider, dynakube *dynatracev1beta1.DynaKube, conditionType string) bool
IsOutdated determines if a given is considered outdated according to the DynaKube's FeatureApiRequestThreshold This is used for those conditions that are (also) used for limiting API requests.
func SetDynatraceApiError ¶
func SetKubeApiError ¶
func SetSecretCreated ¶
func SetSecretOutdated ¶
func SetSecretUpdated ¶
func SetStatefulSetCreated ¶
func SetStatefulSetDeleted ¶
func SetStatefulSetOutdated ¶
func SetStatefulSetUpdated ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.