Directories ¶
Path | Synopsis |
---|---|
api
|
|
v1
Package v1 provides routing and endpoints for the Custom Pod Autoscaler HTTP REST API version 1.
|
Package v1 provides routing and endpoints for the Custom Pod Autoscaler HTTP REST API version 1. |
Package autoscaler provides methods for scaling a resource - by triggering metric gathering, feeding these metrics to an evaluation and using this evaluation to scale the resource.
|
Package autoscaler provides methods for scaling a resource - by triggering metric gathering, feeding these metrics to an evaluation and using this evaluation to scale the resource. |
cmd
|
|
custom-pod-autoscaler
Custom Pod Autoscaler is the core program that runs inside a Custom Pod Autoscaler Image.
|
Custom Pod Autoscaler is the core program that runs inside a Custom Pod Autoscaler Image. |
Package config handles parsing YAML and environment variable input into a Custom Pod Autoscaler configuration file.
|
Package config handles parsing YAML and environment variable input into a Custom Pod Autoscaler configuration file. |
Package evaluate provides functionality for managing evaluating, calling external evaluation logic through shell commands with relevant data piped to them.
|
Package evaluate provides functionality for managing evaluating, calling external evaluation logic through shell commands with relevant data piped to them. |
example
|
|
simple-pod-metrics-golang
Module
|
|
Package execute abstracts methods, providing a standardised way to trigger methods and provide values
|
Package execute abstracts methods, providing a standardised way to trigger methods and provide values |
http
Package http handles interactions over HTTP
|
Package http handles interactions over HTTP |
shell
Package shell handles interactions with the OS shell
|
Package shell handles interactions with the OS shell |
Package fake provides stubs for testing relevant to the Custom Pod Autoscaler packages
|
Package fake provides stubs for testing relevant to the Custom Pod Autoscaler packages |
internal
|
|
measure
Package measure provides functionality for measuring/retrieving metrics from the K8s metrics server.
|
Package measure provides functionality for measuring/retrieving metrics from the K8s metrics server. |
measure/value
Package value represents a computed value for a metric, can be either a raw value or an average value
|
Package value represents a computed value for a metric, can be either a raw value or an average value |
podclient
Package podclient provides an on-demand client for retrieving pods, without using caching, as the HorizontalPodAutoscaler does.
|
Package podclient provides an on-demand client for retrieving pods, without using caching, as the HorizontalPodAutoscaler does. |
Package metric provides functionality for managing gathering metrics, calling external metric gathering logic through shell commands with relevant data piped to them.
|
Package metric provides functionality for managing gathering metrics, calling external metric gathering logic through shell commands with relevant data piped to them. |
Package scale abstracts interactions with the Kubernetes scale API, providing a consistent way to scale resources that are supported by the Custom Pod Autoscaler.
|
Package scale abstracts interactions with the Kubernetes scale API, providing a consistent way to scale resources that are supported by the Custom Pod Autoscaler. |
Click to show internal directories.
Click to hide internal directories.