Documentation
¶
Index ¶
- type HTTPRequest
- type HTTPResponse
- type HealthHealthy
- type HealthServiceUnavailable
- func (m *HealthServiceUnavailable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HealthServiceUnavailable) MarshalBinary() ([]byte, error)
- func (m *HealthServiceUnavailable) UnmarshalBinary(b []byte) error
- func (m *HealthServiceUnavailable) Validate(formats strfmt.Registry) error
- type StandardError
- type VM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPRequest ¶
type HTTPRequest struct {
// body
Body string `json:"body,omitempty"`
// cookies
Cookies []string `json:"cookies,omitempty"`
// headers
Headers map[string]string `json:"headers"`
// http method
HTTPMethod string `json:"httpMethod"`
// A boolean flag to indicate if the body is Base64-encoded
IsBase64Encoded bool `json:"isBase64Encoded"`
// multi value headers
MultiValueHeaders map[string][]string `json:"multiValueHeaders"`
// encoded path hint (see EscapedPath method)
RawPath string `json:"rawPath"`
// encoded query values, without '?'
RawQueryString string `json:"rawQueryString"`
}
HTTPRequest HTTP request
swagger:model HTTPRequest
func (*HTTPRequest) ContextValidate ¶
ContextValidate validates this HTTP request based on context it is used
func (*HTTPRequest) MarshalBinary ¶
func (m *HTTPRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HTTPRequest) UnmarshalBinary ¶
func (m *HTTPRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HTTPResponse ¶
type HTTPResponse struct {
// body
Body string `json:"body,omitempty"`
// cookies
Cookies []string `json:"cookies,omitempty"`
// headers
Headers map[string]string `json:"headers"`
// A boolean flag to indicate if the body is Base64-encoded
IsBase64Encoded bool `json:"isBase64Encoded"`
// multi value headers
MultiValueHeaders map[string][]string `json:"multiValueHeaders,omitempty"`
// status code
StatusCode int64 `json:"statusCode,omitempty"`
}
HTTPResponse HTTP response
swagger:model HTTPResponse
func (*HTTPResponse) ContextValidate ¶
ContextValidate validates this HTTP response based on context it is used
func (*HTTPResponse) MarshalBinary ¶
func (m *HTTPResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HTTPResponse) UnmarshalBinary ¶
func (m *HTTPResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HealthHealthy ¶
type HealthHealthy struct {
// details
Details []interface{} `json:"details"`
// Status always contains "OK".
Status string `json:"status,omitempty"`
}
HealthHealthy health healthy
swagger:model HealthHealthy
func (*HealthHealthy) ContextValidate ¶
ContextValidate validates this health healthy based on context it is used
func (*HealthHealthy) MarshalBinary ¶
func (m *HealthHealthy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthHealthy) UnmarshalBinary ¶
func (m *HealthHealthy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HealthServiceUnavailable ¶
type HealthServiceUnavailable struct {
Errors map[string]string `json:"errors,omitempty"`
Status string `json:"status,omitempty"`
}
HealthServiceUnavailable health service unavailable
swagger:model HealthServiceUnavailable
func (*HealthServiceUnavailable) ContextValidate ¶
func (m *HealthServiceUnavailable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this health service unavailable based on context it is used
func (*HealthServiceUnavailable) MarshalBinary ¶
func (m *HealthServiceUnavailable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthServiceUnavailable) UnmarshalBinary ¶
func (m *HealthServiceUnavailable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardError ¶
type StandardError struct {
// code
Code int64 `json:"code,omitempty"`
// details
Details []interface{} `json:"details"`
// message
Message string `json:"message,omitempty"`
}
StandardError standard error
swagger:model StandardError
func (*StandardError) ContextValidate ¶
ContextValidate validates this standard error based on context it is used
func (*StandardError) MarshalBinary ¶
func (m *StandardError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardError) UnmarshalBinary ¶
func (m *StandardError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VM ¶
type VM struct {
// Virtual Machine ID.
ID string `json:"id,omitempty"`
// IP address of VM
IP string `json:"ip,omitempty"`
}
VM Virtual Machine
swagger:model VM
func (*VM) ContextValidate ¶
ContextValidate validates this VM based on context it is used
func (*VM) MarshalBinary ¶
MarshalBinary interface implementation
func (*VM) UnmarshalBinary ¶
UnmarshalBinary interface implementation