staticAuth creates a privilegeFn from the given registryAuth.
(registryAuth string)
| 8 | |
| 9 | // staticAuth creates a privilegeFn from the given registryAuth. |
| 10 | func staticAuth(registryAuth string) registry.RequestAuthConfig { |
| 11 | return func(ctx context.Context) (string, error) { |
| 12 | return registryAuth, nil |
| 13 | } |
| 14 | } |
no outgoing calls
searching dependent graphs…