Documentation ¶
Overview ¶
Package metrics provides the metrics of custom resources such as HRA.
This depends on the metrics exporter of kubebuilder. See https://book.kubebuilder.io/reference/metrics.html for details.
Index ¶
- func SetHorizontalRunnerAutoscalerPercentageRunnersBusy(o metav1.ObjectMeta, enterprise string, organization string, repository string, ...)
- func SetHorizontalRunnerAutoscalerQueuedAndInProgressWorkflowRuns(o metav1.ObjectMeta, enterprise string, organization string, repository string, ...)
- func SetHorizontalRunnerAutoscalerSpec(o metav1.ObjectMeta, spec v1alpha1.HorizontalRunnerAutoscalerSpec)
- func SetHorizontalRunnerAutoscalerStatus(o metav1.ObjectMeta, status v1alpha1.HorizontalRunnerAutoscalerStatus)
- func SetRunnerDeployment(rd v1alpha1.RunnerDeployment)
- func SetRunnerSet(rd v1alpha1.RunnerSet)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetHorizontalRunnerAutoscalerQueuedAndInProgressWorkflowRuns ¶
func SetHorizontalRunnerAutoscalerQueuedAndInProgressWorkflowRuns( o metav1.ObjectMeta, enterprise string, organization string, repository string, kind string, name string, necessaryReplicas int, workflowRunsCompleted int, workflowRunsInProgress int, workflowRunsQueued int, workflowRunsUnknown int, )
func SetHorizontalRunnerAutoscalerSpec ¶
func SetHorizontalRunnerAutoscalerSpec(o metav1.ObjectMeta, spec v1alpha1.HorizontalRunnerAutoscalerSpec)
func SetHorizontalRunnerAutoscalerStatus ¶
func SetHorizontalRunnerAutoscalerStatus(o metav1.ObjectMeta, status v1alpha1.HorizontalRunnerAutoscalerStatus)
func SetRunnerDeployment ¶
func SetRunnerDeployment(rd v1alpha1.RunnerDeployment)
func SetRunnerSet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.