httpdriver

package
v1.0.0-beta.128 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaptFeatureToResponse

func MaptFeatureToResponse(f productcatalog.Feature) api.Feature

Types

type CreateFeatureHandlerRequest

type CreateFeatureHandlerRequest = productcatalog.CreateFeatureInputs

type CreateFeatureHandlerResponse

type CreateFeatureHandlerResponse = productcatalog.Feature

type DeleteFeatureHandlerParams

type DeleteFeatureHandlerParams = string

type DeleteFeatureHandlerRequest

type DeleteFeatureHandlerRequest = models.NamespacedID

type DeleteFeatureHandlerResponse

type DeleteFeatureHandlerResponse = interface{}

type FeatureHandler

type FeatureHandler interface {
	GetFeature() GetFeatureHandler
	CreateFeature() CreateFeatureHandler
	ListFeatures() ListFeaturesHandler
	DeleteFeature() DeleteFeatureHandler
}

func NewFeatureHandler

func NewFeatureHandler(
	connector productcatalog.FeatureConnector,
	namespaceDecoder namespacedriver.NamespaceDecoder,
	options ...httptransport.HandlerOption,
) FeatureHandler

type GetFeatureHandlerParams

type GetFeatureHandlerParams = string

type GetFeatureHandlerRequest

type GetFeatureHandlerRequest = models.NamespacedID

type GetFeatureHandlerResponse

type GetFeatureHandlerResponse = *productcatalog.Feature

type ListFeaturesHandlerParams

type ListFeaturesHandlerParams = api.ListFeaturesParams

type ListFeaturesHandlerRequest

type ListFeaturesHandlerRequest = productcatalog.ListFeaturesParams

Jump to

Keyboard shortcuts

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