| Package | Description |
|---|---|
| com.google.cloud.tools.jib.image.json | |
| com.google.cloud.tools.jib.registry |
| Modifier and Type | Class and Description |
|---|---|
class |
UnknownManifestFormatException
Exception thrown when trying to parse an unknown image manifest format.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RegistryErrorException
Thrown when an HTTP request to a registry endpoint failed with errors as defined in
ErrorCodes. |
class |
RegistryNoResponseException
Thrown when a registry did not respond.
|
class |
RegistryUnauthorizedException
Thrown when a registry request was unauthorized and therefore authentication is needed.
|
class |
UnexpectedBlobDigestException
Thrown when a pulled BLOB did not have the same digest as requested.
|
| Modifier and Type | Method and Description |
|---|---|
BlobDescriptor |
RegistryClient.checkBlob(DescriptorDigest blobDigest) |
static RegistryAuthenticator |
RegistryAuthenticators.forOther(String serverUrl,
String repository) |
RegistryAuthenticator |
RegistryClient.getRegistryAuthenticator()
Gets the
RegistryAuthenticator to authenticate pulls from the registry. |
Void |
RegistryClient.pullBlob(DescriptorDigest blobDigest,
OutputStream destinationOutputStream)
Downloads the BLOB to a file.
|
ManifestTemplate |
RegistryClient.pullManifest(String imageTag) |
<T extends ManifestTemplate> |
RegistryClient.pullManifest(String imageTag,
Class<T> manifestTemplateClass)
Pulls the image manifest for a specific tag.
|
boolean |
RegistryClient.pushBlob(DescriptorDigest blobDigest,
Blob blob)
Pushes the BLOB, or skips if the BLOB already exists on the registry.
|
void |
RegistryClient.pushManifest(V22ManifestTemplate manifestTemplate,
String imageTag)
Pushes the image manifest for a specific tag.
|
Copyright © 2018. All rights reserved.