| 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.Factory |
RegistryClient.Factory.setAuthorization(Authorization authorization)
Sets the authentication credentials to use to authenticate with the registry.
|
RegistryAuthenticator |
RegistryAuthenticator.setAuthorization(Authorization authorization)
Sets an
Authorization header to authenticate with. |
| Modifier and Type | Method and Description |
|---|---|
Authorization |
RegistryCredentials.getAuthorization() |
| Constructor and Description |
|---|
RegistryCredentials(String credentialSource,
Authorization authorization) |
Copyright © 2018. All rights reserved.