# Packages

Package functionaltests includes tests that make http requests to the handlers using net/http/test.

# Functions

NewCredentialService returns a struct that handles credentials requests.
NewCredentialServiceWithClients returns a struct that handles credentials requests with the given clients.
NewMetadataService returns a struct that handles metadata requests.
NewMetadataServiceWithClient returns a struct that handles metadata requests using the given Docker Client.
ServeHTTP wraps an HTTP Handler.

# Constants

CredentialExpirationTimeFormat is the time stamp format used in the Local Credentials Service HTTP response.

# Structs

CredentialResponse is used to marshal the JSON response for the Credentials Service.
CredentialService vends credentials to containers.
HTTPError represents an error with a HTTP status code.
MetadataService vends docker metadata to containers.

# Interfaces

Error wraps built-in error and adds a status code.