Versions in this module Expand all Collapse all v2 v2.0.1 Oct 14, 2022 Changes in this version + const HoursPerMonth + const ProductTypeComputeServer + const ProductTypeKubernetesNode + const ProductTypeMacBareMetalDevice + var ErrOrderFailed = common.ErrOrderFailed + type Location common.Location + func FindLocation(ctx context.Context, client goclient.Client, term string) (Location, error) + func Locations(ctx context.Context, client goclient.Client) ([]Location, error) + func (l Location) Columns() []string + func (l Location) Keys() []string + func (l Location) String() string + func (l Location) Values() map[string]interface{} + type Module common.Module + func Modules(ctx context.Context, client goclient.Client) ([]Module, error) + func (m Module) AvailableAt(location Location) bool + func (m Module) Columns() []string + func (m Module) Keys() []string + func (m Module) String() string + func (m Module) Values() map[string]interface{} + type Order = common.Order + func WaitForOrder(ctx context.Context, client goclient.Client, ordering Ordering) (Order, error) + type Ordering = common.Ordering + type Product common.Product + func Products(ctx context.Context, client goclient.Client) ([]Product, error) + func ProductsByType(ctx context.Context, client goclient.Client, productTypeFilter string) ([]Product, error) + func (p Product) Columns() []string + func (p Product) Keys() []string + func (p Product) PricePerHour() string + func (p Product) String() string + func (p Product) Values() map[string]interface{} + type ProductType common.ProductType + func ProductTypes(ctx context.Context, client goclient.Client) ([]ProductType, error) + func (p ProductType) Columns() []string + func (p ProductType) Keys() []string + func (p ProductType) Values() map[string]interface{}