Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { // error Error string `json:"Message,omitempty"` // status code StatusCode int64 `json:"StatusCode,omitempty"` }
ErrorResponse error response
swagger:model ErrorResponse
func (*ErrorResponse) ContextValidate ¶
ContextValidate validates this error response based on context it is used
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OkBody ¶
type OkBody map[string]interface{}
OkBody OkBody is an arbitrary placeholder response that represents an ok response body
swagger:model OkBody
func (OkBody) ContextValidate ¶
ContextValidate validates this ok body based on context it is used
type UpdateServiceRequest ¶
type UpdateServiceRequest struct { // cmd // Required: true Cmd *string `json:"cmd"` // image // Required: true Image *string `json:"image"` // minScale // Required: true MinScale *int32 `json:"minScale"` // size // Required: true Size *int32 `json:"size"` // trafficPercent // Required: true TrafficPercent *int64 `json:"trafficPercent"` }
UpdateServiceRequest UpdateServiceRequest UpdateServiceRequest update service request
swagger:model updateServiceRequest
func (*UpdateServiceRequest) ContextValidate ¶
ContextValidate validates this update service request based on context it is used
func (*UpdateServiceRequest) MarshalBinary ¶
func (m *UpdateServiceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateServiceRequest) UnmarshalBinary ¶
func (m *UpdateServiceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation