| 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.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.
|
Authorization |
DockerCredentialRetriever.retrieve()
Retrieves the Docker credentials by calling the corresponding CLI.
|
| Modifier and Type | Method and Description |
|---|---|
RegistryAuthenticator |
RegistryAuthenticator.setAuthorization(Authorization authorization)
Sets an
Authorization header to authenticate with. |
| Constructor and Description |
|---|
RegistryClient(Authorization authorization,
String serverUrl,
String imageName) |
| Modifier and Type | Method and Description |
|---|---|
Authorization |
RegistryCredentials.getAuthorization(String registry) |
| Modifier and Type | Method and Description |
|---|---|
static RegistryCredentials |
RegistryCredentials.of(String registry,
String credentialSource,
Authorization authorization)
Instantiates with credentials for a single registry.
|
| Modifier and Type | Method and Description |
|---|---|
static RegistryCredentials |
RegistryCredentials.from(String credentialSource,
Map<String,Authorization> registryCredentialMap)
Instantiates from a credential source and a map of registry credentials.
|
Copyright © 2018. All rights reserved.