Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct { Version string `json:"version"` Time time.Time `json:"time"` ClientUUID string `json:"client_uuid"` // ClientLocation is the location data fetched from client http request ip using ip-api in telemetry collector. ClientLocation report.Location `json:"client_location,omitempty"` // MasterLocation is the location data fetched from kkp master cluster node ip using ip-api in telemetry collector. MasterLocation report.Location `json:"master_location,omitempty"` Records []json.RawMessage `json:"records,omitempty"` }
func (*Report) ListRecords ¶
func (r *Report) ListRecords() []json.RawMessage
func (*Report) SetClientLocation ¶
func (*Report) SetMasterLocation ¶
Click to show internal directories.
Click to hide internal directories.