httpdriver

package
v1.0.0-beta.187 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapAppToAPI

func MapAppToAPI(item appentity.App) (api.App, error)

Types

type AppHandler

type AppHandler interface {
	// App handlers
	ListApps() ListAppsHandler
	GetApp() GetAppHandler
	UninstallApp() UninstallAppHandler

	// Customer Data handlers
	ListCustomerData() ListCustomerDataHandler
	UpsertCustomerData() UpsertCustomerDataHandler
	DeleteCustomerData() DeleteCustomerDataHandler

	// Marketplace handlers
	ListMarketplaceListings() ListMarketplaceListingsHandler
	GetMarketplaceListing() GetMarketplaceListingHandler
	MarketplaceAppAPIKeyInstall() MarketplaceAppAPIKeyInstallHandler
}

type DeleteCustomerDataParams

type DeleteCustomerDataParams struct {
	CustomerId string
	AppId      string
}

type DeleteCustomerDataRequest

type DeleteCustomerDataRequest struct {
	AppID      appentitybase.AppID
	CustomerID customerentity.CustomerID
}

type DeleteCustomerDataResponse

type DeleteCustomerDataResponse = interface{}

type GetAppHandler

GetAppHandler is a handler to get an app by id

type GetAppRequest

type GetAppRequest = appentity.GetAppInput

GetAppHandler is a handler to get an app by id

type GetAppResponse

type GetAppResponse = api.App

GetAppHandler is a handler to get an app by id

type GetMarketplaceListingHandler

GetMarketplaceListingHandler is a handler to get a marketplace listing

type GetMarketplaceListingRequest

type GetMarketplaceListingRequest = appentity.MarketplaceGetInput

GetMarketplaceListingHandler is a handler to get a marketplace listing

type GetMarketplaceListingResponse

type GetMarketplaceListingResponse = api.MarketplaceListing

GetMarketplaceListingHandler is a handler to get a marketplace listing

type Handler

type Handler interface {
	AppHandler
}

func New

func New(
	namespaceDecoder namespacedriver.NamespaceDecoder,
	service 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 = appentity.ListAppInput

ListAppsHandler is a handler for listing apps

type ListAppsResponse

type ListAppsResponse = api.AppList

ListAppsHandler is a handler for listing apps

type ListCustomerDataParams

type ListCustomerDataParams struct {
	api.ListCustomerAppDataParams
	CustomerId string
}

type ListCustomerDataRequest

type ListCustomerDataRequest = app.ListCustomerInput

type ListCustomerDataResponse

type ListCustomerDataResponse = api.CustomerAppDataPaginatedResponse

type ListMarketplaceListingsHandler

ListMarketplaceListingsHandler is a handler for listing marketplace listings

type ListMarketplaceListingsParams

type ListMarketplaceListingsParams = api.ListMarketplaceListingsParams

ListMarketplaceListingsHandler is a handler for listing marketplace listings

type ListMarketplaceListingsRequest

type ListMarketplaceListingsRequest = appentity.MarketplaceListInput

ListMarketplaceListingsHandler is a handler for listing marketplace listings

type ListMarketplaceListingsResponse

type ListMarketplaceListingsResponse = api.MarketplaceListingList

ListMarketplaceListingsHandler is a handler for listing marketplace listings

type MarketplaceAppAPIKeyInstallRequest

type MarketplaceAppAPIKeyInstallRequest = appentity.InstallAppWithAPIKeyInput

type MarketplaceAppAPIKeyInstallResponse

type MarketplaceAppAPIKeyInstallResponse = api.AppBase

type UninstallAppHandler

UninstallAppHandler is a handler to uninstalls an app by id

type UninstallAppRequest

type UninstallAppRequest = appentity.UninstallAppInput

UninstallAppHandler is a handler to uninstalls an app by id

type UninstallAppResponse

type UninstallAppResponse = interface{}

UninstallAppHandler is a handler to uninstalls an app by id

type UpsertCustomerDataParams

type UpsertCustomerDataParams struct {
	CustomerId string
}

type UpsertCustomerDataRequest

type UpsertCustomerDataRequest struct {
	CustomerId customerentity.CustomerID
	Data       []api.CustomerAppData
}

type UpsertCustomerDataResponse

type UpsertCustomerDataResponse = interface{}

Jump to

Keyboard shortcuts

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