Documentation ¶
Overview ¶
Package imds is a latency timing source for the EC2 Instance Metadata Service (IMDS)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name = "EC2 IMDS" DynamicDocPrefix = "/dynamic/instance-identity/document" RequestedTime = fmt.Sprintf("%s/%s", DynamicDocPrefix, "requestedTime") PendingTime = fmt.Sprintf("%s/%s", DynamicDocPrefix, "pendingTime") )
Functions ¶
This section is empty.
Types ¶
type ErrMetadata ¶
type ErrMetadata struct{}
func (ErrMetadata) Error ¶
func (e ErrMetadata) Error() string
type Source ¶ added in v0.1.1
type Source struct {
// contains filtered or unexported fields
}
Source is the EC2 Instance Metadata Service (IMDS) http source
func (Source) ClearCache ¶ added in v0.1.1
func (i Source) ClearCache()
ClearCache is a noop for the IMDS Source since it is an http source, not a log file
Click to show internal directories.
Click to hide internal directories.