Documentation ¶
Index ¶
- Constants
- func ClusterClientConnectionDurationFromStart(start time.Time)
- func ClusterHealthStatusDurationFromStart(start time.Time)
- func DispatchOperationDurationFromStart(action string, start time.Time)
- func JoinedClusterDurationFromStart(start time.Time)
- func JoinedClusterTotalDec()
- func JoinedClusterTotalInc()
- func ReconcileFederatedResourcesDurationFromStart(start time.Time)
- func RegisterAll()
- func RegisterKubefedClusterTotal(state, cluster string)
- func UnjoinedClusterDurationFromStart(start time.Time)
- func UpdateControllerReconcileDuration(controller string, duration time.Duration)
- func UpdateControllerReconcileDurationFromStart(controller string, start time.Time)
Constants ¶
const ( // LogReconcileLongDurationThreshold defines the duration after which long function // duration will be logged. LogReconcileLongDurationThreshold = 10 * time.Second ClusterNotReady = "notready" ClusterReady = "ready" ClusterOffline = "offline" )
Variables ¶
This section is empty.
Functions ¶
func ClusterClientConnectionDurationFromStart ¶
ClusterClientConnectionDurationFromStart records the duration of the cluster client connection operation
func ClusterHealthStatusDurationFromStart ¶
ClusterHealthStatusDurationFromStart records the duration of the cluster health status operation
func DispatchOperationDurationFromStart ¶
DispatchOperationDurationFromStart records the duration of the step identified by the action name
func JoinedClusterDurationFromStart ¶
JoinedClusterDurationFromStart records the duration of the cluster joined operation
func JoinedClusterTotalDec ¶
func JoinedClusterTotalDec()
JoinedClusterTotalDec decreases by one the number of joined kubefed clusters
func JoinedClusterTotalInc ¶
func JoinedClusterTotalInc()
JoinedClusterTotalInc increases by one the number of joined kubefed clusters
func ReconcileFederatedResourcesDurationFromStart ¶
ReconcileFederatedResourcesDurationFromStart records the duration of the federation of resources
func RegisterKubefedClusterTotal ¶
func RegisterKubefedClusterTotal(state, cluster string)
RegisterKubefedClusterTotal records number of kubefed clusters in a specific state
func UnjoinedClusterDurationFromStart ¶
UnjoinedClusterDurationFromStart records the duration of the cluster unjoined operation
func UpdateControllerReconcileDuration ¶
UpdateControllerReconcileDuration records the duration of the reconcile function of a controller
func UpdateControllerReconcileDurationFromStart ¶
UpdateControllerReconcileDurationFromStart records the duration of the reconcile loop of a controller
Types ¶
This section is empty.