http

package
v1.0.0-beta.231 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsDiscounts

func AsDiscounts(discounts *api.Discounts) (productcatalog.Discounts, error)

func AsPriceTier

func AsPriceTier(t api.PriceTier) (productcatalog.PriceTier, error)

func AsRateCard

func AsRateCard(r api.RateCard) (productcatalog.RateCard, error)

func AsRateCards

func AsRateCards(rcs []api.RateCard) (productcatalog.RateCards, error)

func AsTaxConfig

func AsTaxConfig(c api.TaxConfig) productcatalog.TaxConfig

func FromAnnotations

func FromAnnotations(annotations models.Annotations) *api.Annotations

func FromDiscounts

func FromDiscounts(discounts productcatalog.Discounts) *api.Discounts

func FromMetadata

func FromMetadata(metadata models.Metadata) *api.Metadata

func FromRateCard

func FromRateCard(r productcatalog.RateCard) (api.RateCard, error)

func FromRateCardUsageBasedPrice

func FromRateCardUsageBasedPrice(price productcatalog.Price) (api.RateCardUsageBasedPrice, error)

func FromTaxConfig

func FromTaxConfig(c productcatalog.TaxConfig) api.TaxConfig

func FromValidationAttributes

func FromValidationAttributes(attrs models.Attributes) *api.Annotations

func FromValidationErrors

func FromValidationErrors(issues models.ValidationIssues) *[]api.ValidationError

func ValidationErrorEncoder

func ValidationErrorEncoder(kind ResourceKind) encoder.ErrorEncoder

Types

type ResourceKind

type ResourceKind string
const (
	ResourceKindPlan  ResourceKind = "plan"
	ResourceKindAddon ResourceKind = "add-on"
)

Jump to

Keyboard shortcuts

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