Documentation ¶
Overview ¶
Package api is the REST API for telemetry
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct{}
API implements the REST API.
func (*API) Initialize ¶
Initialize setup the API handlers.
type EventDto ¶
type EventDto struct { ManifestDigest digest.Digest `json:"manifestDigest,omitempty"` Action string `json:"action,omitempty"` Repository string `json:"repository,omitempty"` Tag string `json:"tag,omitempty"` AuthRequired bool `json:"authRequired,omitempty"` Durations map[digest.Digest]float32 `json:"durations,omitempty"` Timestamp time.Time `json:"timestamp,omitempty"` Username string `json:"username,omitempty"` }
EventDto is the /event request body.
Click to show internal directories.
Click to hide internal directories.