Documentation ¶
Index ¶
- Constants
- func IsKubeApiError(err error) bool
- func IsOutdated(timeProvider *timeprovider.Provider, dk *dynakube.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 SetStatusOutdated(conditions *[]metav1.Condition, conditionType, msg string)
- func SetStatusUpdated(conditions *[]metav1.Condition, conditionType, msg string)
Constants ¶
View Source
const ( KubeApiErrorReason = "KubeApiError" DynatraceApiErrorReason = "DynatraceApiError" )
View Source
const ( SecretCreatedReason = "SecretCreated" SecretUpdatedReason = "SecretUpdated" SecretOutdatedReason = "SecretOutdated" SecretGenerationFailed = "SecretGenerationFailed" )
View Source
const ( ServiceCreatedReason = "ServiceCreated" ServiceGenerationFailed = "ServiceGenerationFailed" )
View Source
const ( StatefulSetCreatedReason = "StatefulSetCreated" StatefulSetOutdatedReason = "StatefulSetOutdated" )
View Source
const ( StatusUpdatedReason = "StatusUpdated" StatusOutdatedReason = "StatusOutdated" )
Variables ¶
This section is empty.
Functions ¶
func IsKubeApiError ¶ added in v1.3.0
func IsOutdated ¶
func IsOutdated(timeProvider *timeprovider.Provider, dk *dynakube.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 SetStatusOutdated ¶ added in v1.3.0
func SetStatusUpdated ¶ added in v1.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.