Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
base
Package base defines the names and variables that have global scope throughout which can be used in other subpackages
|
Package base defines the names and variables that have global scope throughout which can be used in other subpackages |
|
cli
Package cli implements the CLI of the CEEMS API server app
|
Package cli implements the CLI of the CEEMS API server app |
|
db
Package db creates DB tables, call resource manager interfaces and populates the DB with compute units
|
Package db creates DB tables, call resource manager interfaces and populates the DB with compute units |
|
db/migrator
Package migrator implements database migrations
|
Package migrator implements database migrations |
|
helper
Package helper provides utility functions across sub packages
|
Package helper provides utility functions across sub packages |
|
http
Package http implements the HTTP server handlers for different resource endpoints
|
Package http implements the HTTP server handlers for different resource endpoints |
|
http/docs
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
models
Package models defines different models used in stats
|
Package models defines different models used in stats |
|
resource
Package resource defines the interface that each resource manager needs to implement to get compute units
|
Package resource defines the interface that each resource manager needs to implement to get compute units |
|
resource/k8s
Package k8s implements the fetcher interface to fetch pods from k8s resource manager
|
Package k8s implements the fetcher interface to fetch pods from k8s resource manager |
|
resource/openstack
Package openstack implements the fetcher interface to fetch instances from Openstack resource manager
|
Package openstack implements the fetcher interface to fetch instances from Openstack resource manager |
|
resource/slurm
Package slurm implements the fetcher interface to fetch compute units from SLURM resource manager
|
Package slurm implements the fetcher interface to fetch compute units from SLURM resource manager |
|
updater
Package updater will provide an interface to update the unit stucts before inserting into DB
|
Package updater will provide an interface to update the unit stucts before inserting into DB |
|
updater/tsdb
Package tsdb provides the TSDB based updater for CEEMS
|
Package tsdb provides the TSDB based updater for CEEMS |
|
Package collector implements different collectors of the exporter
|
Package collector implements different collectors of the exporter |
|
Package emissions implements clients to fetch emission factors from different sources
|
Package emissions implements clients to fetch emission factors from different sources |
|
Package grafana implements Grafana client
|
Package grafana implements Grafana client |
|
Package ipmi implements in-band communication with BMC using IPMI commands using `/dev/ipmi*` device.
|
Package ipmi implements in-band communication with BMC using IPMI commands using `/dev/ipmi*` device. |
|
Package k8s provides a k8s client.
|
Package k8s provides a k8s client. |
|
lb
|
|
|
backend
Package backend implements the backend TSDB server of load balancer app
|
Package backend implements the backend TSDB server of load balancer app |
|
base
Package base defines base variables that will be used in lb package
|
Package base defines base variables that will be used in lb package |
|
cli
Package cli implements the CLI app of load balancer
|
Package cli implements the CLI app of load balancer |
|
frontend
Package frontend implements the frontend server of the load balancer
|
Package frontend implements the frontend server of the load balancer |
|
serverpool
Package serverpool implements the interface that manages pool of backend servers of load balancer app
|
Package serverpool implements the interface that manages pool of backend servers of load balancer app |
|
Package sqlite3 implements a connect hook around the sqlite3 driver so that the underlying connection can be fetched from the driver for more advanced operations such as backups.
|
Package sqlite3 implements a connect hook around the sqlite3 driver so that the underlying connection can be fetched from the driver for more advanced operations such as backups. |
|
Package tsdb implements TSDB client
|
Package tsdb implements TSDB client |
Click to show internal directories.
Click to hide internal directories.