client

package
v0.0.0-...-b9360c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BookmarkSensorPath

func BookmarkSensorPath() string

BookmarkSensorPath returns the URL path to the sensor service bookmark HTTP endpoint.

func BuildBookmarkPayload

func BuildBookmarkPayload(sensorBookmarkBookmark string, sensorBookmarkAuth string) (*sensor.BookmarkPayload, error)

BuildBookmarkPayload builds the payload for the sensor bookmark endpoint from CLI flags.

func BuildDataPayload

func BuildDataPayload(sensorDataStart string, sensorDataEnd string, sensorDataStations string, sensorDataSensors string, sensorDataResolution string, sensorDataAggregate string, sensorDataComplete string, sensorDataTail string, sensorDataBackend string, sensorDataAuth string) (*sensor.DataPayload, error)

BuildDataPayload builds the payload for the sensor data endpoint from CLI flags.

func BuildRecentlyPayload

func BuildRecentlyPayload(sensorRecentlyStations string, sensorRecentlyAuth string) (*sensor.RecentlyPayload, error)

BuildRecentlyPayload builds the payload for the sensor recently endpoint from CLI flags.

func BuildResolvePayload

func BuildResolvePayload(sensorResolveV2 string, sensorResolveAuth string) (*sensor.ResolvePayload, error)

BuildResolvePayload builds the payload for the sensor resolve endpoint from CLI flags.

func BuildStationMetaPayload

func BuildStationMetaPayload(sensorStationMetaStations string) (*sensor.StationMetaPayload, error)

BuildStationMetaPayload builds the payload for the sensor station meta endpoint from CLI flags.

func BuildTailPayload

func BuildTailPayload(sensorTailStations string, sensorTailBackend string, sensorTailAuth string) (*sensor.TailPayload, error)

BuildTailPayload builds the payload for the sensor tail endpoint from CLI flags.

func DataSensorPath

func DataSensorPath() string

DataSensorPath returns the URL path to the sensor service data HTTP endpoint.

func DecodeBookmarkResponse

func DecodeBookmarkResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeBookmarkResponse returns a decoder for responses returned by the sensor bookmark endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeBookmarkResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeDataResponse

func DecodeDataResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeDataResponse returns a decoder for responses returned by the sensor data endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDataResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeMetaResponse

func DecodeMetaResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeMetaResponse returns a decoder for responses returned by the sensor meta endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeMetaResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeRecentlyResponse

func DecodeRecentlyResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeRecentlyResponse returns a decoder for responses returned by the sensor recently endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeRecentlyResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeResolveResponse

func DecodeResolveResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeResolveResponse returns a decoder for responses returned by the sensor resolve endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeResolveResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeSensorMetaResponse

func DecodeSensorMetaResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeSensorMetaResponse returns a decoder for responses returned by the sensor sensor meta endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeSensorMetaResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeStationMetaResponse

func DecodeStationMetaResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeStationMetaResponse returns a decoder for responses returned by the sensor station meta endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeStationMetaResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeTailResponse

func DecodeTailResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeTailResponse returns a decoder for responses returned by the sensor tail endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeTailResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func EncodeBookmarkRequest

func EncodeBookmarkRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeBookmarkRequest returns an encoder for requests sent to the sensor bookmark server.

func EncodeDataRequest

func EncodeDataRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeDataRequest returns an encoder for requests sent to the sensor data server.

func EncodeRecentlyRequest

func EncodeRecentlyRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeRecentlyRequest returns an encoder for requests sent to the sensor recently server.

func EncodeResolveRequest

func EncodeResolveRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeResolveRequest returns an encoder for requests sent to the sensor resolve server.

func EncodeStationMetaRequest

func EncodeStationMetaRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeStationMetaRequest returns an encoder for requests sent to the sensor station meta server.

func EncodeTailRequest

func EncodeTailRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeTailRequest returns an encoder for requests sent to the sensor tail server.

func MetaSensorPath

func MetaSensorPath() string

MetaSensorPath returns the URL path to the sensor service meta HTTP endpoint.

func NewBookmarkBadRequest

func NewBookmarkBadRequest(body *BookmarkBadRequestResponseBody) *goa.ServiceError

NewBookmarkBadRequest builds a sensor service bookmark endpoint bad-request error.

func NewBookmarkForbidden

func NewBookmarkForbidden(body *BookmarkForbiddenResponseBody) *goa.ServiceError

NewBookmarkForbidden builds a sensor service bookmark endpoint forbidden error.

func NewBookmarkNotFound

func NewBookmarkNotFound(body *BookmarkNotFoundResponseBody) *goa.ServiceError

NewBookmarkNotFound builds a sensor service bookmark endpoint not-found error.

func NewBookmarkSavedBookmarkOK

func NewBookmarkSavedBookmarkOK(body *BookmarkResponseBody) *sensorviews.SavedBookmarkView

NewBookmarkSavedBookmarkOK builds a "sensor" service "bookmark" endpoint result from a HTTP "OK" response.

func NewBookmarkUnauthorized

func NewBookmarkUnauthorized(body *BookmarkUnauthorizedResponseBody) *goa.ServiceError

NewBookmarkUnauthorized builds a sensor service bookmark endpoint unauthorized error.

func NewDataBadRequest

func NewDataBadRequest(body *DataBadRequestResponseBody) *goa.ServiceError

NewDataBadRequest builds a sensor service data endpoint bad-request error.

func NewDataForbidden

func NewDataForbidden(body *DataForbiddenResponseBody) *goa.ServiceError

NewDataForbidden builds a sensor service data endpoint forbidden error.

func NewDataNotFound

func NewDataNotFound(body *DataNotFoundResponseBody) *goa.ServiceError

NewDataNotFound builds a sensor service data endpoint not-found error.

func NewDataResultOK

func NewDataResultOK(body interface{}) *sensor.DataResult

NewDataResultOK builds a "sensor" service "data" endpoint result from a HTTP "OK" response.

func NewDataUnauthorized

func NewDataUnauthorized(body *DataUnauthorizedResponseBody) *goa.ServiceError

NewDataUnauthorized builds a sensor service data endpoint unauthorized error.

func NewMetaBadRequest

func NewMetaBadRequest(body *MetaBadRequestResponseBody) *goa.ServiceError

NewMetaBadRequest builds a sensor service meta endpoint bad-request error.

func NewMetaForbidden

func NewMetaForbidden(body *MetaForbiddenResponseBody) *goa.ServiceError

NewMetaForbidden builds a sensor service meta endpoint forbidden error.

func NewMetaNotFound

func NewMetaNotFound(body *MetaNotFoundResponseBody) *goa.ServiceError

NewMetaNotFound builds a sensor service meta endpoint not-found error.

func NewMetaResultOK

func NewMetaResultOK(body interface{}) *sensor.MetaResult

NewMetaResultOK builds a "sensor" service "meta" endpoint result from a HTTP "OK" response.

func NewMetaUnauthorized

func NewMetaUnauthorized(body *MetaUnauthorizedResponseBody) *goa.ServiceError

NewMetaUnauthorized builds a sensor service meta endpoint unauthorized error.

func NewRecentlyBadRequest

func NewRecentlyBadRequest(body *RecentlyBadRequestResponseBody) *goa.ServiceError

NewRecentlyBadRequest builds a sensor service recently endpoint bad-request error.

func NewRecentlyForbidden

func NewRecentlyForbidden(body *RecentlyForbiddenResponseBody) *goa.ServiceError

NewRecentlyForbidden builds a sensor service recently endpoint forbidden error.

func NewRecentlyNotFound

func NewRecentlyNotFound(body *RecentlyNotFoundResponseBody) *goa.ServiceError

NewRecentlyNotFound builds a sensor service recently endpoint not-found error.

func NewRecentlyResultOK

func NewRecentlyResultOK(body interface{}) *sensor.RecentlyResult

NewRecentlyResultOK builds a "sensor" service "recently" endpoint result from a HTTP "OK" response.

func NewRecentlyUnauthorized

func NewRecentlyUnauthorized(body *RecentlyUnauthorizedResponseBody) *goa.ServiceError

NewRecentlyUnauthorized builds a sensor service recently endpoint unauthorized error.

func NewResolveBadRequest

func NewResolveBadRequest(body *ResolveBadRequestResponseBody) *goa.ServiceError

NewResolveBadRequest builds a sensor service resolve endpoint bad-request error.

func NewResolveForbidden

func NewResolveForbidden(body *ResolveForbiddenResponseBody) *goa.ServiceError

NewResolveForbidden builds a sensor service resolve endpoint forbidden error.

func NewResolveNotFound

func NewResolveNotFound(body *ResolveNotFoundResponseBody) *goa.ServiceError

NewResolveNotFound builds a sensor service resolve endpoint not-found error.

func NewResolveSavedBookmarkOK

func NewResolveSavedBookmarkOK(body *ResolveResponseBody) *sensorviews.SavedBookmarkView

NewResolveSavedBookmarkOK builds a "sensor" service "resolve" endpoint result from a HTTP "OK" response.

func NewResolveUnauthorized

func NewResolveUnauthorized(body *ResolveUnauthorizedResponseBody) *goa.ServiceError

NewResolveUnauthorized builds a sensor service resolve endpoint unauthorized error.

func NewSensorMetaBadRequest

func NewSensorMetaBadRequest(body *SensorMetaBadRequestResponseBody) *goa.ServiceError

NewSensorMetaBadRequest builds a sensor service sensor meta endpoint bad-request error.

func NewSensorMetaForbidden

func NewSensorMetaForbidden(body *SensorMetaForbiddenResponseBody) *goa.ServiceError

NewSensorMetaForbidden builds a sensor service sensor meta endpoint forbidden error.

func NewSensorMetaNotFound

func NewSensorMetaNotFound(body *SensorMetaNotFoundResponseBody) *goa.ServiceError

NewSensorMetaNotFound builds a sensor service sensor meta endpoint not-found error.

func NewSensorMetaResultOK

func NewSensorMetaResultOK(body interface{}) *sensor.SensorMetaResult

NewSensorMetaResultOK builds a "sensor" service "sensor meta" endpoint result from a HTTP "OK" response.

func NewSensorMetaUnauthorized

func NewSensorMetaUnauthorized(body *SensorMetaUnauthorizedResponseBody) *goa.ServiceError

NewSensorMetaUnauthorized builds a sensor service sensor meta endpoint unauthorized error.

func NewStationMetaBadRequest

func NewStationMetaBadRequest(body *StationMetaBadRequestResponseBody) *goa.ServiceError

NewStationMetaBadRequest builds a sensor service station meta endpoint bad-request error.

func NewStationMetaForbidden

func NewStationMetaForbidden(body *StationMetaForbiddenResponseBody) *goa.ServiceError

NewStationMetaForbidden builds a sensor service station meta endpoint forbidden error.

func NewStationMetaNotFound

func NewStationMetaNotFound(body *StationMetaNotFoundResponseBody) *goa.ServiceError

NewStationMetaNotFound builds a sensor service station meta endpoint not-found error.

func NewStationMetaResultOK

func NewStationMetaResultOK(body interface{}) *sensor.StationMetaResult

NewStationMetaResultOK builds a "sensor" service "station meta" endpoint result from a HTTP "OK" response.

func NewStationMetaUnauthorized

func NewStationMetaUnauthorized(body *StationMetaUnauthorizedResponseBody) *goa.ServiceError

NewStationMetaUnauthorized builds a sensor service station meta endpoint unauthorized error.

func NewTailBadRequest

func NewTailBadRequest(body *TailBadRequestResponseBody) *goa.ServiceError

NewTailBadRequest builds a sensor service tail endpoint bad-request error.

func NewTailForbidden

func NewTailForbidden(body *TailForbiddenResponseBody) *goa.ServiceError

NewTailForbidden builds a sensor service tail endpoint forbidden error.

func NewTailNotFound

func NewTailNotFound(body *TailNotFoundResponseBody) *goa.ServiceError

NewTailNotFound builds a sensor service tail endpoint not-found error.

func NewTailResultOK

func NewTailResultOK(body interface{}) *sensor.TailResult

NewTailResultOK builds a "sensor" service "tail" endpoint result from a HTTP "OK" response.

func NewTailUnauthorized

func NewTailUnauthorized(body *TailUnauthorizedResponseBody) *goa.ServiceError

NewTailUnauthorized builds a sensor service tail endpoint unauthorized error.

func RecentlySensorPath

func RecentlySensorPath() string

RecentlySensorPath returns the URL path to the sensor service recently HTTP endpoint.

func ResolveSensorPath

func ResolveSensorPath() string

ResolveSensorPath returns the URL path to the sensor service resolve HTTP endpoint.

func SensorMetaSensorPath

func SensorMetaSensorPath() string

SensorMetaSensorPath returns the URL path to the sensor service sensor meta HTTP endpoint.

func StationMetaSensorPath

func StationMetaSensorPath() string

StationMetaSensorPath returns the URL path to the sensor service station meta HTTP endpoint.

func TailSensorPath

func TailSensorPath() string

TailSensorPath returns the URL path to the sensor service tail HTTP endpoint.

func ValidateBookmarkBadRequestResponseBody

func ValidateBookmarkBadRequestResponseBody(body *BookmarkBadRequestResponseBody) (err error)

ValidateBookmarkBadRequestResponseBody runs the validations defined on bookmark_bad-request_response_body

func ValidateBookmarkForbiddenResponseBody

func ValidateBookmarkForbiddenResponseBody(body *BookmarkForbiddenResponseBody) (err error)

ValidateBookmarkForbiddenResponseBody runs the validations defined on bookmark_forbidden_response_body

func ValidateBookmarkNotFoundResponseBody

func ValidateBookmarkNotFoundResponseBody(body *BookmarkNotFoundResponseBody) (err error)

ValidateBookmarkNotFoundResponseBody runs the validations defined on bookmark_not-found_response_body

func ValidateBookmarkUnauthorizedResponseBody

func ValidateBookmarkUnauthorizedResponseBody(body *BookmarkUnauthorizedResponseBody) (err error)

ValidateBookmarkUnauthorizedResponseBody runs the validations defined on bookmark_unauthorized_response_body

func ValidateDataBadRequestResponseBody

func ValidateDataBadRequestResponseBody(body *DataBadRequestResponseBody) (err error)

ValidateDataBadRequestResponseBody runs the validations defined on data_bad-request_response_body

func ValidateDataForbiddenResponseBody

func ValidateDataForbiddenResponseBody(body *DataForbiddenResponseBody) (err error)

ValidateDataForbiddenResponseBody runs the validations defined on data_forbidden_response_body

func ValidateDataNotFoundResponseBody

func ValidateDataNotFoundResponseBody(body *DataNotFoundResponseBody) (err error)

ValidateDataNotFoundResponseBody runs the validations defined on data_not-found_response_body

func ValidateDataUnauthorizedResponseBody

func ValidateDataUnauthorizedResponseBody(body *DataUnauthorizedResponseBody) (err error)

ValidateDataUnauthorizedResponseBody runs the validations defined on data_unauthorized_response_body

func ValidateMetaBadRequestResponseBody

func ValidateMetaBadRequestResponseBody(body *MetaBadRequestResponseBody) (err error)

ValidateMetaBadRequestResponseBody runs the validations defined on meta_bad-request_response_body

func ValidateMetaForbiddenResponseBody

func ValidateMetaForbiddenResponseBody(body *MetaForbiddenResponseBody) (err error)

ValidateMetaForbiddenResponseBody runs the validations defined on meta_forbidden_response_body

func ValidateMetaNotFoundResponseBody

func ValidateMetaNotFoundResponseBody(body *MetaNotFoundResponseBody) (err error)

ValidateMetaNotFoundResponseBody runs the validations defined on meta_not-found_response_body

func ValidateMetaUnauthorizedResponseBody

func ValidateMetaUnauthorizedResponseBody(body *MetaUnauthorizedResponseBody) (err error)

ValidateMetaUnauthorizedResponseBody runs the validations defined on meta_unauthorized_response_body

func ValidateRecentlyBadRequestResponseBody

func ValidateRecentlyBadRequestResponseBody(body *RecentlyBadRequestResponseBody) (err error)

ValidateRecentlyBadRequestResponseBody runs the validations defined on recently_bad-request_response_body

func ValidateRecentlyForbiddenResponseBody

func ValidateRecentlyForbiddenResponseBody(body *RecentlyForbiddenResponseBody) (err error)

ValidateRecentlyForbiddenResponseBody runs the validations defined on recently_forbidden_response_body

func ValidateRecentlyNotFoundResponseBody

func ValidateRecentlyNotFoundResponseBody(body *RecentlyNotFoundResponseBody) (err error)

ValidateRecentlyNotFoundResponseBody runs the validations defined on recently_not-found_response_body

func ValidateRecentlyUnauthorizedResponseBody

func ValidateRecentlyUnauthorizedResponseBody(body *RecentlyUnauthorizedResponseBody) (err error)

ValidateRecentlyUnauthorizedResponseBody runs the validations defined on recently_unauthorized_response_body

func ValidateResolveBadRequestResponseBody

func ValidateResolveBadRequestResponseBody(body *ResolveBadRequestResponseBody) (err error)

ValidateResolveBadRequestResponseBody runs the validations defined on resolve_bad-request_response_body

func ValidateResolveForbiddenResponseBody

func ValidateResolveForbiddenResponseBody(body *ResolveForbiddenResponseBody) (err error)

ValidateResolveForbiddenResponseBody runs the validations defined on resolve_forbidden_response_body

func ValidateResolveNotFoundResponseBody

func ValidateResolveNotFoundResponseBody(body *ResolveNotFoundResponseBody) (err error)

ValidateResolveNotFoundResponseBody runs the validations defined on resolve_not-found_response_body

func ValidateResolveUnauthorizedResponseBody

func ValidateResolveUnauthorizedResponseBody(body *ResolveUnauthorizedResponseBody) (err error)

ValidateResolveUnauthorizedResponseBody runs the validations defined on resolve_unauthorized_response_body

func ValidateSensorMetaBadRequestResponseBody

func ValidateSensorMetaBadRequestResponseBody(body *SensorMetaBadRequestResponseBody) (err error)

ValidateSensorMetaBadRequestResponseBody runs the validations defined on sensor meta_bad-request_response_body

func ValidateSensorMetaForbiddenResponseBody

func ValidateSensorMetaForbiddenResponseBody(body *SensorMetaForbiddenResponseBody) (err error)

ValidateSensorMetaForbiddenResponseBody runs the validations defined on sensor meta_forbidden_response_body

func ValidateSensorMetaNotFoundResponseBody

func ValidateSensorMetaNotFoundResponseBody(body *SensorMetaNotFoundResponseBody) (err error)

ValidateSensorMetaNotFoundResponseBody runs the validations defined on sensor meta_not-found_response_body

func ValidateSensorMetaUnauthorizedResponseBody

func ValidateSensorMetaUnauthorizedResponseBody(body *SensorMetaUnauthorizedResponseBody) (err error)

ValidateSensorMetaUnauthorizedResponseBody runs the validations defined on sensor meta_unauthorized_response_body

func ValidateStationMetaBadRequestResponseBody

func ValidateStationMetaBadRequestResponseBody(body *StationMetaBadRequestResponseBody) (err error)

ValidateStationMetaBadRequestResponseBody runs the validations defined on station meta_bad-request_response_body

func ValidateStationMetaForbiddenResponseBody

func ValidateStationMetaForbiddenResponseBody(body *StationMetaForbiddenResponseBody) (err error)

ValidateStationMetaForbiddenResponseBody runs the validations defined on station meta_forbidden_response_body

func ValidateStationMetaNotFoundResponseBody

func ValidateStationMetaNotFoundResponseBody(body *StationMetaNotFoundResponseBody) (err error)

ValidateStationMetaNotFoundResponseBody runs the validations defined on station meta_not-found_response_body

func ValidateStationMetaUnauthorizedResponseBody

func ValidateStationMetaUnauthorizedResponseBody(body *StationMetaUnauthorizedResponseBody) (err error)

ValidateStationMetaUnauthorizedResponseBody runs the validations defined on station meta_unauthorized_response_body

func ValidateTailBadRequestResponseBody

func ValidateTailBadRequestResponseBody(body *TailBadRequestResponseBody) (err error)

ValidateTailBadRequestResponseBody runs the validations defined on tail_bad-request_response_body

func ValidateTailForbiddenResponseBody

func ValidateTailForbiddenResponseBody(body *TailForbiddenResponseBody) (err error)

ValidateTailForbiddenResponseBody runs the validations defined on tail_forbidden_response_body

func ValidateTailNotFoundResponseBody

func ValidateTailNotFoundResponseBody(body *TailNotFoundResponseBody) (err error)

ValidateTailNotFoundResponseBody runs the validations defined on tail_not-found_response_body

func ValidateTailUnauthorizedResponseBody

func ValidateTailUnauthorizedResponseBody(body *TailUnauthorizedResponseBody) (err error)

ValidateTailUnauthorizedResponseBody runs the validations defined on tail_unauthorized_response_body

Types

type BookmarkBadRequestResponseBody

type BookmarkBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

BookmarkBadRequestResponseBody is the type of the "sensor" service "bookmark" endpoint HTTP response body for the "bad-request" error.

type BookmarkForbiddenResponseBody

type BookmarkForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

BookmarkForbiddenResponseBody is the type of the "sensor" service "bookmark" endpoint HTTP response body for the "forbidden" error.

type BookmarkNotFoundResponseBody

type BookmarkNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

BookmarkNotFoundResponseBody is the type of the "sensor" service "bookmark" endpoint HTTP response body for the "not-found" error.

type BookmarkResponseBody

type BookmarkResponseBody struct {
	URL      *string `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
	Bookmark *string `form:"bookmark,omitempty" json:"bookmark,omitempty" xml:"bookmark,omitempty"`
	Token    *string `form:"token,omitempty" json:"token,omitempty" xml:"token,omitempty"`
}

BookmarkResponseBody is the type of the "sensor" service "bookmark" endpoint HTTP response body.

type BookmarkUnauthorizedResponseBody

type BookmarkUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

BookmarkUnauthorizedResponseBody is the type of the "sensor" service "bookmark" endpoint HTTP response body for the "unauthorized" error.

type Client

type Client struct {
	// Meta Doer is the HTTP client used to make requests to the meta endpoint.
	MetaDoer goahttp.Doer

	// StationMeta Doer is the HTTP client used to make requests to the station
	// meta endpoint.
	StationMetaDoer goahttp.Doer

	// SensorMeta Doer is the HTTP client used to make requests to the sensor meta
	// endpoint.
	SensorMetaDoer goahttp.Doer

	// Data Doer is the HTTP client used to make requests to the data endpoint.
	DataDoer goahttp.Doer

	// Tail Doer is the HTTP client used to make requests to the tail endpoint.
	TailDoer goahttp.Doer

	// Recently Doer is the HTTP client used to make requests to the recently
	// endpoint.
	RecentlyDoer goahttp.Doer

	// Bookmark Doer is the HTTP client used to make requests to the bookmark
	// endpoint.
	BookmarkDoer goahttp.Doer

	// Resolve Doer is the HTTP client used to make requests to the resolve
	// endpoint.
	ResolveDoer goahttp.Doer

	// CORS Doer is the HTTP client used to make requests to the  endpoint.
	CORSDoer goahttp.Doer

	// RestoreResponseBody controls whether the response bodies are reset after
	// decoding so they can be read again.
	RestoreResponseBody bool
	// contains filtered or unexported fields
}

Client lists the sensor service endpoint HTTP clients.

func NewClient

func NewClient(
	scheme string,
	host string,
	doer goahttp.Doer,
	enc func(*http.Request) goahttp.Encoder,
	dec func(*http.Response) goahttp.Decoder,
	restoreBody bool,
) *Client

NewClient instantiates HTTP clients for all the sensor service servers.

func (*Client) Bookmark

func (c *Client) Bookmark() goa.Endpoint

Bookmark returns an endpoint that makes HTTP requests to the sensor service bookmark server.

func (*Client) BuildBookmarkRequest

func (c *Client) BuildBookmarkRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildBookmarkRequest instantiates a HTTP request object with method and path set to call the "sensor" service "bookmark" endpoint

func (*Client) BuildDataRequest

func (c *Client) BuildDataRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildDataRequest instantiates a HTTP request object with method and path set to call the "sensor" service "data" endpoint

func (*Client) BuildMetaRequest

func (c *Client) BuildMetaRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildMetaRequest instantiates a HTTP request object with method and path set to call the "sensor" service "meta" endpoint

func (*Client) BuildRecentlyRequest

func (c *Client) BuildRecentlyRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildRecentlyRequest instantiates a HTTP request object with method and path set to call the "sensor" service "recently" endpoint

func (*Client) BuildResolveRequest

func (c *Client) BuildResolveRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildResolveRequest instantiates a HTTP request object with method and path set to call the "sensor" service "resolve" endpoint

func (*Client) BuildSensorMetaRequest

func (c *Client) BuildSensorMetaRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildSensorMetaRequest instantiates a HTTP request object with method and path set to call the "sensor" service "sensor meta" endpoint

func (*Client) BuildStationMetaRequest

func (c *Client) BuildStationMetaRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildStationMetaRequest instantiates a HTTP request object with method and path set to call the "sensor" service "station meta" endpoint

func (*Client) BuildTailRequest

func (c *Client) BuildTailRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildTailRequest instantiates a HTTP request object with method and path set to call the "sensor" service "tail" endpoint

func (*Client) Data

func (c *Client) Data() goa.Endpoint

Data returns an endpoint that makes HTTP requests to the sensor service data server.

func (*Client) Meta

func (c *Client) Meta() goa.Endpoint

Meta returns an endpoint that makes HTTP requests to the sensor service meta server.

func (*Client) Recently

func (c *Client) Recently() goa.Endpoint

Recently returns an endpoint that makes HTTP requests to the sensor service recently server.

func (*Client) Resolve

func (c *Client) Resolve() goa.Endpoint

Resolve returns an endpoint that makes HTTP requests to the sensor service resolve server.

func (*Client) SensorMeta

func (c *Client) SensorMeta() goa.Endpoint

SensorMeta returns an endpoint that makes HTTP requests to the sensor service sensor meta server.

func (*Client) StationMeta

func (c *Client) StationMeta() goa.Endpoint

StationMeta returns an endpoint that makes HTTP requests to the sensor service station meta server.

func (*Client) Tail

func (c *Client) Tail() goa.Endpoint

Tail returns an endpoint that makes HTTP requests to the sensor service tail server.

type DataBadRequestResponseBody

type DataBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DataBadRequestResponseBody is the type of the "sensor" service "data" endpoint HTTP response body for the "bad-request" error.

type DataForbiddenResponseBody

type DataForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DataForbiddenResponseBody is the type of the "sensor" service "data" endpoint HTTP response body for the "forbidden" error.

type DataNotFoundResponseBody

type DataNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DataNotFoundResponseBody is the type of the "sensor" service "data" endpoint HTTP response body for the "not-found" error.

type DataUnauthorizedResponseBody

type DataUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DataUnauthorizedResponseBody is the type of the "sensor" service "data" endpoint HTTP response body for the "unauthorized" error.

type MetaBadRequestResponseBody

type MetaBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

MetaBadRequestResponseBody is the type of the "sensor" service "meta" endpoint HTTP response body for the "bad-request" error.

type MetaForbiddenResponseBody

type MetaForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

MetaForbiddenResponseBody is the type of the "sensor" service "meta" endpoint HTTP response body for the "forbidden" error.

type MetaNotFoundResponseBody

type MetaNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

MetaNotFoundResponseBody is the type of the "sensor" service "meta" endpoint HTTP response body for the "not-found" error.

type MetaUnauthorizedResponseBody

type MetaUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

MetaUnauthorizedResponseBody is the type of the "sensor" service "meta" endpoint HTTP response body for the "unauthorized" error.

type RecentlyBadRequestResponseBody

type RecentlyBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecentlyBadRequestResponseBody is the type of the "sensor" service "recently" endpoint HTTP response body for the "bad-request" error.

type RecentlyForbiddenResponseBody

type RecentlyForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecentlyForbiddenResponseBody is the type of the "sensor" service "recently" endpoint HTTP response body for the "forbidden" error.

type RecentlyNotFoundResponseBody

type RecentlyNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecentlyNotFoundResponseBody is the type of the "sensor" service "recently" endpoint HTTP response body for the "not-found" error.

type RecentlyUnauthorizedResponseBody

type RecentlyUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecentlyUnauthorizedResponseBody is the type of the "sensor" service "recently" endpoint HTTP response body for the "unauthorized" error.

type ResolveBadRequestResponseBody

type ResolveBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ResolveBadRequestResponseBody is the type of the "sensor" service "resolve" endpoint HTTP response body for the "bad-request" error.

type ResolveForbiddenResponseBody

type ResolveForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ResolveForbiddenResponseBody is the type of the "sensor" service "resolve" endpoint HTTP response body for the "forbidden" error.

type ResolveNotFoundResponseBody

type ResolveNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ResolveNotFoundResponseBody is the type of the "sensor" service "resolve" endpoint HTTP response body for the "not-found" error.

type ResolveResponseBody

type ResolveResponseBody struct {
	URL      *string `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
	Bookmark *string `form:"bookmark,omitempty" json:"bookmark,omitempty" xml:"bookmark,omitempty"`
	Token    *string `form:"token,omitempty" json:"token,omitempty" xml:"token,omitempty"`
}

ResolveResponseBody is the type of the "sensor" service "resolve" endpoint HTTP response body.

type ResolveUnauthorizedResponseBody

type ResolveUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ResolveUnauthorizedResponseBody is the type of the "sensor" service "resolve" endpoint HTTP response body for the "unauthorized" error.

type SensorMetaBadRequestResponseBody

type SensorMetaBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

SensorMetaBadRequestResponseBody is the type of the "sensor" service "sensor meta" endpoint HTTP response body for the "bad-request" error.

type SensorMetaForbiddenResponseBody

type SensorMetaForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

SensorMetaForbiddenResponseBody is the type of the "sensor" service "sensor meta" endpoint HTTP response body for the "forbidden" error.

type SensorMetaNotFoundResponseBody

type SensorMetaNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

SensorMetaNotFoundResponseBody is the type of the "sensor" service "sensor meta" endpoint HTTP response body for the "not-found" error.

type SensorMetaUnauthorizedResponseBody

type SensorMetaUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

SensorMetaUnauthorizedResponseBody is the type of the "sensor" service "sensor meta" endpoint HTTP response body for the "unauthorized" error.

type StationMetaBadRequestResponseBody

type StationMetaBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

StationMetaBadRequestResponseBody is the type of the "sensor" service "station meta" endpoint HTTP response body for the "bad-request" error.

type StationMetaForbiddenResponseBody

type StationMetaForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

StationMetaForbiddenResponseBody is the type of the "sensor" service "station meta" endpoint HTTP response body for the "forbidden" error.

type StationMetaNotFoundResponseBody

type StationMetaNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

StationMetaNotFoundResponseBody is the type of the "sensor" service "station meta" endpoint HTTP response body for the "not-found" error.

type StationMetaUnauthorizedResponseBody

type StationMetaUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

StationMetaUnauthorizedResponseBody is the type of the "sensor" service "station meta" endpoint HTTP response body for the "unauthorized" error.

type TailBadRequestResponseBody

type TailBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

TailBadRequestResponseBody is the type of the "sensor" service "tail" endpoint HTTP response body for the "bad-request" error.

type TailForbiddenResponseBody

type TailForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

TailForbiddenResponseBody is the type of the "sensor" service "tail" endpoint HTTP response body for the "forbidden" error.

type TailNotFoundResponseBody

type TailNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

TailNotFoundResponseBody is the type of the "sensor" service "tail" endpoint HTTP response body for the "not-found" error.

type TailUnauthorizedResponseBody

type TailUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

TailUnauthorizedResponseBody is the type of the "sensor" service "tail" endpoint HTTP response body for the "unauthorized" error.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL