quota

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOrganizationQuota

func GetOrganizationQuota(organizationID string, conn *sdk.Connection) ([]*v1.QuotaCost, error)

Types

type Quota

type Quota struct {
	Allowed  int    `json:"allowed"`
	Consumed int    `json:"consumed"`
	QuotaID  string `json:"quota_id"`
}

func PresentQuota

func PresentQuota(quota *v1.QuotaCost) Quota

type QuotaList

type QuotaList []Quota

func PresentQuotaList

func PresentQuotaList(quotaCostList []*v1.QuotaCost) QuotaList

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL