Back to godoc.org
github.com/jthomperoo/custom-pod-autoscaler

Directory github.com/jthomperoo/custom-pod-autoscaler

v1.0.1
Latest Go to latest

The latest major version is .

Published: Sep 11, 2020 | License: Apache-2.0 | Module: github.com/jthomperoo/custom-pod-autoscaler
Path Synopsis
api/v1 Package v1 provides routing and endpoints for the Custom Pod Autoscaler HTTP REST API version 1.
autoscaler 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.
config Package config handles parsing YAML and environment variable input into a Custom Pod Autoscaler configuration file.
evaluate Package evaluate provides functionality for managing evaluating, calling external evaluation logic through shell commands with relevant data piped to them.
execute Package execute abstracts methods, providing a standardised way to trigger methods and provide values
execute/http Package http handles interactions over HTTP
execute/shell Package shell handles interactions with the OS shell
fake Package fake provides stubs for testing relevant to the Custom Pod Autoscaler packages
metric Package metric provides functionality for managing gathering metrics, calling external metric gathering logic through shell commands with relevant data piped to them.
resourceclient
scale Package scale abstracts interactions with the Kubernetes scale API, providing a consistent way to scale resources that are supported by the Custom Pod Autoscaler.