| Package | Description |
|---|---|
| com.google.cloud.tools.jib.http | |
| com.google.cloud.tools.jib.registry | |
| com.google.cloud.tools.jib.registry.credentials |
| Modifier and Type | Method and Description |
|---|---|
static Authorization |
Authorizations.withBasicCredentials(String username,
String secret) |
static Authorization |
Authorizations.withBasicToken(String token) |
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.authenticatePull()
Authenticates permissions to pull.
|
Authorization |
RegistryAuthenticator.authenticatePush()
Authenticates permission to pull and push.
|
| Modifier and Type | Method and Description |
|---|---|
RegistryClient |
RegistryClient.Factory.newWithAuthorization(Authorization authorization)
Creates a new
RegistryClient with authentication credentials to use in requests. |
RegistryAuthenticator |
RegistryAuthenticator.setAuthorization(Authorization authorization)
Sets an
Authorization header to authenticate with. |
| Modifier and Type | Method and Description |
|---|---|
Authorization |
RegistryCredentials.getAuthorization() |
Authorization |
DockerCredentialHelper.retrieve() |
Authorization |
DockerConfigCredentialRetriever.retrieve() |
| Constructor and Description |
|---|
RegistryCredentials(String credentialSource,
Authorization authorization) |
Copyright © 2018. All rights reserved.