Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentInfo ¶
type AgentInfo struct {
// Date/time when Agent was added.
// Example: 2018-10-28T16:45:03.6037837Z
AddedAt string `json:"addedAt,omitempty"`
// Hostname of Agent.
// Example: 8a62f2d3b523
Address string `json:"address,omitempty"`
// UUID of the Agent.
// Example: 0a6bccb3-094f-4c65-a8cd-2903e4672968
ID string `json:"id,omitempty"`
// Name of the AMQP queue the Agent accepts messages on.
// Example: 0a6bccb3-094f-4c65-a8cd-2903e4672968
Queue string `json:"queue,omitempty"`
// BSON ID of current task.
// Example: 5af05d5e9293620001b41d2c
TaskID string `json:"taskID,omitempty"`
// Date/time current task was assigned.
// Example: 2018-10-28T16:51:02.8492307Z
TaskedAt string `json:"taskedAt,omitempty"`
}
AgentInfo Information about an Agent.
swagger:model AgentInfo
func (*AgentInfo) ContextValidate ¶
ContextValidate validates this agent info based on context it is used
func (*AgentInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*AgentInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AgentInfoList ¶
type AgentInfoList struct {
// data
Data []*AgentInfo `json:"data"`
}
AgentInfoList agent info list
swagger:model AgentInfoList
func (*AgentInfoList) ContextValidate ¶
ContextValidate validate this agent info list based on the context it is used
func (*AgentInfoList) MarshalBinary ¶
func (m *AgentInfoList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentInfoList) UnmarshalBinary ¶
func (m *AgentInfoList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JSONError ¶
type JSONError struct {
// error
Error *JSONErrorError `json:"error,omitempty"`
}
JSONError JSON error
swagger:model JSONError
func (*JSONError) ContextValidate ¶
ContextValidate validate this JSON error based on the context it is used
func (*JSONError) MarshalBinary ¶
MarshalBinary interface implementation
func (*JSONError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JSONErrorError ¶
type JSONErrorError struct {
// HTTP status code.
Code int64 `json:"code,omitempty"`
// Detailed error message.
Message string `json:"message,omitempty"`
}
JSONErrorError JSON error error
swagger:model JSONErrorError
func (*JSONErrorError) ContextValidate ¶
ContextValidate validates this JSON error error based on context it is used
func (*JSONErrorError) MarshalBinary ¶
func (m *JSONErrorError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JSONErrorError) UnmarshalBinary ¶
func (m *JSONErrorError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VersionResponse ¶
type VersionResponse struct {
// data
Data *VersionResponseData `json:"data,omitempty"`
}
VersionResponse Version check response.
swagger:model VersionResponse
func (*VersionResponse) ContextValidate ¶
ContextValidate validate this version response based on the context it is used
func (*VersionResponse) MarshalBinary ¶
func (m *VersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionResponse) UnmarshalBinary ¶
func (m *VersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VersionResponseData ¶
type VersionResponseData struct {
// Version of the service.
// Example: v1.2.0-0-gdeadbee
Version string `json:"version,omitempty"`
}
VersionResponseData version response data
swagger:model VersionResponseData
func (*VersionResponseData) ContextValidate ¶
ContextValidate validates this version response data based on context it is used
func (*VersionResponseData) MarshalBinary ¶
func (m *VersionResponseData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionResponseData) UnmarshalBinary ¶
func (m *VersionResponseData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation