package
0.0.0-20200212211434-c0d2ad24a20c
Repository: https://github.com/wingsofovnia/metrics-webhook.git
Documentation: pkg.go.dev

# Functions

No description provided by the author

# Constants

Alert metric notification informs about a metric those values exceeded the ones set by its thresholds.
Cooldown metric notification informs about a metric that has improved to the extend of meeting thresholds set.
PodsMetricSourceType is a metric describing each pod in the current target (for example, transactions-processed-per-second).
ResourceMetricSourceType is a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current target (e.g.

# Variables

SchemeBuilder is used to add go types to the GroupVersionKind scheme.
SchemeGroupVersion is group version used to register these objects.

# Structs

+k8s:deepcopy-gen=false +k8s:openapi-gen=false +kubebuilder:skipversion.
MetricSpec specifies metrics thresholds before webhook gets called +k8s:openapi-gen=true.
MetricStatus describes the last-read state of a single metric.
MetricWebhook is the Schema for the metricwebhooks API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=metricwebhooks,scope=Namespaced.
MetricWebhookList contains a list of MetricWebhook.
MetricWebhookSpec defines the desired state of MetricWebhook +k8s:openapi-gen=true.
MetricWebhookStatus defines the observed state of MetricWebhook +k8s:openapi-gen=true.
PodsMetricSource indicates when to call webhook on a metric describing each pod matching the selector (for example, transactions-processed-per-second).
PodsMetricStatus indicates the current value of a metric describing each pod matching the selector (for example, transactions-processed-per-second).
ResourceMetricSource indicates when to call webhook on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod matching the selector (e.g.
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod matching the selector (e.g.
Webhook describes the web endpoint that the operator calls on metrics reaching their thresholds +k8s:openapi-gen=true.

# Type aliases

+k8s:deepcopy-gen=false +k8s:openapi-gen=false +kubebuilder:skipversion.
+k8s:deepcopy-gen=false +k8s:openapi-gen=false +kubebuilder:skipversion.
+k8s:openapi-gen=true +kubebuilder:validation:Enum=Pods;Resource MetricSourceType indicates the type of metric.