Documentation ¶
Index ¶
- func HandleCreateError(resourceType string, err error) *errors.ServiceError
- func HandleDeleteError(resourceType string, field string, value interface{}, err error) *errors.ServiceError
- func HandleGetError(resourceType, field string, value interface{}, err error) *errors.ServiceError
- func HandleGoneError(resourceType, field string, value interface{}) *errors.ServiceError
- func HandleUpdateError(resourceType string, err error) *errors.ServiceError
- func IsRecordNotFoundError(err error) bool
- type ListArguments
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCreateError ¶
func HandleCreateError(resourceType string, err error) *errors.ServiceError
func HandleDeleteError ¶
func HandleDeleteError(resourceType string, field string, value interface{}, err error) *errors.ServiceError
func HandleGetError ¶
func HandleGetError(resourceType, field string, value interface{}, err error) *errors.ServiceError
func HandleGoneError ¶
func HandleGoneError(resourceType, field string, value interface{}) *errors.ServiceError
func HandleUpdateError ¶
func HandleUpdateError(resourceType string, err error) *errors.ServiceError
func IsRecordNotFoundError ¶
Types ¶
type ListArguments ¶
ListArguments are arguments relevant for listing objects. This struct is common to all service List funcs in this package
func NewListArguments ¶
func NewListArguments(params url.Values) *ListArguments
NewListArguments - Create ListArguments from url query parameters with sane defaults
func (*ListArguments) Validate ¶
func (la *ListArguments) Validate(acceptedOrderByParams []string) error
Directories ¶
Path | Synopsis |
---|---|
The signalbus package provides a simple way to issue notifications that named events have occurred.
|
The signalbus package provides a simple way to issue notifications that named events have occurred. |
Click to show internal directories.
Click to hide internal directories.