package
0.1.1
Repository: https://github.com/anguslees/aws-cni-plugins.git
Documentation: pkg.go.dev

# Functions

IsNotFound returns true if the error was caused by an AWS API 404 response.
NewCachedIMDS creates a new CachedIMDS.
NewTypedIMDS returns a typed wrapper around raw untyped IMDS SDK API.

# Structs

CachedIMDS is a wrapper around EC2MetadataIface that adds a naive cache.
TypedIMDS is a typed wrapper around raw untyped IMDS SDK API.

# Interfaces

EC2MetadataIface is a subset of the EC2Metadata API.

# Type aliases

FakeIMDS is a trivial implementation of EC2MetadataIface using an in-memory map - for testing.