Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrantHandler ¶
type GrantHandler interface { ListGrants() ListGrantsHandler VoidGrant() VoidGrantHandler }
func NewGrantHandler ¶
func NewGrantHandler( namespaceDecoder namespacedriver.NamespaceDecoder, grantConnector credit.GrantConnector, grantRepo grant.Repo, options ...httptransport.HandlerOption, ) GrantHandler
type ListGrantsHandler ¶
type ListGrantsHandler httptransport.HandlerWithArgs[ListGrantsHandlerRequest, ListGrantsHandlerResponse, ListGrantsHandlerParams]
type ListGrantsHandlerParams ¶
type ListGrantsHandlerParams struct {
Params api.ListGrantsParams
}
type ListGrantsHandlerRequest ¶
type ListGrantsHandlerRequest struct {
// contains filtered or unexported fields
}
type ListGrantsHandlerResponse ¶
type ListGrantsHandlerResponse = commonhttp.Union[[]api.EntitlementGrant, pagination.PagedResponse[api.EntitlementGrant]]
type VoidGrantHandler ¶
type VoidGrantHandler httptransport.HandlerWithArgs[VoidGrantHandlerRequest, VoidGrantHandlerResponse, VoidGrantHandlerParams]
type VoidGrantHandlerParams ¶
type VoidGrantHandlerParams struct {
ID string
}
type VoidGrantHandlerRequest ¶
type VoidGrantHandlerRequest struct {
ID models.NamespacedID
}
type VoidGrantHandlerResponse ¶
type VoidGrantHandlerResponse = interface{}
Click to show internal directories.
Click to hide internal directories.