MCPcopy
hub / github.com/digitalocean/doctl / BalanceService

Interface BalanceService

do/balance.go:27–29  ·  view source on GitHub ↗

BalanceService is an interface for interacting with DigitalOcean's balance api.

Source from the content-addressed store, hash-verified

25
26// BalanceService is an interface for interacting with DigitalOcean's balance api.
27type BalanceService interface {
28 Get() (*Balance, error)
29}
30
31type balanceService struct {
32 client *godo.Client

Callers 2

TestBalanceServiceGetFunction · 0.95
GetMethod · 0.65

Implementers 15

mockServerintegration/database_firewall_add_test
nilClustercommands/kubernetes_test.go
spacesKeysServicedo/spaces_keys.go
databasesServicedo/databases.go
VPCNATGatewayServicedo/vpc_nat_gateways.go
byoipPrefixServicedo/byoip_prefix.go
invoicesServicedo/invoices.go
accountServicedo/account.go
snapshotsServicedo/snapshots.go
vectorDBsServicedo/vector_databases.go
tagsServicedo/tags.go
dropletsServicedo/droplets.go

Calls

no outgoing calls

Tested by

no test coverage detected