| Package | Description |
|---|---|
| com.google.cloud.tools.jib.http | |
| com.google.cloud.tools.jib.registry |
| Modifier and Type | Method and Description |
|---|---|
static Authorization |
Authorizations.withBasicCredentials(String username,
String secret) |
static Authorization |
Authorizations.withBearerToken(String token) |
| Modifier and Type | Method and Description |
|---|---|
Request.Builder |
Request.Builder.setAuthorization(Authorization authorization)
Sets the
Authorization header. |
| Modifier and Type | Method and Description |
|---|---|
Authorization |
RegistryAuthenticator.authenticate()
Sends the authentication request and retrieves the Bearer authorization token.
|
Authorization |
DockerCredentialRetriever.retrieve()
Retrieves the Docker credentials by calling the corresponding CLI.
|
| Constructor and Description |
|---|
RegistryClient(Authorization authorization,
String serverUrl,
String imageName) |
Copyright © 2018. All rights reserved.