# Functions
NewEnrolDevice creates a new http.Handler for the enrol device operation.
NewEnrolDeviceCreated creates EnrolDeviceCreated with default headers values.
NewEnrolDeviceDefault creates EnrolDeviceDefault with default headers values.
NewEnrolDeviceForbidden creates EnrolDeviceForbidden with default headers values.
NewEnrolDeviceOK creates EnrolDeviceOK with default headers values.
NewEnrolDeviceParams creates a new EnrolDeviceParams object
There are no default values defined in the spec.
NewEnrolDeviceUnauthorized creates EnrolDeviceUnauthorized with default headers values.
NewGetDeviceConfiguration creates a new http.Handler for the get device configuration operation.
NewGetDeviceConfigurationDefault creates GetDeviceConfigurationDefault with default headers values.
NewGetDeviceConfigurationForbidden creates GetDeviceConfigurationForbidden with default headers values.
NewGetDeviceConfigurationOK creates GetDeviceConfigurationOK with default headers values.
NewGetDeviceConfigurationParams creates a new GetDeviceConfigurationParams object
There are no default values defined in the spec.
NewGetDeviceConfigurationUnauthorized creates GetDeviceConfigurationUnauthorized with default headers values.
NewGetRegistrationStatus creates a new http.Handler for the get registration status operation.
NewGetRegistrationStatusDefault creates GetRegistrationStatusDefault with default headers values.
NewGetRegistrationStatusForbidden creates GetRegistrationStatusForbidden with default headers values.
NewGetRegistrationStatusOK creates GetRegistrationStatusOK with default headers values.
NewGetRegistrationStatusParams creates a new GetRegistrationStatusParams object
There are no default values defined in the spec.
NewGetRegistrationStatusUnauthorized creates GetRegistrationStatusUnauthorized with default headers values.
NewRegisterDevice creates a new http.Handler for the register device operation.
NewRegisterDeviceDefault creates RegisterDeviceDefault with default headers values.
NewRegisterDeviceForbidden creates RegisterDeviceForbidden with default headers values.
NewRegisterDeviceOK creates RegisterDeviceOK with default headers values.
NewRegisterDeviceParams creates a new RegisterDeviceParams object
There are no default values defined in the spec.
NewRegisterDeviceUnauthorized creates RegisterDeviceUnauthorized with default headers values.
NewUpdateHeartBeat creates a new http.Handler for the update heart beat operation.
NewUpdateHeartBeatDefault creates UpdateHeartBeatDefault with default headers values.
NewUpdateHeartBeatForbidden creates UpdateHeartBeatForbidden with default headers values.
NewUpdateHeartBeatOK creates UpdateHeartBeatOK with default headers values.
NewUpdateHeartBeatParams creates a new UpdateHeartBeatParams object
There are no default values defined in the spec.
NewUpdateHeartBeatUnauthorized creates UpdateHeartBeatUnauthorized with default headers values.
# Constants
EnrolDeviceCreatedCode is the HTTP code returned for type EnrolDeviceCreated.
EnrolDeviceForbiddenCode is the HTTP code returned for type EnrolDeviceForbidden.
EnrolDeviceOKCode is the HTTP code returned for type EnrolDeviceOK.
EnrolDeviceUnauthorizedCode is the HTTP code returned for type EnrolDeviceUnauthorized.
GetDeviceConfigurationForbiddenCode is the HTTP code returned for type GetDeviceConfigurationForbidden.
GetDeviceConfigurationOKCode is the HTTP code returned for type GetDeviceConfigurationOK.
GetDeviceConfigurationUnauthorizedCode is the HTTP code returned for type GetDeviceConfigurationUnauthorized.
GetRegistrationStatusForbiddenCode is the HTTP code returned for type GetRegistrationStatusForbidden.
GetRegistrationStatusOKCode is the HTTP code returned for type GetRegistrationStatusOK.
GetRegistrationStatusUnauthorizedCode is the HTTP code returned for type GetRegistrationStatusUnauthorized.
RegisterDeviceForbiddenCode is the HTTP code returned for type RegisterDeviceForbidden.
RegisterDeviceOKCode is the HTTP code returned for type RegisterDeviceOK.
RegisterDeviceUnauthorizedCode is the HTTP code returned for type RegisterDeviceUnauthorized.
UpdateHeartBeatForbiddenCode is the HTTP code returned for type UpdateHeartBeatForbidden.
UpdateHeartBeatOKCode is the HTTP code returned for type UpdateHeartBeatOK.
UpdateHeartBeatUnauthorizedCode is the HTTP code returned for type UpdateHeartBeatUnauthorized.
# Structs
EnrolDevice swagger:route POST /namespaces/{namespace}/devices/{device-id}/enrolment backend enrolDevice
Initiates the process of enrolling the device
*/.
EnrolDeviceCreated Created
swagger:response enrolDeviceCreated
*/.
EnrolDeviceDefault Error
swagger:response enrolDeviceDefault
*/.
EnrolDeviceForbidden Forbidden
swagger:response enrolDeviceForbidden
*/.
EnrolDeviceOK OK
swagger:response enrolDeviceOK
*/.
EnrolDeviceParams contains all the bound params for the enrol device operation typically these are obtained from a http.Request
swagger:parameters EnrolDevice.
EnrolDeviceUnauthorized Unauthorized
swagger:response enrolDeviceUnauthorized
*/.
EnrolDeviceURL generates an URL for the enrol device operation.
GetDeviceConfiguration swagger:route GET /namespaces/{namespace}/devices/{device-id}/configuration backend getDeviceConfiguration
Returns the device configuration
*/.
GetDeviceConfigurationDefault Error
swagger:response getDeviceConfigurationDefault
*/.
GetDeviceConfigurationForbidden Forbidden
swagger:response getDeviceConfigurationForbidden
*/.
GetDeviceConfigurationOK Success
swagger:response getDeviceConfigurationOK
*/.
GetDeviceConfigurationParams contains all the bound params for the get device configuration operation typically these are obtained from a http.Request
swagger:parameters GetDeviceConfiguration.
GetDeviceConfigurationUnauthorized Unauthorized
swagger:response getDeviceConfigurationUnauthorized
*/.
GetDeviceConfigurationURL generates an URL for the get device configuration operation.
GetRegistrationStatus swagger:route GET /namespaces/{namespace}/devices/{device-id}/registration backend getRegistrationStatus
Returns a device registration status, which can be registered, unregistered or unknown.
GetRegistrationStatusDefault Error
swagger:response getRegistrationStatusDefault
*/.
GetRegistrationStatusForbidden Forbidden
swagger:response getRegistrationStatusForbidden
*/.
GetRegistrationStatusOK OK
swagger:response getRegistrationStatusOK
*/.
GetRegistrationStatusParams contains all the bound params for the get registration status operation typically these are obtained from a http.Request
swagger:parameters GetRegistrationStatus.
GetRegistrationStatusUnauthorized Unauthorized
swagger:response getRegistrationStatusUnauthorized
*/.
GetRegistrationStatusURL generates an URL for the get registration status operation.
RegisterDevice swagger:route PUT /namespaces/{namespace}/devices/{device-id}/registration backend registerDevice
Registers the device by providing its hardware configuration
*/.
RegisterDeviceDefault Error
swagger:response registerDeviceDefault
*/.
RegisterDeviceForbidden Forbidden
swagger:response registerDeviceForbidden
*/.
RegisterDeviceOK Updated
swagger:response registerDeviceOK
*/.
RegisterDeviceParams contains all the bound params for the register device operation typically these are obtained from a http.Request
swagger:parameters RegisterDevice.
RegisterDeviceUnauthorized Unauthorized
swagger:response registerDeviceUnauthorized
*/.
RegisterDeviceURL generates an URL for the register device operation.
UpdateHeartBeat swagger:route PUT /namespaces/{namespace}/devices/{device-id}/heartbeat backend updateHeartBeat
Updates the heartbeat information of the device.
UpdateHeartBeatDefault Error
swagger:response updateHeartBeatDefault
*/.
UpdateHeartBeatForbidden Forbidden
swagger:response updateHeartBeatForbidden
*/.
UpdateHeartBeatOK Success
swagger:response updateHeartBeatOK
*/.
UpdateHeartBeatParams contains all the bound params for the update heart beat operation typically these are obtained from a http.Request
swagger:parameters UpdateHeartBeat.
UpdateHeartBeatUnauthorized Unauthorized
swagger:response updateHeartBeatUnauthorized
*/.
UpdateHeartBeatURL generates an URL for the update heart beat operation.
# Interfaces
EnrolDeviceHandler interface for that can handle valid enrol device params.
GetDeviceConfigurationHandler interface for that can handle valid get device configuration params.
GetRegistrationStatusHandler interface for that can handle valid get registration status params.
RegisterDeviceHandler interface for that can handle valid register device params.
UpdateHeartBeatHandler interface for that can handle valid update heart beat params.
# Type aliases
EnrolDeviceHandlerFunc turns a function with the right signature into a enrol device handler.
GetDeviceConfigurationHandlerFunc turns a function with the right signature into a get device configuration handler.
GetRegistrationStatusHandlerFunc turns a function with the right signature into a get registration status handler.
RegisterDeviceHandlerFunc turns a function with the right signature into a register device handler.
UpdateHeartBeatHandlerFunc turns a function with the right signature into a update heart beat handler.