account

package
v2.65.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildQueryKey added in v2.63.0

func BuildQueryKey(fetcher fetch.FetcherAny, zone scw.Zone, product string) string

BuildQueryKey builds a deduplication key: "product:zone" for zone fetchers, "product:region" for region fetchers.

func GetCommands

func GetCommands() *core.Commands

func GetGeneratedCommands

func GetGeneratedCommands() *core.Commands

func ResolveProducts added in v2.63.0

func ResolveProducts(requested []string) []string

func ResolveZones added in v2.63.0

func ResolveZones(requested []string) []scw.Zone

func SortResults added in v2.63.0

func SortResults(results []fetch.ResourceResult)

SortResults sorts results by locality, product, resource and ID.

Types

type ListRequest added in v2.63.0

type ListRequest struct {
	ProjectID *string  `arg:"project-id" json:"project_id"`
	Zones     []string `arg:"zones"      json:"zones"`
	Products  []string `arg:"products"   json:"products"`
}

Jump to

Keyboard shortcuts

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