privileged.go 336 B

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