Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct {
// message
Message string `json:"message,omitempty"`
}
APIResponse An object that is return in all cases of failures.
swagger:model ApiResponse
func (*APIResponse) ContextValidate ¶
ContextValidate validates this Api response based on context it is used
func (*APIResponse) MarshalBinary ¶
func (m *APIResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIResponse) UnmarshalBinary ¶
func (m *APIResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Common ¶
type Common struct {
// truncated body
TruncatedBody bool `json:"TruncatedBody,omitempty"`
// body
// Format: byte
Body strfmt.Base64 `json:"body,omitempty"`
// headers
Headers []*Header `json:"headers"`
// Time since epoch (milliseconds)
Time int64 `json:"time,omitempty"`
// version
Version string `json:"version,omitempty"`
}
Common common
swagger:model Common
func (*Common) ContextValidate ¶
ContextValidate validate this common based on the context it is used
func (*Common) MarshalBinary ¶
MarshalBinary interface implementation
func (*Common) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Header ¶
type Header struct {
// key
Key string `json:"key,omitempty"`
// value
Value string `json:"value,omitempty"`
}
Header header
swagger:model Header
func (*Header) ContextValidate ¶
ContextValidate validates this header based on context it is used
func (*Header) MarshalBinary ¶
MarshalBinary interface implementation
func (*Header) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HostsList ¶
type HostsList []string
HostsList List of hosts
swagger:model HostsList
func (HostsList) ContextValidate ¶
ContextValidate validates this hosts list based on context it is used
type HostsToTrace ¶
type HostsToTrace struct {
// hosts
// Required: true
Hosts HostsList `json:"hosts"`
}
HostsToTrace List of hosts to trace
swagger:model HostsToTrace
func (*HostsToTrace) ContextValidate ¶
ContextValidate validate this hosts to trace based on the context it is used
func (*HostsToTrace) MarshalBinary ¶
func (m *HostsToTrace) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostsToTrace) UnmarshalBinary ¶
func (m *HostsToTrace) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Request ¶
type Request struct {
// common
Common *Common `json:"common,omitempty"`
// host
Host string `json:"host,omitempty"`
// method
Method string `json:"method,omitempty"`
// path
Path string `json:"path,omitempty"`
}
Request request
swagger:model Request
func (*Request) ContextValidate ¶
ContextValidate validate this request based on the context it is used
func (*Request) MarshalBinary ¶
MarshalBinary interface implementation
func (*Request) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Response ¶
type Response struct {
// common
Common *Common `json:"common,omitempty"`
// status code
StatusCode string `json:"statusCode,omitempty"`
}
Response response
swagger:model Response
func (*Response) ContextValidate ¶
ContextValidate validate this response based on the context it is used
func (*Response) MarshalBinary ¶
MarshalBinary interface implementation
func (*Response) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SuccessResponse ¶
type SuccessResponse struct {
// message
Message string `json:"message,omitempty"`
}
SuccessResponse An object that is return in cases of success that return nothing.
swagger:model SuccessResponse
func (*SuccessResponse) ContextValidate ¶
ContextValidate validates this success response based on context it is used
func (*SuccessResponse) MarshalBinary ¶
func (m *SuccessResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SuccessResponse) UnmarshalBinary ¶
func (m *SuccessResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Telemetry ¶
type Telemetry struct {
// destination address
DestinationAddress string `json:"destinationAddress,omitempty"`
// destination namespace
DestinationNamespace string `json:"destinationNamespace,omitempty"`
// request
Request *Request `json:"request,omitempty"`
// request ID
RequestID string `json:"requestID,omitempty"`
// response
Response *Response `json:"response,omitempty"`
// scheme
Scheme string `json:"scheme,omitempty"`
// source address
SourceAddress string `json:"sourceAddress,omitempty"`
}
Telemetry telemetry
swagger:model Telemetry
func (*Telemetry) ContextValidate ¶
ContextValidate validate this telemetry based on the context it is used
func (*Telemetry) MarshalBinary ¶
MarshalBinary interface implementation
func (*Telemetry) UnmarshalBinary ¶
UnmarshalBinary interface implementation