Documentation
¶
Overview ¶
Package server provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Index ¶
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- type AlreadyExistsJSONResponse
- type BadRequestJSONResponse
- type ChiServerOptions
- type CreateCatalogItem201JSONResponse
- type CreateCatalogItem400JSONResponse
- type CreateCatalogItem401JSONResponse
- type CreateCatalogItem403JSONResponse
- type CreateCatalogItem409JSONResponse
- type CreateCatalogItem500JSONResponse
- type CreateCatalogItemInstance201JSONResponse
- type CreateCatalogItemInstance400JSONResponse
- type CreateCatalogItemInstance401JSONResponse
- type CreateCatalogItemInstance403JSONResponse
- type CreateCatalogItemInstance409JSONResponse
- type CreateCatalogItemInstance500JSONResponse
- type CreateCatalogItemInstanceRequestObject
- type CreateCatalogItemInstanceResponseObject
- type CreateCatalogItemRequestObject
- type CreateCatalogItemResponseObject
- type CreateServiceType201JSONResponse
- type CreateServiceType400JSONResponse
- type CreateServiceType401JSONResponse
- type CreateServiceType403JSONResponse
- type CreateServiceType409JSONResponse
- type CreateServiceType500JSONResponse
- type CreateServiceTypeRequestObject
- type CreateServiceTypeResponseObject
- type DeleteCatalogItem204Response
- type DeleteCatalogItem401JSONResponse
- type DeleteCatalogItem403JSONResponse
- type DeleteCatalogItem404JSONResponse
- type DeleteCatalogItem500JSONResponse
- type DeleteCatalogItemInstance204Response
- type DeleteCatalogItemInstance401JSONResponse
- type DeleteCatalogItemInstance403JSONResponse
- type DeleteCatalogItemInstance404JSONResponse
- type DeleteCatalogItemInstance500JSONResponse
- type DeleteCatalogItemInstanceRequestObject
- type DeleteCatalogItemInstanceResponseObject
- type DeleteCatalogItemRequestObject
- type DeleteCatalogItemResponseObject
- type ForbiddenJSONResponse
- type GetCatalogItem200JSONResponse
- type GetCatalogItem401JSONResponse
- type GetCatalogItem403JSONResponse
- type GetCatalogItem404JSONResponse
- type GetCatalogItem500JSONResponse
- type GetCatalogItemInstance200JSONResponse
- type GetCatalogItemInstance401JSONResponse
- type GetCatalogItemInstance403JSONResponse
- type GetCatalogItemInstance404JSONResponse
- type GetCatalogItemInstance500JSONResponse
- type GetCatalogItemInstanceRequestObject
- type GetCatalogItemInstanceResponseObject
- type GetCatalogItemRequestObject
- type GetCatalogItemResponseObject
- type GetHealth200JSONResponse
- type GetHealthRequestObject
- type GetHealthResponseObject
- type GetServiceType200JSONResponse
- type GetServiceType401JSONResponse
- type GetServiceType403JSONResponse
- type GetServiceType404JSONResponse
- type GetServiceType500JSONResponse
- type GetServiceTypeRequestObject
- type GetServiceTypeResponseObject
- type InternalServerErrorJSONResponse
- type InvalidParamFormatError
- type ListCatalogItemInstances200JSONResponse
- type ListCatalogItemInstances401JSONResponse
- type ListCatalogItemInstances403JSONResponse
- type ListCatalogItemInstances500JSONResponse
- type ListCatalogItemInstancesRequestObject
- type ListCatalogItemInstancesResponseObject
- type ListCatalogItems200JSONResponse
- type ListCatalogItems401JSONResponse
- type ListCatalogItems403JSONResponse
- type ListCatalogItems500JSONResponse
- type ListCatalogItemsRequestObject
- type ListCatalogItemsResponseObject
- type ListServiceTypes200JSONResponse
- type ListServiceTypes400JSONResponse
- type ListServiceTypes401JSONResponse
- type ListServiceTypes403JSONResponse
- type ListServiceTypes500JSONResponse
- type ListServiceTypesRequestObject
- type ListServiceTypesResponseObject
- type MiddlewareFunc
- type NotFoundJSONResponse
- type RequiredHeaderError
- type RequiredParamError
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) CreateCatalogItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateCatalogItemInstance(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceType(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteCatalogItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteCatalogItemInstance(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCatalogItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCatalogItemInstance(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetServiceType(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListCatalogItemInstances(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListCatalogItems(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServiceTypes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateCatalogItem(w http.ResponseWriter, r *http.Request)
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TooManyValuesForParamError
- type UnauthorizedJSONResponse
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) CreateCatalogItem(w http.ResponseWriter, r *http.Request, params CreateCatalogItemParams)
- func (_ Unimplemented) CreateCatalogItemInstance(w http.ResponseWriter, r *http.Request, params CreateCatalogItemInstanceParams)
- func (_ Unimplemented) CreateServiceType(w http.ResponseWriter, r *http.Request, params CreateServiceTypeParams)
- func (_ Unimplemented) DeleteCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
- func (_ Unimplemented) DeleteCatalogItemInstance(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
- func (_ Unimplemented) GetCatalogItemInstance(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetHealth(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetServiceType(w http.ResponseWriter, r *http.Request, serviceTypeId ServiceTypeIdPath)
- func (_ Unimplemented) ListCatalogItemInstances(w http.ResponseWriter, r *http.Request, params ListCatalogItemInstancesParams)
- func (_ Unimplemented) ListCatalogItems(w http.ResponseWriter, r *http.Request, params ListCatalogItemsParams)
- func (_ Unimplemented) ListServiceTypes(w http.ResponseWriter, r *http.Request, params ListServiceTypesParams)
- func (_ Unimplemented) UpdateCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
- type UnmarshalingParamError
- type UpdateCatalogItem200JSONResponse
- type UpdateCatalogItem400JSONResponse
- type UpdateCatalogItem401JSONResponse
- type UpdateCatalogItem403JSONResponse
- type UpdateCatalogItem404JSONResponse
- type UpdateCatalogItem500JSONResponse
- type UpdateCatalogItemRequestObject
- type UpdateCatalogItemResponseObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type AlreadyExistsJSONResponse ¶
type AlreadyExistsJSONResponse Error
type BadRequestJSONResponse ¶
type BadRequestJSONResponse Error
type ChiServerOptions ¶
type ChiServerOptions struct {
BaseURL string
BaseRouter chi.Router
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type CreateCatalogItem201JSONResponse ¶
type CreateCatalogItem201JSONResponse CatalogItem
func (CreateCatalogItem201JSONResponse) VisitCreateCatalogItemResponse ¶
func (response CreateCatalogItem201JSONResponse) VisitCreateCatalogItemResponse(w http.ResponseWriter) error
type CreateCatalogItem400JSONResponse ¶
type CreateCatalogItem400JSONResponse Error
func (CreateCatalogItem400JSONResponse) VisitCreateCatalogItemResponse ¶
func (response CreateCatalogItem400JSONResponse) VisitCreateCatalogItemResponse(w http.ResponseWriter) error
type CreateCatalogItem401JSONResponse ¶
func (CreateCatalogItem401JSONResponse) VisitCreateCatalogItemResponse ¶
func (response CreateCatalogItem401JSONResponse) VisitCreateCatalogItemResponse(w http.ResponseWriter) error
type CreateCatalogItem403JSONResponse ¶
type CreateCatalogItem403JSONResponse struct{ ForbiddenJSONResponse }
func (CreateCatalogItem403JSONResponse) VisitCreateCatalogItemResponse ¶
func (response CreateCatalogItem403JSONResponse) VisitCreateCatalogItemResponse(w http.ResponseWriter) error
type CreateCatalogItem409JSONResponse ¶
type CreateCatalogItem409JSONResponse struct{ AlreadyExistsJSONResponse }
func (CreateCatalogItem409JSONResponse) VisitCreateCatalogItemResponse ¶
func (response CreateCatalogItem409JSONResponse) VisitCreateCatalogItemResponse(w http.ResponseWriter) error
type CreateCatalogItem500JSONResponse ¶
type CreateCatalogItem500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (CreateCatalogItem500JSONResponse) VisitCreateCatalogItemResponse ¶
func (response CreateCatalogItem500JSONResponse) VisitCreateCatalogItemResponse(w http.ResponseWriter) error
type CreateCatalogItemInstance201JSONResponse ¶
type CreateCatalogItemInstance201JSONResponse CatalogItemInstance
func (CreateCatalogItemInstance201JSONResponse) VisitCreateCatalogItemInstanceResponse ¶
func (response CreateCatalogItemInstance201JSONResponse) VisitCreateCatalogItemInstanceResponse(w http.ResponseWriter) error
type CreateCatalogItemInstance400JSONResponse ¶
type CreateCatalogItemInstance400JSONResponse Error
func (CreateCatalogItemInstance400JSONResponse) VisitCreateCatalogItemInstanceResponse ¶
func (response CreateCatalogItemInstance400JSONResponse) VisitCreateCatalogItemInstanceResponse(w http.ResponseWriter) error
type CreateCatalogItemInstance401JSONResponse ¶
func (CreateCatalogItemInstance401JSONResponse) VisitCreateCatalogItemInstanceResponse ¶
func (response CreateCatalogItemInstance401JSONResponse) VisitCreateCatalogItemInstanceResponse(w http.ResponseWriter) error
type CreateCatalogItemInstance403JSONResponse ¶
type CreateCatalogItemInstance403JSONResponse struct{ ForbiddenJSONResponse }
func (CreateCatalogItemInstance403JSONResponse) VisitCreateCatalogItemInstanceResponse ¶
func (response CreateCatalogItemInstance403JSONResponse) VisitCreateCatalogItemInstanceResponse(w http.ResponseWriter) error
type CreateCatalogItemInstance409JSONResponse ¶
type CreateCatalogItemInstance409JSONResponse struct{ AlreadyExistsJSONResponse }
func (CreateCatalogItemInstance409JSONResponse) VisitCreateCatalogItemInstanceResponse ¶
func (response CreateCatalogItemInstance409JSONResponse) VisitCreateCatalogItemInstanceResponse(w http.ResponseWriter) error
type CreateCatalogItemInstance500JSONResponse ¶
type CreateCatalogItemInstance500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (CreateCatalogItemInstance500JSONResponse) VisitCreateCatalogItemInstanceResponse ¶
func (response CreateCatalogItemInstance500JSONResponse) VisitCreateCatalogItemInstanceResponse(w http.ResponseWriter) error
type CreateCatalogItemInstanceRequestObject ¶
type CreateCatalogItemInstanceRequestObject struct {
Params CreateCatalogItemInstanceParams
Body *CreateCatalogItemInstanceJSONRequestBody
}
type CreateCatalogItemInstanceResponseObject ¶
type CreateCatalogItemInstanceResponseObject interface {
VisitCreateCatalogItemInstanceResponse(w http.ResponseWriter) error
}
type CreateCatalogItemRequestObject ¶
type CreateCatalogItemRequestObject struct {
Params CreateCatalogItemParams
Body *CreateCatalogItemJSONRequestBody
}
type CreateCatalogItemResponseObject ¶
type CreateCatalogItemResponseObject interface {
VisitCreateCatalogItemResponse(w http.ResponseWriter) error
}
type CreateServiceType201JSONResponse ¶
type CreateServiceType201JSONResponse ServiceType
func (CreateServiceType201JSONResponse) VisitCreateServiceTypeResponse ¶
func (response CreateServiceType201JSONResponse) VisitCreateServiceTypeResponse(w http.ResponseWriter) error
type CreateServiceType400JSONResponse ¶
type CreateServiceType400JSONResponse Error
func (CreateServiceType400JSONResponse) VisitCreateServiceTypeResponse ¶
func (response CreateServiceType400JSONResponse) VisitCreateServiceTypeResponse(w http.ResponseWriter) error
type CreateServiceType401JSONResponse ¶
func (CreateServiceType401JSONResponse) VisitCreateServiceTypeResponse ¶
func (response CreateServiceType401JSONResponse) VisitCreateServiceTypeResponse(w http.ResponseWriter) error
type CreateServiceType403JSONResponse ¶
type CreateServiceType403JSONResponse struct{ ForbiddenJSONResponse }
func (CreateServiceType403JSONResponse) VisitCreateServiceTypeResponse ¶
func (response CreateServiceType403JSONResponse) VisitCreateServiceTypeResponse(w http.ResponseWriter) error
type CreateServiceType409JSONResponse ¶
type CreateServiceType409JSONResponse struct{ AlreadyExistsJSONResponse }
func (CreateServiceType409JSONResponse) VisitCreateServiceTypeResponse ¶
func (response CreateServiceType409JSONResponse) VisitCreateServiceTypeResponse(w http.ResponseWriter) error
type CreateServiceType500JSONResponse ¶
type CreateServiceType500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (CreateServiceType500JSONResponse) VisitCreateServiceTypeResponse ¶
func (response CreateServiceType500JSONResponse) VisitCreateServiceTypeResponse(w http.ResponseWriter) error
type CreateServiceTypeRequestObject ¶
type CreateServiceTypeRequestObject struct {
Params CreateServiceTypeParams
Body *CreateServiceTypeJSONRequestBody
}
type CreateServiceTypeResponseObject ¶
type CreateServiceTypeResponseObject interface {
VisitCreateServiceTypeResponse(w http.ResponseWriter) error
}
type DeleteCatalogItem204Response ¶
type DeleteCatalogItem204Response struct {
}
func (DeleteCatalogItem204Response) VisitDeleteCatalogItemResponse ¶
func (response DeleteCatalogItem204Response) VisitDeleteCatalogItemResponse(w http.ResponseWriter) error
type DeleteCatalogItem401JSONResponse ¶
func (DeleteCatalogItem401JSONResponse) VisitDeleteCatalogItemResponse ¶
func (response DeleteCatalogItem401JSONResponse) VisitDeleteCatalogItemResponse(w http.ResponseWriter) error
type DeleteCatalogItem403JSONResponse ¶
type DeleteCatalogItem403JSONResponse struct{ ForbiddenJSONResponse }
func (DeleteCatalogItem403JSONResponse) VisitDeleteCatalogItemResponse ¶
func (response DeleteCatalogItem403JSONResponse) VisitDeleteCatalogItemResponse(w http.ResponseWriter) error
type DeleteCatalogItem404JSONResponse ¶
type DeleteCatalogItem404JSONResponse struct{ NotFoundJSONResponse }
func (DeleteCatalogItem404JSONResponse) VisitDeleteCatalogItemResponse ¶
func (response DeleteCatalogItem404JSONResponse) VisitDeleteCatalogItemResponse(w http.ResponseWriter) error
type DeleteCatalogItem500JSONResponse ¶
type DeleteCatalogItem500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (DeleteCatalogItem500JSONResponse) VisitDeleteCatalogItemResponse ¶
func (response DeleteCatalogItem500JSONResponse) VisitDeleteCatalogItemResponse(w http.ResponseWriter) error
type DeleteCatalogItemInstance204Response ¶
type DeleteCatalogItemInstance204Response struct {
}
func (DeleteCatalogItemInstance204Response) VisitDeleteCatalogItemInstanceResponse ¶
func (response DeleteCatalogItemInstance204Response) VisitDeleteCatalogItemInstanceResponse(w http.ResponseWriter) error
type DeleteCatalogItemInstance401JSONResponse ¶
func (DeleteCatalogItemInstance401JSONResponse) VisitDeleteCatalogItemInstanceResponse ¶
func (response DeleteCatalogItemInstance401JSONResponse) VisitDeleteCatalogItemInstanceResponse(w http.ResponseWriter) error
type DeleteCatalogItemInstance403JSONResponse ¶
type DeleteCatalogItemInstance403JSONResponse struct{ ForbiddenJSONResponse }
func (DeleteCatalogItemInstance403JSONResponse) VisitDeleteCatalogItemInstanceResponse ¶
func (response DeleteCatalogItemInstance403JSONResponse) VisitDeleteCatalogItemInstanceResponse(w http.ResponseWriter) error
type DeleteCatalogItemInstance404JSONResponse ¶
type DeleteCatalogItemInstance404JSONResponse struct{ NotFoundJSONResponse }
func (DeleteCatalogItemInstance404JSONResponse) VisitDeleteCatalogItemInstanceResponse ¶
func (response DeleteCatalogItemInstance404JSONResponse) VisitDeleteCatalogItemInstanceResponse(w http.ResponseWriter) error
type DeleteCatalogItemInstance500JSONResponse ¶
type DeleteCatalogItemInstance500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (DeleteCatalogItemInstance500JSONResponse) VisitDeleteCatalogItemInstanceResponse ¶
func (response DeleteCatalogItemInstance500JSONResponse) VisitDeleteCatalogItemInstanceResponse(w http.ResponseWriter) error
type DeleteCatalogItemInstanceRequestObject ¶
type DeleteCatalogItemInstanceRequestObject struct {
CatalogItemInstanceId CatalogItemInstanceIdPath `json:"catalogItemInstanceId"`
}
type DeleteCatalogItemInstanceResponseObject ¶
type DeleteCatalogItemInstanceResponseObject interface {
VisitDeleteCatalogItemInstanceResponse(w http.ResponseWriter) error
}
type DeleteCatalogItemRequestObject ¶
type DeleteCatalogItemRequestObject struct {
CatalogItemId CatalogItemIdPath `json:"catalogItemId"`
}
type DeleteCatalogItemResponseObject ¶
type DeleteCatalogItemResponseObject interface {
VisitDeleteCatalogItemResponse(w http.ResponseWriter) error
}
type ForbiddenJSONResponse ¶
type ForbiddenJSONResponse Error
type GetCatalogItem200JSONResponse ¶
type GetCatalogItem200JSONResponse CatalogItem
func (GetCatalogItem200JSONResponse) VisitGetCatalogItemResponse ¶
func (response GetCatalogItem200JSONResponse) VisitGetCatalogItemResponse(w http.ResponseWriter) error
type GetCatalogItem401JSONResponse ¶
func (GetCatalogItem401JSONResponse) VisitGetCatalogItemResponse ¶
func (response GetCatalogItem401JSONResponse) VisitGetCatalogItemResponse(w http.ResponseWriter) error
type GetCatalogItem403JSONResponse ¶
type GetCatalogItem403JSONResponse struct{ ForbiddenJSONResponse }
func (GetCatalogItem403JSONResponse) VisitGetCatalogItemResponse ¶
func (response GetCatalogItem403JSONResponse) VisitGetCatalogItemResponse(w http.ResponseWriter) error
type GetCatalogItem404JSONResponse ¶
type GetCatalogItem404JSONResponse struct{ NotFoundJSONResponse }
func (GetCatalogItem404JSONResponse) VisitGetCatalogItemResponse ¶
func (response GetCatalogItem404JSONResponse) VisitGetCatalogItemResponse(w http.ResponseWriter) error
type GetCatalogItem500JSONResponse ¶
type GetCatalogItem500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (GetCatalogItem500JSONResponse) VisitGetCatalogItemResponse ¶
func (response GetCatalogItem500JSONResponse) VisitGetCatalogItemResponse(w http.ResponseWriter) error
type GetCatalogItemInstance200JSONResponse ¶
type GetCatalogItemInstance200JSONResponse CatalogItemInstance
func (GetCatalogItemInstance200JSONResponse) VisitGetCatalogItemInstanceResponse ¶
func (response GetCatalogItemInstance200JSONResponse) VisitGetCatalogItemInstanceResponse(w http.ResponseWriter) error
type GetCatalogItemInstance401JSONResponse ¶
func (GetCatalogItemInstance401JSONResponse) VisitGetCatalogItemInstanceResponse ¶
func (response GetCatalogItemInstance401JSONResponse) VisitGetCatalogItemInstanceResponse(w http.ResponseWriter) error
type GetCatalogItemInstance403JSONResponse ¶
type GetCatalogItemInstance403JSONResponse struct{ ForbiddenJSONResponse }
func (GetCatalogItemInstance403JSONResponse) VisitGetCatalogItemInstanceResponse ¶
func (response GetCatalogItemInstance403JSONResponse) VisitGetCatalogItemInstanceResponse(w http.ResponseWriter) error
type GetCatalogItemInstance404JSONResponse ¶
type GetCatalogItemInstance404JSONResponse struct{ NotFoundJSONResponse }
func (GetCatalogItemInstance404JSONResponse) VisitGetCatalogItemInstanceResponse ¶
func (response GetCatalogItemInstance404JSONResponse) VisitGetCatalogItemInstanceResponse(w http.ResponseWriter) error
type GetCatalogItemInstance500JSONResponse ¶
type GetCatalogItemInstance500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (GetCatalogItemInstance500JSONResponse) VisitGetCatalogItemInstanceResponse ¶
func (response GetCatalogItemInstance500JSONResponse) VisitGetCatalogItemInstanceResponse(w http.ResponseWriter) error
type GetCatalogItemInstanceRequestObject ¶
type GetCatalogItemInstanceRequestObject struct {
CatalogItemInstanceId CatalogItemInstanceIdPath `json:"catalogItemInstanceId"`
}
type GetCatalogItemInstanceResponseObject ¶
type GetCatalogItemInstanceResponseObject interface {
VisitGetCatalogItemInstanceResponse(w http.ResponseWriter) error
}
type GetCatalogItemRequestObject ¶
type GetCatalogItemRequestObject struct {
CatalogItemId CatalogItemIdPath `json:"catalogItemId"`
}
type GetCatalogItemResponseObject ¶
type GetCatalogItemResponseObject interface {
VisitGetCatalogItemResponse(w http.ResponseWriter) error
}
type GetHealth200JSONResponse ¶
type GetHealth200JSONResponse Health
func (GetHealth200JSONResponse) VisitGetHealthResponse ¶
func (response GetHealth200JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error
type GetHealthRequestObject ¶
type GetHealthRequestObject struct {
}
type GetHealthResponseObject ¶
type GetHealthResponseObject interface {
VisitGetHealthResponse(w http.ResponseWriter) error
}
type GetServiceType200JSONResponse ¶
type GetServiceType200JSONResponse ServiceType
func (GetServiceType200JSONResponse) VisitGetServiceTypeResponse ¶
func (response GetServiceType200JSONResponse) VisitGetServiceTypeResponse(w http.ResponseWriter) error
type GetServiceType401JSONResponse ¶
func (GetServiceType401JSONResponse) VisitGetServiceTypeResponse ¶
func (response GetServiceType401JSONResponse) VisitGetServiceTypeResponse(w http.ResponseWriter) error
type GetServiceType403JSONResponse ¶
type GetServiceType403JSONResponse struct{ ForbiddenJSONResponse }
func (GetServiceType403JSONResponse) VisitGetServiceTypeResponse ¶
func (response GetServiceType403JSONResponse) VisitGetServiceTypeResponse(w http.ResponseWriter) error
type GetServiceType404JSONResponse ¶
type GetServiceType404JSONResponse struct{ NotFoundJSONResponse }
func (GetServiceType404JSONResponse) VisitGetServiceTypeResponse ¶
func (response GetServiceType404JSONResponse) VisitGetServiceTypeResponse(w http.ResponseWriter) error
type GetServiceType500JSONResponse ¶
type GetServiceType500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (GetServiceType500JSONResponse) VisitGetServiceTypeResponse ¶
func (response GetServiceType500JSONResponse) VisitGetServiceTypeResponse(w http.ResponseWriter) error
type GetServiceTypeRequestObject ¶
type GetServiceTypeRequestObject struct {
ServiceTypeId ServiceTypeIdPath `json:"serviceTypeId"`
}
type GetServiceTypeResponseObject ¶
type GetServiceTypeResponseObject interface {
VisitGetServiceTypeResponse(w http.ResponseWriter) error
}
type InternalServerErrorJSONResponse ¶
type InternalServerErrorJSONResponse Error
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type ListCatalogItemInstances200JSONResponse ¶
type ListCatalogItemInstances200JSONResponse CatalogItemInstanceList
func (ListCatalogItemInstances200JSONResponse) VisitListCatalogItemInstancesResponse ¶
func (response ListCatalogItemInstances200JSONResponse) VisitListCatalogItemInstancesResponse(w http.ResponseWriter) error
type ListCatalogItemInstances401JSONResponse ¶
func (ListCatalogItemInstances401JSONResponse) VisitListCatalogItemInstancesResponse ¶
func (response ListCatalogItemInstances401JSONResponse) VisitListCatalogItemInstancesResponse(w http.ResponseWriter) error
type ListCatalogItemInstances403JSONResponse ¶
type ListCatalogItemInstances403JSONResponse struct{ ForbiddenJSONResponse }
func (ListCatalogItemInstances403JSONResponse) VisitListCatalogItemInstancesResponse ¶
func (response ListCatalogItemInstances403JSONResponse) VisitListCatalogItemInstancesResponse(w http.ResponseWriter) error
type ListCatalogItemInstances500JSONResponse ¶
type ListCatalogItemInstances500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (ListCatalogItemInstances500JSONResponse) VisitListCatalogItemInstancesResponse ¶
func (response ListCatalogItemInstances500JSONResponse) VisitListCatalogItemInstancesResponse(w http.ResponseWriter) error
type ListCatalogItemInstancesRequestObject ¶
type ListCatalogItemInstancesRequestObject struct {
Params ListCatalogItemInstancesParams
}
type ListCatalogItemInstancesResponseObject ¶
type ListCatalogItemInstancesResponseObject interface {
VisitListCatalogItemInstancesResponse(w http.ResponseWriter) error
}
type ListCatalogItems200JSONResponse ¶
type ListCatalogItems200JSONResponse CatalogItemList
func (ListCatalogItems200JSONResponse) VisitListCatalogItemsResponse ¶
func (response ListCatalogItems200JSONResponse) VisitListCatalogItemsResponse(w http.ResponseWriter) error
type ListCatalogItems401JSONResponse ¶
func (ListCatalogItems401JSONResponse) VisitListCatalogItemsResponse ¶
func (response ListCatalogItems401JSONResponse) VisitListCatalogItemsResponse(w http.ResponseWriter) error
type ListCatalogItems403JSONResponse ¶
type ListCatalogItems403JSONResponse struct{ ForbiddenJSONResponse }
func (ListCatalogItems403JSONResponse) VisitListCatalogItemsResponse ¶
func (response ListCatalogItems403JSONResponse) VisitListCatalogItemsResponse(w http.ResponseWriter) error
type ListCatalogItems500JSONResponse ¶
type ListCatalogItems500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (ListCatalogItems500JSONResponse) VisitListCatalogItemsResponse ¶
func (response ListCatalogItems500JSONResponse) VisitListCatalogItemsResponse(w http.ResponseWriter) error
type ListCatalogItemsRequestObject ¶
type ListCatalogItemsRequestObject struct {
Params ListCatalogItemsParams
}
type ListCatalogItemsResponseObject ¶
type ListCatalogItemsResponseObject interface {
VisitListCatalogItemsResponse(w http.ResponseWriter) error
}
type ListServiceTypes200JSONResponse ¶
type ListServiceTypes200JSONResponse ServiceTypeList
func (ListServiceTypes200JSONResponse) VisitListServiceTypesResponse ¶
func (response ListServiceTypes200JSONResponse) VisitListServiceTypesResponse(w http.ResponseWriter) error
type ListServiceTypes400JSONResponse ¶
type ListServiceTypes400JSONResponse struct{ BadRequestJSONResponse }
func (ListServiceTypes400JSONResponse) VisitListServiceTypesResponse ¶
func (response ListServiceTypes400JSONResponse) VisitListServiceTypesResponse(w http.ResponseWriter) error
type ListServiceTypes401JSONResponse ¶
func (ListServiceTypes401JSONResponse) VisitListServiceTypesResponse ¶
func (response ListServiceTypes401JSONResponse) VisitListServiceTypesResponse(w http.ResponseWriter) error
type ListServiceTypes403JSONResponse ¶
type ListServiceTypes403JSONResponse struct{ ForbiddenJSONResponse }
func (ListServiceTypes403JSONResponse) VisitListServiceTypesResponse ¶
func (response ListServiceTypes403JSONResponse) VisitListServiceTypesResponse(w http.ResponseWriter) error
type ListServiceTypes500JSONResponse ¶
type ListServiceTypes500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (ListServiceTypes500JSONResponse) VisitListServiceTypesResponse ¶
func (response ListServiceTypes500JSONResponse) VisitListServiceTypesResponse(w http.ResponseWriter) error
type ListServiceTypesRequestObject ¶
type ListServiceTypesRequestObject struct {
Params ListServiceTypesParams
}
type ListServiceTypesResponseObject ¶
type ListServiceTypesResponseObject interface {
VisitListServiceTypesResponse(w http.ResponseWriter) error
}
type NotFoundJSONResponse ¶
type NotFoundJSONResponse Error
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ServerInterface ¶
type ServerInterface interface {
// List catalog item instances
// (GET /catalog-item-instances)
ListCatalogItemInstances(w http.ResponseWriter, r *http.Request, params ListCatalogItemInstancesParams)
// Create a catalog item instance
// (POST /catalog-item-instances)
CreateCatalogItemInstance(w http.ResponseWriter, r *http.Request, params CreateCatalogItemInstanceParams)
// Delete a catalog item instance
// (DELETE /catalog-item-instances/{catalogItemInstanceId})
DeleteCatalogItemInstance(w http.ResponseWriter, r *http.Request, catalogItemInstanceId CatalogItemInstanceIdPath)
// Get a catalog item instance
// (GET /catalog-item-instances/{catalogItemInstanceId})
GetCatalogItemInstance(w http.ResponseWriter, r *http.Request, catalogItemInstanceId CatalogItemInstanceIdPath)
// List catalog items
// (GET /catalog-items)
ListCatalogItems(w http.ResponseWriter, r *http.Request, params ListCatalogItemsParams)
// Create a catalog item
// (POST /catalog-items)
CreateCatalogItem(w http.ResponseWriter, r *http.Request, params CreateCatalogItemParams)
// Delete a catalog item
// (DELETE /catalog-items/{catalogItemId})
DeleteCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
// Get a catalog item
// (GET /catalog-items/{catalogItemId})
GetCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
// Update a catalog item
// (PATCH /catalog-items/{catalogItemId})
UpdateCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
// Health check
// (GET /health)
GetHealth(w http.ResponseWriter, r *http.Request)
// List service types
// (GET /service-types)
ListServiceTypes(w http.ResponseWriter, r *http.Request, params ListServiceTypesParams)
// Create a service type
// (POST /service-types)
CreateServiceType(w http.ResponseWriter, r *http.Request, params CreateServiceTypeParams)
// Get a service type
// (GET /service-types/{serviceTypeId})
GetServiceType(w http.ResponseWriter, r *http.Request, serviceTypeId ServiceTypeIdPath)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) CreateCatalogItem ¶
func (siw *ServerInterfaceWrapper) CreateCatalogItem(w http.ResponseWriter, r *http.Request)
CreateCatalogItem operation middleware
func (*ServerInterfaceWrapper) CreateCatalogItemInstance ¶
func (siw *ServerInterfaceWrapper) CreateCatalogItemInstance(w http.ResponseWriter, r *http.Request)
CreateCatalogItemInstance operation middleware
func (*ServerInterfaceWrapper) CreateServiceType ¶
func (siw *ServerInterfaceWrapper) CreateServiceType(w http.ResponseWriter, r *http.Request)
CreateServiceType operation middleware
func (*ServerInterfaceWrapper) DeleteCatalogItem ¶
func (siw *ServerInterfaceWrapper) DeleteCatalogItem(w http.ResponseWriter, r *http.Request)
DeleteCatalogItem operation middleware
func (*ServerInterfaceWrapper) DeleteCatalogItemInstance ¶
func (siw *ServerInterfaceWrapper) DeleteCatalogItemInstance(w http.ResponseWriter, r *http.Request)
DeleteCatalogItemInstance operation middleware
func (*ServerInterfaceWrapper) GetCatalogItem ¶
func (siw *ServerInterfaceWrapper) GetCatalogItem(w http.ResponseWriter, r *http.Request)
GetCatalogItem operation middleware
func (*ServerInterfaceWrapper) GetCatalogItemInstance ¶
func (siw *ServerInterfaceWrapper) GetCatalogItemInstance(w http.ResponseWriter, r *http.Request)
GetCatalogItemInstance operation middleware
func (*ServerInterfaceWrapper) GetHealth ¶
func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)
GetHealth operation middleware
func (*ServerInterfaceWrapper) GetServiceType ¶
func (siw *ServerInterfaceWrapper) GetServiceType(w http.ResponseWriter, r *http.Request)
GetServiceType operation middleware
func (*ServerInterfaceWrapper) ListCatalogItemInstances ¶
func (siw *ServerInterfaceWrapper) ListCatalogItemInstances(w http.ResponseWriter, r *http.Request)
ListCatalogItemInstances operation middleware
func (*ServerInterfaceWrapper) ListCatalogItems ¶
func (siw *ServerInterfaceWrapper) ListCatalogItems(w http.ResponseWriter, r *http.Request)
ListCatalogItems operation middleware
func (*ServerInterfaceWrapper) ListServiceTypes ¶
func (siw *ServerInterfaceWrapper) ListServiceTypes(w http.ResponseWriter, r *http.Request)
ListServiceTypes operation middleware
func (*ServerInterfaceWrapper) UpdateCatalogItem ¶
func (siw *ServerInterfaceWrapper) UpdateCatalogItem(w http.ResponseWriter, r *http.Request)
UpdateCatalogItem operation middleware
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// List catalog item instances
// (GET /catalog-item-instances)
ListCatalogItemInstances(ctx context.Context, request ListCatalogItemInstancesRequestObject) (ListCatalogItemInstancesResponseObject, error)
// Create a catalog item instance
// (POST /catalog-item-instances)
CreateCatalogItemInstance(ctx context.Context, request CreateCatalogItemInstanceRequestObject) (CreateCatalogItemInstanceResponseObject, error)
// Delete a catalog item instance
// (DELETE /catalog-item-instances/{catalogItemInstanceId})
DeleteCatalogItemInstance(ctx context.Context, request DeleteCatalogItemInstanceRequestObject) (DeleteCatalogItemInstanceResponseObject, error)
// Get a catalog item instance
// (GET /catalog-item-instances/{catalogItemInstanceId})
GetCatalogItemInstance(ctx context.Context, request GetCatalogItemInstanceRequestObject) (GetCatalogItemInstanceResponseObject, error)
// List catalog items
// (GET /catalog-items)
ListCatalogItems(ctx context.Context, request ListCatalogItemsRequestObject) (ListCatalogItemsResponseObject, error)
// Create a catalog item
// (POST /catalog-items)
CreateCatalogItem(ctx context.Context, request CreateCatalogItemRequestObject) (CreateCatalogItemResponseObject, error)
// Delete a catalog item
// (DELETE /catalog-items/{catalogItemId})
DeleteCatalogItem(ctx context.Context, request DeleteCatalogItemRequestObject) (DeleteCatalogItemResponseObject, error)
// Get a catalog item
// (GET /catalog-items/{catalogItemId})
GetCatalogItem(ctx context.Context, request GetCatalogItemRequestObject) (GetCatalogItemResponseObject, error)
// Update a catalog item
// (PATCH /catalog-items/{catalogItemId})
UpdateCatalogItem(ctx context.Context, request UpdateCatalogItemRequestObject) (UpdateCatalogItemResponseObject, error)
// Health check
// (GET /health)
GetHealth(ctx context.Context, request GetHealthRequestObject) (GetHealthResponseObject, error)
// List service types
// (GET /service-types)
ListServiceTypes(ctx context.Context, request ListServiceTypesRequestObject) (ListServiceTypesResponseObject, error)
// Create a service type
// (POST /service-types)
CreateServiceType(ctx context.Context, request CreateServiceTypeRequestObject) (CreateServiceTypeResponseObject, error)
// Get a service type
// (GET /service-types/{serviceTypeId})
GetServiceType(ctx context.Context, request GetServiceTypeRequestObject) (GetServiceTypeResponseObject, error)
}
StrictServerInterface represents all server handlers.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnauthorizedJSONResponse ¶
type UnauthorizedJSONResponse Error
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) CreateCatalogItem ¶
func (_ Unimplemented) CreateCatalogItem(w http.ResponseWriter, r *http.Request, params CreateCatalogItemParams)
Create a catalog item (POST /catalog-items)
func (Unimplemented) CreateCatalogItemInstance ¶
func (_ Unimplemented) CreateCatalogItemInstance(w http.ResponseWriter, r *http.Request, params CreateCatalogItemInstanceParams)
Create a catalog item instance (POST /catalog-item-instances)
func (Unimplemented) CreateServiceType ¶
func (_ Unimplemented) CreateServiceType(w http.ResponseWriter, r *http.Request, params CreateServiceTypeParams)
Create a service type (POST /service-types)
func (Unimplemented) DeleteCatalogItem ¶
func (_ Unimplemented) DeleteCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
Delete a catalog item (DELETE /catalog-items/{catalogItemId})
func (Unimplemented) DeleteCatalogItemInstance ¶
func (_ Unimplemented) DeleteCatalogItemInstance(w http.ResponseWriter, r *http.Request, catalogItemInstanceId CatalogItemInstanceIdPath)
Delete a catalog item instance (DELETE /catalog-item-instances/{catalogItemInstanceId})
func (Unimplemented) GetCatalogItem ¶
func (_ Unimplemented) GetCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
Get a catalog item (GET /catalog-items/{catalogItemId})
func (Unimplemented) GetCatalogItemInstance ¶
func (_ Unimplemented) GetCatalogItemInstance(w http.ResponseWriter, r *http.Request, catalogItemInstanceId CatalogItemInstanceIdPath)
Get a catalog item instance (GET /catalog-item-instances/{catalogItemInstanceId})
func (Unimplemented) GetHealth ¶
func (_ Unimplemented) GetHealth(w http.ResponseWriter, r *http.Request)
Health check (GET /health)
func (Unimplemented) GetServiceType ¶
func (_ Unimplemented) GetServiceType(w http.ResponseWriter, r *http.Request, serviceTypeId ServiceTypeIdPath)
Get a service type (GET /service-types/{serviceTypeId})
func (Unimplemented) ListCatalogItemInstances ¶
func (_ Unimplemented) ListCatalogItemInstances(w http.ResponseWriter, r *http.Request, params ListCatalogItemInstancesParams)
List catalog item instances (GET /catalog-item-instances)
func (Unimplemented) ListCatalogItems ¶
func (_ Unimplemented) ListCatalogItems(w http.ResponseWriter, r *http.Request, params ListCatalogItemsParams)
List catalog items (GET /catalog-items)
func (Unimplemented) ListServiceTypes ¶
func (_ Unimplemented) ListServiceTypes(w http.ResponseWriter, r *http.Request, params ListServiceTypesParams)
List service types (GET /service-types)
func (Unimplemented) UpdateCatalogItem ¶
func (_ Unimplemented) UpdateCatalogItem(w http.ResponseWriter, r *http.Request, catalogItemId CatalogItemIdPath)
Update a catalog item (PATCH /catalog-items/{catalogItemId})
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateCatalogItem200JSONResponse ¶
type UpdateCatalogItem200JSONResponse CatalogItem
func (UpdateCatalogItem200JSONResponse) VisitUpdateCatalogItemResponse ¶
func (response UpdateCatalogItem200JSONResponse) VisitUpdateCatalogItemResponse(w http.ResponseWriter) error
type UpdateCatalogItem400JSONResponse ¶
type UpdateCatalogItem400JSONResponse Error
func (UpdateCatalogItem400JSONResponse) VisitUpdateCatalogItemResponse ¶
func (response UpdateCatalogItem400JSONResponse) VisitUpdateCatalogItemResponse(w http.ResponseWriter) error
type UpdateCatalogItem401JSONResponse ¶
func (UpdateCatalogItem401JSONResponse) VisitUpdateCatalogItemResponse ¶
func (response UpdateCatalogItem401JSONResponse) VisitUpdateCatalogItemResponse(w http.ResponseWriter) error
type UpdateCatalogItem403JSONResponse ¶
type UpdateCatalogItem403JSONResponse struct{ ForbiddenJSONResponse }
func (UpdateCatalogItem403JSONResponse) VisitUpdateCatalogItemResponse ¶
func (response UpdateCatalogItem403JSONResponse) VisitUpdateCatalogItemResponse(w http.ResponseWriter) error
type UpdateCatalogItem404JSONResponse ¶
type UpdateCatalogItem404JSONResponse struct{ NotFoundJSONResponse }
func (UpdateCatalogItem404JSONResponse) VisitUpdateCatalogItemResponse ¶
func (response UpdateCatalogItem404JSONResponse) VisitUpdateCatalogItemResponse(w http.ResponseWriter) error
type UpdateCatalogItem500JSONResponse ¶
type UpdateCatalogItem500JSONResponse struct {
InternalServerErrorJSONResponse
}
func (UpdateCatalogItem500JSONResponse) VisitUpdateCatalogItemResponse ¶
func (response UpdateCatalogItem500JSONResponse) VisitUpdateCatalogItemResponse(w http.ResponseWriter) error
type UpdateCatalogItemRequestObject ¶
type UpdateCatalogItemRequestObject struct {
CatalogItemId CatalogItemIdPath `json:"catalogItemId"`
Body *UpdateCatalogItemApplicationMergePatchPlusJSONRequestBody
}
type UpdateCatalogItemResponseObject ¶
type UpdateCatalogItemResponseObject interface {
VisitUpdateCatalogItemResponse(w http.ResponseWriter) error
}