Documentation ¶
Index ¶
- func DecodeDeleteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeProcessIngestionRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeProcessPendingRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeProcessStationIngestionsRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeProcessStationRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeRefreshViewsRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeWalkEverythingRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DeleteIngestionPath(ingestionID int64) string
- func EncodeDeleteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeDeleteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeProcessIngestionError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeProcessIngestionResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeProcessPendingError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeProcessPendingResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeProcessStationError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeProcessStationIngestionsError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeProcessStationIngestionsResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeProcessStationResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeRefreshViewsError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeRefreshViewsResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeWalkEverythingError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeWalkEverythingResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func Mount(mux goahttp.Muxer, h *Server)
- func MountCORSHandler(mux goahttp.Muxer, h http.Handler)
- func MountDeleteHandler(mux goahttp.Muxer, h http.Handler)
- func MountProcessIngestionHandler(mux goahttp.Muxer, h http.Handler)
- func MountProcessPendingHandler(mux goahttp.Muxer, h http.Handler)
- func MountProcessStationHandler(mux goahttp.Muxer, h http.Handler)
- func MountProcessStationIngestionsHandler(mux goahttp.Muxer, h http.Handler)
- func MountRefreshViewsHandler(mux goahttp.Muxer, h http.Handler)
- func MountWalkEverythingHandler(mux goahttp.Muxer, h http.Handler)
- func NewCORSHandler() http.Handler
- func NewDeleteHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewDeletePayload(ingestionID int64, auth string) *ingestion.DeletePayload
- func NewProcessIngestionHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewProcessIngestionPayload(ingestionID int64, auth string) *ingestion.ProcessIngestionPayload
- func NewProcessPendingHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewProcessPendingPayload(auth string) *ingestion.ProcessPendingPayload
- func NewProcessStationHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewProcessStationIngestionsHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewProcessStationIngestionsPayload(stationID int64, auth string) *ingestion.ProcessStationIngestionsPayload
- func NewProcessStationPayload(stationID int32, completely *bool, skipManual *bool, auth string) *ingestion.ProcessStationPayload
- func NewRefreshViewsHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewRefreshViewsPayload(auth string) *ingestion.RefreshViewsPayload
- func NewWalkEverythingHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewWalkEverythingPayload(auth string) *ingestion.WalkEverythingPayload
- func ProcessIngestionIngestionPath(ingestionID int64) string
- func ProcessPendingIngestionPath() string
- func ProcessStationIngestionPath(stationID int32) string
- func ProcessStationIngestionsIngestionPath(stationID int64) string
- func RefreshViewsIngestionPath() string
- func WalkEverythingIngestionPath() string
- type DeleteBadRequestResponseBody
- type DeleteForbiddenResponseBody
- type DeleteNotFoundResponseBody
- type DeleteUnauthorizedResponseBody
- type ErrorNamer
- type MountPoint
- type ProcessIngestionBadRequestResponseBody
- type ProcessIngestionForbiddenResponseBody
- type ProcessIngestionNotFoundResponseBody
- type ProcessIngestionUnauthorizedResponseBody
- type ProcessPendingBadRequestResponseBody
- type ProcessPendingForbiddenResponseBody
- type ProcessPendingNotFoundResponseBody
- type ProcessPendingUnauthorizedResponseBody
- type ProcessStationBadRequestResponseBody
- type ProcessStationForbiddenResponseBody
- type ProcessStationIngestionsBadRequestResponseBody
- type ProcessStationIngestionsForbiddenResponseBody
- type ProcessStationIngestionsNotFoundResponseBody
- type ProcessStationIngestionsUnauthorizedResponseBody
- type ProcessStationNotFoundResponseBody
- type ProcessStationUnauthorizedResponseBody
- type RefreshViewsBadRequestResponseBody
- type RefreshViewsForbiddenResponseBody
- type RefreshViewsNotFoundResponseBody
- type RefreshViewsUnauthorizedResponseBody
- type Server
- type WalkEverythingBadRequestResponseBody
- type WalkEverythingForbiddenResponseBody
- type WalkEverythingNotFoundResponseBody
- type WalkEverythingUnauthorizedResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeDeleteRequest ¶
func DecodeDeleteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeDeleteRequest returns a decoder for requests sent to the ingestion delete endpoint.
func DecodeProcessIngestionRequest ¶
func DecodeProcessIngestionRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeProcessIngestionRequest returns a decoder for requests sent to the ingestion process ingestion endpoint.
func DecodeProcessPendingRequest ¶
func DecodeProcessPendingRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeProcessPendingRequest returns a decoder for requests sent to the ingestion process pending endpoint.
func DecodeProcessStationIngestionsRequest ¶
func DecodeProcessStationIngestionsRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeProcessStationIngestionsRequest returns a decoder for requests sent to the ingestion process station ingestions endpoint.
func DecodeProcessStationRequest ¶
func DecodeProcessStationRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeProcessStationRequest returns a decoder for requests sent to the ingestion process station endpoint.
func DecodeRefreshViewsRequest ¶
func DecodeRefreshViewsRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeRefreshViewsRequest returns a decoder for requests sent to the ingestion refresh views endpoint.
func DecodeWalkEverythingRequest ¶
func DecodeWalkEverythingRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeWalkEverythingRequest returns a decoder for requests sent to the ingestion walk everything endpoint.
func DeleteIngestionPath ¶
DeleteIngestionPath returns the URL path to the ingestion service delete HTTP endpoint.
func EncodeDeleteError ¶
func EncodeDeleteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeDeleteError returns an encoder for errors returned by the delete ingestion endpoint.
func EncodeDeleteResponse ¶
func EncodeDeleteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeDeleteResponse returns an encoder for responses returned by the ingestion delete endpoint.
func EncodeProcessIngestionError ¶
func EncodeProcessIngestionError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeProcessIngestionError returns an encoder for errors returned by the process ingestion ingestion endpoint.
func EncodeProcessIngestionResponse ¶
func EncodeProcessIngestionResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeProcessIngestionResponse returns an encoder for responses returned by the ingestion process ingestion endpoint.
func EncodeProcessPendingError ¶
func EncodeProcessPendingError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeProcessPendingError returns an encoder for errors returned by the process pending ingestion endpoint.
func EncodeProcessPendingResponse ¶
func EncodeProcessPendingResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeProcessPendingResponse returns an encoder for responses returned by the ingestion process pending endpoint.
func EncodeProcessStationError ¶
func EncodeProcessStationError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeProcessStationError returns an encoder for errors returned by the process station ingestion endpoint.
func EncodeProcessStationIngestionsError ¶
func EncodeProcessStationIngestionsError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeProcessStationIngestionsError returns an encoder for errors returned by the process station ingestions ingestion endpoint.
func EncodeProcessStationIngestionsResponse ¶
func EncodeProcessStationIngestionsResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeProcessStationIngestionsResponse returns an encoder for responses returned by the ingestion process station ingestions endpoint.
func EncodeProcessStationResponse ¶
func EncodeProcessStationResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeProcessStationResponse returns an encoder for responses returned by the ingestion process station endpoint.
func EncodeRefreshViewsError ¶
func EncodeRefreshViewsError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeRefreshViewsError returns an encoder for errors returned by the refresh views ingestion endpoint.
func EncodeRefreshViewsResponse ¶
func EncodeRefreshViewsResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeRefreshViewsResponse returns an encoder for responses returned by the ingestion refresh views endpoint.
func EncodeWalkEverythingError ¶
func EncodeWalkEverythingError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeWalkEverythingError returns an encoder for errors returned by the walk everything ingestion endpoint.
func EncodeWalkEverythingResponse ¶
func EncodeWalkEverythingResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeWalkEverythingResponse returns an encoder for responses returned by the ingestion walk everything endpoint.
func MountCORSHandler ¶
MountCORSHandler configures the mux to serve the CORS endpoints for the service ingestion.
func MountDeleteHandler ¶
MountDeleteHandler configures the mux to serve the "ingestion" service "delete" endpoint.
func MountProcessIngestionHandler ¶
MountProcessIngestionHandler configures the mux to serve the "ingestion" service "process ingestion" endpoint.
func MountProcessPendingHandler ¶
MountProcessPendingHandler configures the mux to serve the "ingestion" service "process pending" endpoint.
func MountProcessStationHandler ¶
MountProcessStationHandler configures the mux to serve the "ingestion" service "process station" endpoint.
func MountProcessStationIngestionsHandler ¶
MountProcessStationIngestionsHandler configures the mux to serve the "ingestion" service "process station ingestions" endpoint.
func MountRefreshViewsHandler ¶
MountRefreshViewsHandler configures the mux to serve the "ingestion" service "refresh views" endpoint.
func MountWalkEverythingHandler ¶
MountWalkEverythingHandler configures the mux to serve the "ingestion" service "walk everything" endpoint.
func NewCORSHandler ¶
NewCORSHandler creates a HTTP handler which returns a simple 200 response.
func NewDeleteHandler ¶
func NewDeleteHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewDeleteHandler creates a HTTP handler which loads the HTTP request and calls the "ingestion" service "delete" endpoint.
func NewDeletePayload ¶
func NewDeletePayload(ingestionID int64, auth string) *ingestion.DeletePayload
NewDeletePayload builds a ingestion service delete endpoint payload.
func NewProcessIngestionHandler ¶
func NewProcessIngestionHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewProcessIngestionHandler creates a HTTP handler which loads the HTTP request and calls the "ingestion" service "process ingestion" endpoint.
func NewProcessIngestionPayload ¶
func NewProcessIngestionPayload(ingestionID int64, auth string) *ingestion.ProcessIngestionPayload
NewProcessIngestionPayload builds a ingestion service process ingestion endpoint payload.
func NewProcessPendingHandler ¶
func NewProcessPendingHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewProcessPendingHandler creates a HTTP handler which loads the HTTP request and calls the "ingestion" service "process pending" endpoint.
func NewProcessPendingPayload ¶
func NewProcessPendingPayload(auth string) *ingestion.ProcessPendingPayload
NewProcessPendingPayload builds a ingestion service process pending endpoint payload.
func NewProcessStationHandler ¶
func NewProcessStationHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewProcessStationHandler creates a HTTP handler which loads the HTTP request and calls the "ingestion" service "process station" endpoint.
func NewProcessStationIngestionsHandler ¶
func NewProcessStationIngestionsHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewProcessStationIngestionsHandler creates a HTTP handler which loads the HTTP request and calls the "ingestion" service "process station ingestions" endpoint.
func NewProcessStationIngestionsPayload ¶
func NewProcessStationIngestionsPayload(stationID int64, auth string) *ingestion.ProcessStationIngestionsPayload
NewProcessStationIngestionsPayload builds a ingestion service process station ingestions endpoint payload.
func NewProcessStationPayload ¶
func NewProcessStationPayload(stationID int32, completely *bool, skipManual *bool, auth string) *ingestion.ProcessStationPayload
NewProcessStationPayload builds a ingestion service process station endpoint payload.
func NewRefreshViewsHandler ¶
func NewRefreshViewsHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewRefreshViewsHandler creates a HTTP handler which loads the HTTP request and calls the "ingestion" service "refresh views" endpoint.
func NewRefreshViewsPayload ¶
func NewRefreshViewsPayload(auth string) *ingestion.RefreshViewsPayload
NewRefreshViewsPayload builds a ingestion service refresh views endpoint payload.
func NewWalkEverythingHandler ¶
func NewWalkEverythingHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewWalkEverythingHandler creates a HTTP handler which loads the HTTP request and calls the "ingestion" service "walk everything" endpoint.
func NewWalkEverythingPayload ¶
func NewWalkEverythingPayload(auth string) *ingestion.WalkEverythingPayload
NewWalkEverythingPayload builds a ingestion service walk everything endpoint payload.
func ProcessIngestionIngestionPath ¶
ProcessIngestionIngestionPath returns the URL path to the ingestion service process ingestion HTTP endpoint.
func ProcessPendingIngestionPath ¶
func ProcessPendingIngestionPath() string
ProcessPendingIngestionPath returns the URL path to the ingestion service process pending HTTP endpoint.
func ProcessStationIngestionPath ¶
ProcessStationIngestionPath returns the URL path to the ingestion service process station HTTP endpoint.
func ProcessStationIngestionsIngestionPath ¶
ProcessStationIngestionsIngestionPath returns the URL path to the ingestion service process station ingestions HTTP endpoint.
func RefreshViewsIngestionPath ¶
func RefreshViewsIngestionPath() string
RefreshViewsIngestionPath returns the URL path to the ingestion service refresh views HTTP endpoint.
func WalkEverythingIngestionPath ¶
func WalkEverythingIngestionPath() string
WalkEverythingIngestionPath returns the URL path to the ingestion service walk everything HTTP endpoint.
Types ¶
type DeleteBadRequestResponseBody ¶
type DeleteBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteBadRequestResponseBody is the type of the "ingestion" service "delete" endpoint HTTP response body for the "bad-request" error.
func NewDeleteBadRequestResponseBody ¶
func NewDeleteBadRequestResponseBody(res *goa.ServiceError) *DeleteBadRequestResponseBody
NewDeleteBadRequestResponseBody builds the HTTP response body from the result of the "delete" endpoint of the "ingestion" service.
type DeleteForbiddenResponseBody ¶
type DeleteForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteForbiddenResponseBody is the type of the "ingestion" service "delete" endpoint HTTP response body for the "forbidden" error.
func NewDeleteForbiddenResponseBody ¶
func NewDeleteForbiddenResponseBody(res *goa.ServiceError) *DeleteForbiddenResponseBody
NewDeleteForbiddenResponseBody builds the HTTP response body from the result of the "delete" endpoint of the "ingestion" service.
type DeleteNotFoundResponseBody ¶
type DeleteNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DeleteNotFoundResponseBody is the type of the "ingestion" service "delete" endpoint HTTP response body for the "not-found" error.
func NewDeleteNotFoundResponseBody ¶
func NewDeleteNotFoundResponseBody(res *goa.ServiceError) *DeleteNotFoundResponseBody
NewDeleteNotFoundResponseBody builds the HTTP response body from the result of the "delete" endpoint of the "ingestion" service.
type DeleteUnauthorizedResponseBody ¶
type DeleteUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
DeleteUnauthorizedResponseBody is the type of the "ingestion" service "delete" endpoint HTTP response body for the "unauthorized" error.
func NewDeleteUnauthorizedResponseBody ¶
func NewDeleteUnauthorizedResponseBody(res *goa.ServiceError) *DeleteUnauthorizedResponseBody
NewDeleteUnauthorizedResponseBody builds the HTTP response body from the result of the "delete" endpoint of the "ingestion" service.
type ErrorNamer ¶
type ErrorNamer interface {
ErrorName() string
}
ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the design.
type MountPoint ¶
type MountPoint struct { // Method is the name of the service method served by the mounted HTTP handler. Method string // Verb is the HTTP method used to match requests to the mounted handler. Verb string // Pattern is the HTTP request path pattern used to match requests to the // mounted handler. Pattern string }
MountPoint holds information about the mounted endpoints.
type ProcessIngestionBadRequestResponseBody ¶
type ProcessIngestionBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessIngestionBadRequestResponseBody is the type of the "ingestion" service "process ingestion" endpoint HTTP response body for the "bad-request" error.
func NewProcessIngestionBadRequestResponseBody ¶
func NewProcessIngestionBadRequestResponseBody(res *goa.ServiceError) *ProcessIngestionBadRequestResponseBody
NewProcessIngestionBadRequestResponseBody builds the HTTP response body from the result of the "process ingestion" endpoint of the "ingestion" service.
type ProcessIngestionForbiddenResponseBody ¶
type ProcessIngestionForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessIngestionForbiddenResponseBody is the type of the "ingestion" service "process ingestion" endpoint HTTP response body for the "forbidden" error.
func NewProcessIngestionForbiddenResponseBody ¶
func NewProcessIngestionForbiddenResponseBody(res *goa.ServiceError) *ProcessIngestionForbiddenResponseBody
NewProcessIngestionForbiddenResponseBody builds the HTTP response body from the result of the "process ingestion" endpoint of the "ingestion" service.
type ProcessIngestionNotFoundResponseBody ¶
type ProcessIngestionNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessIngestionNotFoundResponseBody is the type of the "ingestion" service "process ingestion" endpoint HTTP response body for the "not-found" error.
func NewProcessIngestionNotFoundResponseBody ¶
func NewProcessIngestionNotFoundResponseBody(res *goa.ServiceError) *ProcessIngestionNotFoundResponseBody
NewProcessIngestionNotFoundResponseBody builds the HTTP response body from the result of the "process ingestion" endpoint of the "ingestion" service.
type ProcessIngestionUnauthorizedResponseBody ¶
type ProcessIngestionUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ProcessIngestionUnauthorizedResponseBody is the type of the "ingestion" service "process ingestion" endpoint HTTP response body for the "unauthorized" error.
func NewProcessIngestionUnauthorizedResponseBody ¶
func NewProcessIngestionUnauthorizedResponseBody(res *goa.ServiceError) *ProcessIngestionUnauthorizedResponseBody
NewProcessIngestionUnauthorizedResponseBody builds the HTTP response body from the result of the "process ingestion" endpoint of the "ingestion" service.
type ProcessPendingBadRequestResponseBody ¶
type ProcessPendingBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessPendingBadRequestResponseBody is the type of the "ingestion" service "process pending" endpoint HTTP response body for the "bad-request" error.
func NewProcessPendingBadRequestResponseBody ¶
func NewProcessPendingBadRequestResponseBody(res *goa.ServiceError) *ProcessPendingBadRequestResponseBody
NewProcessPendingBadRequestResponseBody builds the HTTP response body from the result of the "process pending" endpoint of the "ingestion" service.
type ProcessPendingForbiddenResponseBody ¶
type ProcessPendingForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessPendingForbiddenResponseBody is the type of the "ingestion" service "process pending" endpoint HTTP response body for the "forbidden" error.
func NewProcessPendingForbiddenResponseBody ¶
func NewProcessPendingForbiddenResponseBody(res *goa.ServiceError) *ProcessPendingForbiddenResponseBody
NewProcessPendingForbiddenResponseBody builds the HTTP response body from the result of the "process pending" endpoint of the "ingestion" service.
type ProcessPendingNotFoundResponseBody ¶
type ProcessPendingNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessPendingNotFoundResponseBody is the type of the "ingestion" service "process pending" endpoint HTTP response body for the "not-found" error.
func NewProcessPendingNotFoundResponseBody ¶
func NewProcessPendingNotFoundResponseBody(res *goa.ServiceError) *ProcessPendingNotFoundResponseBody
NewProcessPendingNotFoundResponseBody builds the HTTP response body from the result of the "process pending" endpoint of the "ingestion" service.
type ProcessPendingUnauthorizedResponseBody ¶
type ProcessPendingUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ProcessPendingUnauthorizedResponseBody is the type of the "ingestion" service "process pending" endpoint HTTP response body for the "unauthorized" error.
func NewProcessPendingUnauthorizedResponseBody ¶
func NewProcessPendingUnauthorizedResponseBody(res *goa.ServiceError) *ProcessPendingUnauthorizedResponseBody
NewProcessPendingUnauthorizedResponseBody builds the HTTP response body from the result of the "process pending" endpoint of the "ingestion" service.
type ProcessStationBadRequestResponseBody ¶
type ProcessStationBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessStationBadRequestResponseBody is the type of the "ingestion" service "process station" endpoint HTTP response body for the "bad-request" error.
func NewProcessStationBadRequestResponseBody ¶
func NewProcessStationBadRequestResponseBody(res *goa.ServiceError) *ProcessStationBadRequestResponseBody
NewProcessStationBadRequestResponseBody builds the HTTP response body from the result of the "process station" endpoint of the "ingestion" service.
type ProcessStationForbiddenResponseBody ¶
type ProcessStationForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessStationForbiddenResponseBody is the type of the "ingestion" service "process station" endpoint HTTP response body for the "forbidden" error.
func NewProcessStationForbiddenResponseBody ¶
func NewProcessStationForbiddenResponseBody(res *goa.ServiceError) *ProcessStationForbiddenResponseBody
NewProcessStationForbiddenResponseBody builds the HTTP response body from the result of the "process station" endpoint of the "ingestion" service.
type ProcessStationIngestionsBadRequestResponseBody ¶
type ProcessStationIngestionsBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessStationIngestionsBadRequestResponseBody is the type of the "ingestion" service "process station ingestions" endpoint HTTP response body for the "bad-request" error.
func NewProcessStationIngestionsBadRequestResponseBody ¶
func NewProcessStationIngestionsBadRequestResponseBody(res *goa.ServiceError) *ProcessStationIngestionsBadRequestResponseBody
NewProcessStationIngestionsBadRequestResponseBody builds the HTTP response body from the result of the "process station ingestions" endpoint of the "ingestion" service.
type ProcessStationIngestionsForbiddenResponseBody ¶
type ProcessStationIngestionsForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessStationIngestionsForbiddenResponseBody is the type of the "ingestion" service "process station ingestions" endpoint HTTP response body for the "forbidden" error.
func NewProcessStationIngestionsForbiddenResponseBody ¶
func NewProcessStationIngestionsForbiddenResponseBody(res *goa.ServiceError) *ProcessStationIngestionsForbiddenResponseBody
NewProcessStationIngestionsForbiddenResponseBody builds the HTTP response body from the result of the "process station ingestions" endpoint of the "ingestion" service.
type ProcessStationIngestionsNotFoundResponseBody ¶
type ProcessStationIngestionsNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessStationIngestionsNotFoundResponseBody is the type of the "ingestion" service "process station ingestions" endpoint HTTP response body for the "not-found" error.
func NewProcessStationIngestionsNotFoundResponseBody ¶
func NewProcessStationIngestionsNotFoundResponseBody(res *goa.ServiceError) *ProcessStationIngestionsNotFoundResponseBody
NewProcessStationIngestionsNotFoundResponseBody builds the HTTP response body from the result of the "process station ingestions" endpoint of the "ingestion" service.
type ProcessStationIngestionsUnauthorizedResponseBody ¶
type ProcessStationIngestionsUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ProcessStationIngestionsUnauthorizedResponseBody is the type of the "ingestion" service "process station ingestions" endpoint HTTP response body for the "unauthorized" error.
func NewProcessStationIngestionsUnauthorizedResponseBody ¶
func NewProcessStationIngestionsUnauthorizedResponseBody(res *goa.ServiceError) *ProcessStationIngestionsUnauthorizedResponseBody
NewProcessStationIngestionsUnauthorizedResponseBody builds the HTTP response body from the result of the "process station ingestions" endpoint of the "ingestion" service.
type ProcessStationNotFoundResponseBody ¶
type ProcessStationNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProcessStationNotFoundResponseBody is the type of the "ingestion" service "process station" endpoint HTTP response body for the "not-found" error.
func NewProcessStationNotFoundResponseBody ¶
func NewProcessStationNotFoundResponseBody(res *goa.ServiceError) *ProcessStationNotFoundResponseBody
NewProcessStationNotFoundResponseBody builds the HTTP response body from the result of the "process station" endpoint of the "ingestion" service.
type ProcessStationUnauthorizedResponseBody ¶
type ProcessStationUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ProcessStationUnauthorizedResponseBody is the type of the "ingestion" service "process station" endpoint HTTP response body for the "unauthorized" error.
func NewProcessStationUnauthorizedResponseBody ¶
func NewProcessStationUnauthorizedResponseBody(res *goa.ServiceError) *ProcessStationUnauthorizedResponseBody
NewProcessStationUnauthorizedResponseBody builds the HTTP response body from the result of the "process station" endpoint of the "ingestion" service.
type RefreshViewsBadRequestResponseBody ¶
type RefreshViewsBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RefreshViewsBadRequestResponseBody is the type of the "ingestion" service "refresh views" endpoint HTTP response body for the "bad-request" error.
func NewRefreshViewsBadRequestResponseBody ¶
func NewRefreshViewsBadRequestResponseBody(res *goa.ServiceError) *RefreshViewsBadRequestResponseBody
NewRefreshViewsBadRequestResponseBody builds the HTTP response body from the result of the "refresh views" endpoint of the "ingestion" service.
type RefreshViewsForbiddenResponseBody ¶
type RefreshViewsForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RefreshViewsForbiddenResponseBody is the type of the "ingestion" service "refresh views" endpoint HTTP response body for the "forbidden" error.
func NewRefreshViewsForbiddenResponseBody ¶
func NewRefreshViewsForbiddenResponseBody(res *goa.ServiceError) *RefreshViewsForbiddenResponseBody
NewRefreshViewsForbiddenResponseBody builds the HTTP response body from the result of the "refresh views" endpoint of the "ingestion" service.
type RefreshViewsNotFoundResponseBody ¶
type RefreshViewsNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RefreshViewsNotFoundResponseBody is the type of the "ingestion" service "refresh views" endpoint HTTP response body for the "not-found" error.
func NewRefreshViewsNotFoundResponseBody ¶
func NewRefreshViewsNotFoundResponseBody(res *goa.ServiceError) *RefreshViewsNotFoundResponseBody
NewRefreshViewsNotFoundResponseBody builds the HTTP response body from the result of the "refresh views" endpoint of the "ingestion" service.
type RefreshViewsUnauthorizedResponseBody ¶
type RefreshViewsUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
RefreshViewsUnauthorizedResponseBody is the type of the "ingestion" service "refresh views" endpoint HTTP response body for the "unauthorized" error.
func NewRefreshViewsUnauthorizedResponseBody ¶
func NewRefreshViewsUnauthorizedResponseBody(res *goa.ServiceError) *RefreshViewsUnauthorizedResponseBody
NewRefreshViewsUnauthorizedResponseBody builds the HTTP response body from the result of the "refresh views" endpoint of the "ingestion" service.
type Server ¶
type Server struct { Mounts []*MountPoint ProcessPending http.Handler WalkEverything http.Handler ProcessStation http.Handler ProcessStationIngestions http.Handler ProcessIngestion http.Handler RefreshViews http.Handler Delete http.Handler CORS http.Handler }
Server lists the ingestion service endpoint HTTP handlers.
func New ¶
func New( e *ingestion.Endpoints, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) *Server
New instantiates HTTP handlers for all the ingestion service endpoints using the provided encoder and decoder. The handlers are mounted on the given mux using the HTTP verb and path defined in the design. errhandler is called whenever a response fails to be encoded. formatter is used to format errors returned by the service methods prior to encoding. Both errhandler and formatter are optional and can be nil.
type WalkEverythingBadRequestResponseBody ¶
type WalkEverythingBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
WalkEverythingBadRequestResponseBody is the type of the "ingestion" service "walk everything" endpoint HTTP response body for the "bad-request" error.
func NewWalkEverythingBadRequestResponseBody ¶
func NewWalkEverythingBadRequestResponseBody(res *goa.ServiceError) *WalkEverythingBadRequestResponseBody
NewWalkEverythingBadRequestResponseBody builds the HTTP response body from the result of the "walk everything" endpoint of the "ingestion" service.
type WalkEverythingForbiddenResponseBody ¶
type WalkEverythingForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
WalkEverythingForbiddenResponseBody is the type of the "ingestion" service "walk everything" endpoint HTTP response body for the "forbidden" error.
func NewWalkEverythingForbiddenResponseBody ¶
func NewWalkEverythingForbiddenResponseBody(res *goa.ServiceError) *WalkEverythingForbiddenResponseBody
NewWalkEverythingForbiddenResponseBody builds the HTTP response body from the result of the "walk everything" endpoint of the "ingestion" service.
type WalkEverythingNotFoundResponseBody ¶
type WalkEverythingNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
WalkEverythingNotFoundResponseBody is the type of the "ingestion" service "walk everything" endpoint HTTP response body for the "not-found" error.
func NewWalkEverythingNotFoundResponseBody ¶
func NewWalkEverythingNotFoundResponseBody(res *goa.ServiceError) *WalkEverythingNotFoundResponseBody
NewWalkEverythingNotFoundResponseBody builds the HTTP response body from the result of the "walk everything" endpoint of the "ingestion" service.
type WalkEverythingUnauthorizedResponseBody ¶
type WalkEverythingUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
WalkEverythingUnauthorizedResponseBody is the type of the "ingestion" service "walk everything" endpoint HTTP response body for the "unauthorized" error.
func NewWalkEverythingUnauthorizedResponseBody ¶
func NewWalkEverythingUnauthorizedResponseBody(res *goa.ServiceError) *WalkEverythingUnauthorizedResponseBody
NewWalkEverythingUnauthorizedResponseBody builds the HTTP response body from the result of the "walk everything" endpoint of the "ingestion" service.