# Functions
CheckAuth checks if the token is valid and returns the github team slugs.
FrontendGithubLogin gets the github data and sends it to LoggedIn().
GetCPUCostSum returns the cpu cost sum per tenant.
GetCPUQuota returns the CPU quota of a tenant by the label at the tenant config namespace.
GetCPURequestsSum returns the sum of all cpu requests by authenticated users tenants.
GetIngressCostSum returns the ingress cost sum per tenant.
GetIngresses returns the sum of all ingress requests by authenticated users tenants.
GetMemoryCostSum returns the memory cost sum per tenant.
GetMemoryQuota returns the Memory quota of a tenant by the label at the tenant config namespace.
GetMemoryRequestsSum returns the sum of all memory requests by authenticated users tenants.
GetNotifications returns all slack notifications of a broadcast channel by authenticated users tenants.
GetPods returns all pods by authenticated users tenants.
GetPVCs returns a list of PVCs by authenticated users tenants.
GetStorageCostSum returns the storage cost sum per tenant.
GetStorageQuota returns the Storage quota of a tenant by the label at the tenant config namespace.
GetStorageRequestsSum returns the sum of all storage requests by authenticated users tenants.
GetTenants returns all tenants by authentication.
GithubCallback handles the callback with the code query param.
GetGithubTeams returns the redirect url.
LoggedIn handles the login and returns the token.