| 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 |
InsecureRegistryException
Throw when attempting to access an insecure registry when only secure connections are allowed.
|
class |
RegistryCredentialsNotSentException
Thrown when registry request was unauthorized because credentials weren't sent.
|
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) |
RegistryAuthenticator |
RegistryClient.getRegistryAuthenticator() |
RegistryAuthenticator |
RegistryAuthenticator.Initializer.initialize()
Gets a
RegistryAuthenticator for a custom registry server and repository. |
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,
String sourceRepository)
Pushes the BLOB.
|
void |
RegistryClient.pushManifest(BuildableManifestTemplate manifestTemplate,
String imageTag)
Pushes the image manifest for a specific tag.
|
Copyright © 2018. All rights reserved.