Documentation
¶
Index ¶
- Constants
- func AsMetadata(metadata api.Metadata) models.Metadata
- func FromPlanAddon(a planaddon.PlanAddon) (api.PlanAddon, error)
- type CreatePlanAddonHandler
- type CreatePlanAddonRequest
- type CreatePlanAddonResponse
- type DeletePlanAddonHandler
- type DeletePlanAddonParams
- type DeletePlanAddonRequest
- type DeletePlanAddonResponse
- type GetPlanAddonHandler
- type GetPlanAddonParams
- type GetPlanAddonRequest
- type GetPlanAddonResponse
- type Handler
- type ListPlanAddonsHandler
- type ListPlanAddonsParams
- type ListPlanAddonsRequest
- type ListPlanAddonsResponse
- type PlanAddonHandler
- type UpdatePlanAddonHandler
- type UpdatePlanAddonParams
- type UpdatePlanAddonRequest
- type UpdatePlanAddonResponse
Constants ¶
View Source
const ( DefaultPageSize = 100 DefaultPageNumber = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreatePlanAddonHandler ¶
type CreatePlanAddonHandler httptransport.HandlerWithArgs[CreatePlanAddonRequest, CreatePlanAddonResponse, string]
type CreatePlanAddonRequest ¶
type CreatePlanAddonRequest = planaddon.CreatePlanAddonInput
func AsCreatePlanAddonRequest ¶
func AsCreatePlanAddonRequest(a api.PlanAddonCreate, namespace string, planID string) (CreatePlanAddonRequest, error)
type CreatePlanAddonResponse ¶
type DeletePlanAddonHandler ¶
type DeletePlanAddonHandler httptransport.HandlerWithArgs[DeletePlanAddonRequest, DeletePlanAddonResponse, DeletePlanAddonParams]
type DeletePlanAddonParams ¶
type DeletePlanAddonRequest ¶
type DeletePlanAddonRequest = planaddon.DeletePlanAddonInput
type DeletePlanAddonResponse ¶
type DeletePlanAddonResponse = interface{}
type GetPlanAddonHandler ¶
type GetPlanAddonHandler httptransport.HandlerWithArgs[GetPlanAddonRequest, GetPlanAddonResponse, GetPlanAddonParams]
type GetPlanAddonParams ¶
type GetPlanAddonRequest ¶
type GetPlanAddonRequest = planaddon.GetPlanAddonInput
type GetPlanAddonResponse ¶
type Handler ¶
type Handler interface {
PlanAddonHandler
}
func New ¶
func New( namespaceDecoder namespacedriver.NamespaceDecoder, service planaddon.Service, options ...httptransport.HandlerOption, ) Handler
type ListPlanAddonsHandler ¶
type ListPlanAddonsHandler httptransport.HandlerWithArgs[ListPlanAddonsRequest, ListPlanAddonsResponse, ListPlanAddonsParams]
type ListPlanAddonsParams ¶
type ListPlanAddonsParams struct {
api.ListPlanAddonsParams
// AddonID or Key.
PlanIDOrKey string
}
type ListPlanAddonsRequest ¶
type ListPlanAddonsRequest = planaddon.ListPlanAddonsInput
type ListPlanAddonsResponse ¶
type ListPlanAddonsResponse = api.PlanAddonPaginatedResponse
type PlanAddonHandler ¶
type PlanAddonHandler interface {
ListPlanAddons() ListPlanAddonsHandler
CreatePlanAddon() CreatePlanAddonHandler
DeletePlanAddon() DeletePlanAddonHandler
GetPlanAddon() GetPlanAddonHandler
UpdatePlanAddon() UpdatePlanAddonHandler
}
type UpdatePlanAddonHandler ¶
type UpdatePlanAddonHandler httptransport.HandlerWithArgs[UpdatePlanAddonRequest, UpdatePlanAddonResponse, UpdatePlanAddonParams]
type UpdatePlanAddonParams ¶
type UpdatePlanAddonRequest ¶
type UpdatePlanAddonRequest = planaddon.UpdatePlanAddonInput
func AsUpdatePlanAddonRequest ¶
func AsUpdatePlanAddonRequest(a api.PlanAddonReplaceUpdate, namespace string, planID string, addonID string) (UpdatePlanAddonRequest, error)
type UpdatePlanAddonResponse ¶
Click to show internal directories.
Click to hide internal directories.