models

package
v0.0.0-...-c66050e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (m *CallStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CallStats) UnmarshalBinary

func (m *CallStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CallStats) Validate

func (m *CallStats) Validate(formats strfmt.Registry) error

Validate validates this call stats

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

func (*CheckAllPodResult) Validate

func (m *CheckAllPodResult) Validate(formats strfmt.Registry) error

Validate validates this check all pod result

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

func (*CheckAllResults) Validate

func (m *CheckAllResults) Validate(formats strfmt.Registry) error

Validate validates this check all results

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

func (*CheckAllResultsHostsItems0) Validate

func (m *CheckAllResultsHostsItems0) Validate(formats strfmt.Registry) error

Validate validates this check all results hosts items0

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

func (*CheckResults) Validate

func (m *CheckResults) Validate(formats strfmt.Registry) error

Validate validates this check results

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

func (m *DNSResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DNSResult) UnmarshalBinary

func (m *DNSResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DNSResult) Validate

func (m *DNSResult) Validate(formats strfmt.Registry) error

Validate validates this Dns result

type DNSResults

type DNSResults map[string]DNSResult

DNSResults Dns results swagger:model DnsResults

func (DNSResults) Validate

func (m DNSResults) Validate(formats strfmt.Registry) error

Validate validates this Dns results

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

func (*HealthCheckResults) Validate

func (m *HealthCheckResults) Validate(formats strfmt.Registry) error

Validate validates this health check results

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

func (*PingResults) Validate

func (m *PingResults) Validate(formats strfmt.Registry) error

Validate validates this ping results

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

func (m *PodResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodResult) UnmarshalBinary

func (m *PodResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodResult) Validate

func (m *PodResult) Validate(formats strfmt.Registry) error

Validate validates this pod result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL