Files
docker-docs/vendor/github.com/docker/engine-api/client/privileged.go
Victor Vieux d006ef95f0 move dependencies to vendor/
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-04-14 13:25:16 -07:00

10 lines
336 B
Go

package client
// RequestPrivilegeFunc is a function interface that
// clients can supply to retry operations after
// getting an authorization error.
// This function returns the registry authentication
// header value in base 64 format, or an error
// if the privilege request fails.
type RequestPrivilegeFunc func() (string, error)