package
0.0.0-20250307132128-f14afd9d6f4b
Repository: https://github.com/codeready-toolchain/host-operator.git
Documentation: pkg.go.dev

# Functions

GetEmailDomain retrieves the email address for the given object returns the associated domain (`Internal` or `External`) Note: if given email address is empty (ie, it does not exist - which should not happen), then an error is logged and the returned domain is `external`.
RegisterCustomMetrics registers the custom metrics.
Reset resets all metrics.

# Constants

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

# Variables

HostOperatorVersionGaugeVec reflects the current version of the host-operator (via the `version` label).
MasterUserRecordGaugeVec reflects the current number of MasterUserRecords, labelled with their email address domain (`internal` vs `external`).
SpaceGaugeVec reflects the current number of spaces in the system, with a label to partition per member cluster.
UserSignupApprovedTotal is incremented each time a user signup is approved, can be multiple times per user if they reactivate multiple times.
UserSignupApprovedWithMethodTotal is incremented each time a user signup is approved and includes either 'automatic' or 'manual' labels, can be multiple times per user if they reactivate multiple times.
UserSignupAutoDeactivatedTotal is incremented each time a user signup is automatically deactivated, can be multiple times per user if they reactivate multiple times.
UserSignupBannedTotal is incremented each time a user signup is banned.
UserSignupDeactivatedTotal is incremented each time a user signup is deactivated, can be multiple times per user if they reactivate multiple times.
UserSignupDeletedWithInitiatingVerificationTotal is incremented each time a user signup is deleted due to verification time trial expired, and verification was initiated.
UserSignupDeletedWithoutInitiatingVerificationTotal is incremented each time a user signup is deleted due to verification time trial expired, and verification was NOT initiated.
UserSignupProvisionTimeHistogram measures the provision time of the UserSignup needed either for its creation or reactivation.
UserSignupProvisionTimeHistogramBuckets is the list of buckets defined for UserSignupProvisionTimeHistogram.
UserSignupsPerActivationAndDomainGaugeVec reflects the number of users labelled with on their current number of activations and email address domain.
UserSignupUniqueTotal is incremented only the first time a user signup is created, there is 1 for each unique user.
UserSignupVerificationRequiredTotal is incremented only the first time a user signup requires verification, can be multiple times per user if they reactivate multiple times.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author