apps

package
v1.0.0-beta.228 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ToAPIAppPagePaginatedResponse func(source response.PagePaginationResponse[api.BillingApp]) api.AppPagePaginatedResponse

	ToAPIBillingAppCatalogItem func(source app.MarketplaceListing) (api.BillingAppCatalogItem, error)

	// goverter:enum:map AppTypeStripe BillingAppTypeStripe
	// goverter:enum:map AppTypeSandbox BillingAppTypeSandbox
	// goverter:enum:map AppTypeCustomInvoicing BillingAppTypeExternalInvoicing
	ToAPIBillingAppTypeFromDomain func(source app.AppType) (api.BillingAppType, error)

	ToAPIBillingApps func(source []app.App) ([]api.BillingApp, error)
)

goverter:variables goverter:skipCopySameType goverter:output:file ./convert.gen.go goverter:useZeroValueOnPointerInconsistency goverter:useUnderlyingTypeMethods goverter:matchIgnoreCase goverter:extend IntToFloat32 goverter:extend ToAPIBillingApp goverter:enum:unknown @error

Functions

func IntToFloat32

func IntToFloat32(i int) float32

func ToAPIBillingApp

func ToAPIBillingApp(item app.App) (api.BillingApp, error)

ToAPIBillingApp maps an app to a v3 API app

Types

type GetAppHandler

GetAppHandler is a handler to get an app by id

type GetAppRequest

type GetAppRequest = app.GetAppInput

GetAppHandler is a handler to get an app by id

type GetAppResponse

type GetAppResponse = api.BillingApp

GetAppHandler is a handler to get an app by id

type Handler

type Handler interface {
	// App handlers
	ListApps() ListAppsHandler
	GetApp() GetAppHandler
}

func New

func New(
	resolveNamespace func(ctx context.Context) (string, error),
	appService app.Service,
	options ...httptransport.HandlerOption,
) Handler

type ListAppsHandler

ListAppsHandler is a handler for listing apps

type ListAppsParams

type ListAppsParams = api.ListAppsParams

ListAppsHandler is a handler for listing apps

type ListAppsRequest

type ListAppsRequest = app.ListAppInput

ListAppsHandler is a handler for listing apps

type ListAppsResponse

type ListAppsResponse = api.AppPagePaginatedResponse

ListAppsHandler is a handler for listing apps

Jump to

Keyboard shortcuts

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