Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelsHeartbeatRequest ¶
type ModelsHeartbeatRequest struct { // ip // Required: true IP *string `json:"ip"` // port // Required: true Port *int32 `json:"port"` // region // Required: true Region *string `json:"region"` }
ModelsHeartbeatRequest models heartbeat request
swagger:model models.HeartbeatRequest
func (*ModelsHeartbeatRequest) MarshalBinary ¶
func (m *ModelsHeartbeatRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsHeartbeatRequest) UnmarshalBinary ¶
func (m *ModelsHeartbeatRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsListServerResponse ¶
type ModelsListServerResponse struct { // servers // Required: true Servers []*ModelsServer `json:"servers"` }
ModelsListServerResponse models list server response
swagger:model models.ListServerResponse
func (*ModelsListServerResponse) MarshalBinary ¶
func (m *ModelsListServerResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsListServerResponse) UnmarshalBinary ¶
func (m *ModelsListServerResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsServer ¶
type ModelsServer struct { // alias // Required: true Alias *string `json:"alias"` // ip // Required: true IP *string `json:"ip"` // last update // Required: true // Format: date-time LastUpdate strfmt.DateTime `json:"last_update"` // port // Required: true Port *int32 `json:"port"` // region // Required: true Region *string `json:"region"` // status // Required: true Status *string `json:"status"` }
ModelsServer models server
swagger:model models.Server
func (*ModelsServer) MarshalBinary ¶
func (m *ModelsServer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsServer) UnmarshalBinary ¶
func (m *ModelsServer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsSetAliasRequest ¶
type ModelsSetAliasRequest struct { // alias // Required: true Alias *string `json:"alias"` }
ModelsSetAliasRequest models set alias request
swagger:model models.SetAliasRequest
func (*ModelsSetAliasRequest) MarshalBinary ¶
func (m *ModelsSetAliasRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsSetAliasRequest) UnmarshalBinary ¶
func (m *ModelsSetAliasRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUpdateServerRequest ¶ added in v0.20.0
type ModelsUpdateServerRequest struct { // status // Required: true Status *string `json:"status"` }
ModelsUpdateServerRequest models update server request
swagger:model models.UpdateServerRequest
func (*ModelsUpdateServerRequest) MarshalBinary ¶ added in v0.20.0
func (m *ModelsUpdateServerRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUpdateServerRequest) UnmarshalBinary ¶ added in v0.20.0
func (m *ModelsUpdateServerRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseError ¶
type ResponseError struct { // code // Required: true Code *int32 `json:"code"` // message // Required: true Message *string `json:"message"` }
ResponseError response error
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