netbookai / spawner

Mulit-Cloud infrastructure orchestrator for kubernetes first development.
https://netbook-2.gitbook.io/netbook-docs/opensource/docs/spawner
GNU General Public License v3.0
56 stars 10 forks source link

Added GetApplicationsCost method for Experiments cost #34

Closed shivanik6z closed 2 years ago

shivanik6z commented 2 years ago

Description

Type of change

why

To get costs of experiments and workspaces both while avoiding redundant code.

How Has This Been Tested?

locally using the test client run go run cmd/testclient/client.go -method=GetApplicationsCost on running server to get costs of workspaces or experiments. NOTE: tag application id won't return any cost as of now.

Checklist:

sonarcloud[bot] commented 2 years ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 28 Code Smells

No Coverage information No Coverage information
19.0% 19.0% Duplication

imaskm commented 2 years ago

LGTM