Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestAgent ¶
type RequestAgent struct { // id ID string `json:"id,omitempty"` // nets Nets []string `json:"nets"` }
RequestAgent Agent info
swagger:model Request.Agent
func (*RequestAgent) MarshalBinary ¶
func (m *RequestAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestAgent) UnmarshalBinary ¶
func (m *RequestAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestTask ¶
type RequestTask struct { // agent Agent string `json:"agent,omitempty"` // command Command string `json:"command,omitempty"` // id ID string `json:"id,omitempty"` // target Target string `json:"target,omitempty"` }
RequestTask Task info
swagger:model Request.Task
func (*RequestTask) MarshalBinary ¶
func (m *RequestTask) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestTask) UnmarshalBinary ¶
func (m *RequestTask) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseError ¶
type ResponseError struct { // code Code uint32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` }
ResponseError Error response
swagger:model Response.Error
func (*ResponseError) MarshalBinary ¶
func (m *ResponseError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseError) UnmarshalBinary ¶
func (m *ResponseError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseTask ¶
type ResponseTask struct { // id ID string `json:"id,omitempty"` // status Status string `json:"status,omitempty"` }
ResponseTask Task Response
swagger:model Response.Task
func (*ResponseTask) MarshalBinary ¶
func (m *ResponseTask) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseTask) UnmarshalBinary ¶
func (m *ResponseTask) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseVersion ¶
type ResponseVersion struct { // branch Branch string `json:"branch,omitempty"` // build time BuildTime string `json:"build_time,omitempty"` // commit Commit string `json:"commit,omitempty"` // version Version string `json:"version,omitempty"` }
ResponseVersion Version response
swagger:model Response.Version
func (*ResponseVersion) MarshalBinary ¶
func (m *ResponseVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseVersion) UnmarshalBinary ¶
func (m *ResponseVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation