Documentation ¶
Index ¶
- type CallStats
- type CheckAllPodResult
- type CheckAllResults
- type CheckAllResultsHostsItems0
- func (m *CheckAllResultsHostsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CheckAllResultsHostsItems0) MarshalBinary() ([]byte, error)
- func (m *CheckAllResultsHostsItems0) UnmarshalBinary(b []byte) error
- func (m *CheckAllResultsHostsItems0) Validate(formats strfmt.Registry) error
- type CheckResults
- type ClusterHealthResults
- type DNSResult
- type DNSResults
- type HealthCheckResults
- type PingResults
- type PodResult
- type ProbeResult
- type ProbeResults
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) ContextValidate ¶ added in v3.2.0
ContextValidate validates this call stats based on context it is used
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"` // pod IP // Format: ipv4 PodIP strfmt.IPv4 `json:"PodIP,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) ContextValidate ¶ added in v3.2.0
ContextValidate validate this check all pod result based on the context it is used
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"` // hosts Hosts []*CheckAllResultsHostsItems0 `json:"hosts"` // hosts healthy HostsHealthy int32 `json:"hosts-healthy,omitempty"` // hosts number HostsNumber int32 `json:"hosts-number,omitempty"` // probe results ProbeResults map[string]ProbeResults `json:"probeResults,omitempty"` // responses Responses map[string]CheckAllPodResult `json:"responses,omitempty"` }
CheckAllResults check all results
swagger:model CheckAllResults
func (*CheckAllResults) ContextValidate ¶ added in v3.2.0
ContextValidate validate this check all results based on the context it is used
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"` // pod name PodName string `json:"podName,omitempty"` }
CheckAllResultsHostsItems0 check all results hosts items0
swagger:model CheckAllResultsHostsItems0
func (*CheckAllResultsHostsItems0) ContextValidate ¶ added in v3.2.0
func (m *CheckAllResultsHostsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this check all results hosts items0 based on context it is used
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 { // pod results PodResults map[string]PodResult `json:"podResults,omitempty"` // probe results ProbeResults ProbeResults `json:"probeResults,omitempty"` }
CheckResults check results
swagger:model CheckResults
func (*CheckResults) ContextValidate ¶ added in v3.2.0
ContextValidate validate this check results based on the context it is used
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 ClusterHealthResults ¶ added in v3.2.0
type ClusterHealthResults struct { // o k // Required: true OK bool `json:"OK"` // duration ns DurationNs int64 `json:"duration-ns,omitempty"` // generated at // Format: date-time GeneratedAt strfmt.DateTime `json:"generated-at,omitempty"` // nodes healthy NodesHealthy []string `json:"nodesHealthy"` // nodes total NodesTotal int64 `json:"nodesTotal,omitempty"` // nodes unhealthy NodesUnhealthy []string `json:"nodesUnhealthy"` }
ClusterHealthResults cluster health results
swagger:model ClusterHealthResults
func (*ClusterHealthResults) ContextValidate ¶ added in v3.2.0
ContextValidate validates this cluster health results based on context it is used
func (*ClusterHealthResults) MarshalBinary ¶ added in v3.2.0
func (m *ClusterHealthResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterHealthResults) UnmarshalBinary ¶ added in v3.2.0
func (m *ClusterHealthResults) 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) ContextValidate ¶ added in v3.2.0
ContextValidate validates this Dns result based on context it is used
func (*DNSResult) MarshalBinary ¶
MarshalBinary interface implementation
func (*DNSResult) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DNSResults ¶
DNSResults Dns results
swagger:model DnsResults
func (DNSResults) ContextValidate ¶ added in v3.2.0
ContextValidate validate this Dns results based on the context it is used
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) ContextValidate ¶ added in v3.2.0
ContextValidate validates this health check results based on context it is used
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) ContextValidate ¶ added in v3.2.0
ContextValidate validate this ping results based on the context it is used
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"` // ping time // Format: date-time PingTime strfmt.DateTime `json:"PingTime,omitempty"` // pod IP // Format: ipv4 PodIP strfmt.IPv4 `json:"PodIP,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) ContextValidate ¶ added in v3.2.0
ContextValidate validate this pod result based on the context it is used
func (*PodResult) MarshalBinary ¶
MarshalBinary interface implementation
func (*PodResult) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProbeResult ¶ added in v3.6.0
type ProbeResult struct { // error Error string `json:"error,omitempty"` // protocol Protocol string `json:"protocol,omitempty"` // response time ms ResponseTimeMs int64 `json:"response-time-ms,omitempty"` }
ProbeResult probe result
swagger:model ProbeResult
func (*ProbeResult) ContextValidate ¶ added in v3.6.0
ContextValidate validates this probe result based on context it is used
func (*ProbeResult) MarshalBinary ¶ added in v3.6.0
func (m *ProbeResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProbeResult) UnmarshalBinary ¶ added in v3.6.0
func (m *ProbeResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProbeResults ¶ added in v3.6.0
type ProbeResults map[string][]ProbeResult
ProbeResults probe results
swagger:model ProbeResults
func (ProbeResults) ContextValidate ¶ added in v3.6.0
ContextValidate validate this probe results based on the context it is used