package
0.0.0-20241001071744-57307b5037a3
Repository: https://github.com/openshift/ocm-agent.git
Documentation: pkg.go.dev

# Functions

CountFailedServiceLogs counts the total number of failed service logs (by notification template).
CountServiceLogSent counts the total number of service log sent by notification template.
IncrementFailedLimitedSupportSet increments the total number of failed limited support removals.
IncrementFailedLimitedSupportSend increments the total number of failed limited support posts.
IncrementLimitedSupportRemovedCount increments the total removed limited support reasons number.
IncrementLimitedSupportSentCount increments the total sent limited support number.
NewResponseWriter rewrites the response based on the existing response.
A middleware to collect all the requests received by the web service.
ResetMetric reset the metric with Gauge values.
SetPullSecretInvalidMetricFailure sets the metric when ocm connection can not be initiated.
SetPullSecretInvalidMetricSuccess sets the metric when ocm connection is successful.
SetRequestMetricFailure sets the metric when a call on ocm agent service with path has failed.
SetResponseMetricFailure sets the metric when a call to the external service has failed.
SetTotalServiceLogCount used to set the total sent service log number based on the managedNotification status.

# Variables

No description provided by the author
No description provided by the author