Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallStats ¶
type CallStats struct {
// check
Check int64 `json:"check,omitempty"`
// check all
CheckAll int64 `json:"check_all,omitempty"`
// ping
Ping int64 `json:"ping,omitempty"`
}
CallStats call stats swagger:model CallStats
func (*CallStats) MarshalBinary ¶
MarshalBinary interface implementation
func (*CallStats) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CheckAllPodResult ¶
type CheckAllPodResult struct {
// host IP
// Format: ipv4
HostIP strfmt.IPv4 `json:"HostIP,omitempty"`
// o k
OK *bool `json:"OK,omitempty"`
// error
Error string `json:"error,omitempty"`
// response
Response *CheckResults `json:"response,omitempty"`
// status code
StatusCode int32 `json:"status-code,omitempty"`
}
CheckAllPodResult check all pod result swagger:model CheckAllPodResult
func (*CheckAllPodResult) MarshalBinary ¶
func (m *CheckAllPodResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckAllPodResult) UnmarshalBinary ¶
func (m *CheckAllPodResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CheckAllResults ¶
type CheckAllResults struct {
// o k
OK *bool `json:"OK,omitempty"`
// dns results
DNSResults map[string]DNSResults `json:"dnsResults,omitempty"`
// hosts
Hosts []*CheckAllResultsHostsItems0 `json:"hosts"`
// hosts healthy
HostsHealthy int32 `json:"hosts-healthy,omitempty"`
// hosts number
HostsNumber int32 `json:"hosts-number,omitempty"`
// responses
Responses map[string]CheckAllPodResult `json:"responses,omitempty"`
}
CheckAllResults check all results swagger:model CheckAllResults
func (*CheckAllResults) MarshalBinary ¶
func (m *CheckAllResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckAllResults) UnmarshalBinary ¶
func (m *CheckAllResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CheckAllResultsHostsItems0 ¶
type CheckAllResultsHostsItems0 struct {
// host IP
// Format: ipv4
HostIP strfmt.IPv4 `json:"hostIP,omitempty"`
// pod IP
// Format: ipv4
PodIP strfmt.IPv4 `json:"podIP,omitempty"`
}
CheckAllResultsHostsItems0 check all results hosts items0 swagger:model CheckAllResultsHostsItems0
func (*CheckAllResultsHostsItems0) MarshalBinary ¶
func (m *CheckAllResultsHostsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckAllResultsHostsItems0) UnmarshalBinary ¶
func (m *CheckAllResultsHostsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CheckResults ¶
type CheckResults struct {
// dns results
DNSResults DNSResults `json:"dnsResults,omitempty"`
// pod results
PodResults map[string]PodResult `json:"podResults,omitempty"`
}
CheckResults check results swagger:model CheckResults
func (*CheckResults) MarshalBinary ¶
func (m *CheckResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckResults) UnmarshalBinary ¶
func (m *CheckResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DNSResult ¶
type DNSResult struct {
// error
Error string `json:"error,omitempty"`
// response time ms
ResponseTimeMs int64 `json:"response-time-ms,omitempty"`
}
DNSResult Dns result swagger:model DnsResult
func (*DNSResult) MarshalBinary ¶
MarshalBinary interface implementation
func (*DNSResult) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DNSResults ¶
DNSResults Dns results swagger:model DnsResults
type HealthCheckResults ¶
type HealthCheckResults struct {
// o k
OK *bool `json:"OK,omitempty"`
// duration ns
DurationNs int64 `json:"duration-ns,omitempty"`
// generated at
// Format: date-time
GeneratedAt strfmt.DateTime `json:"generated-at,omitempty"`
}
HealthCheckResults health check results swagger:model HealthCheckResults
func (*HealthCheckResults) MarshalBinary ¶
func (m *HealthCheckResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthCheckResults) UnmarshalBinary ¶
func (m *HealthCheckResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PingResults ¶
type PingResults struct {
// boot time
// Format: date-time
BootTime strfmt.DateTime `json:"boot_time,omitempty"`
// received
Received *CallStats `json:"received,omitempty"`
}
PingResults ping results swagger:model PingResults
func (*PingResults) MarshalBinary ¶
func (m *PingResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PingResults) UnmarshalBinary ¶
func (m *PingResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PodResult ¶
type PodResult struct {
// host IP
// Format: ipv4
HostIP strfmt.IPv4 `json:"HostIP,omitempty"`
// o k
OK *bool `json:"OK,omitempty"`
// error
Error string `json:"error,omitempty"`
// response
Response *PingResults `json:"response,omitempty"`
// wall clock time in milliseconds
ResponseTimeMs int64 `json:"response-time-ms,omitempty"`
// status code
StatusCode int32 `json:"status-code,omitempty"`
}
PodResult pod result swagger:model PodResult
func (*PodResult) MarshalBinary ¶
MarshalBinary interface implementation
func (*PodResult) UnmarshalBinary ¶
UnmarshalBinary interface implementation