class RegistryClient extends AnyRef
Interfaces with a registry.
- Alphabetic
- By Inheritance
- RegistryClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RegistryClient(authorization: Authorization, serverUrl: String, imageName: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkBlob(blobDigest: DescriptorDigest): BlobDescriptor
- blobDigest
the blob digest to check for
- returns
the BLOB's
BlobDescriptorif the BLOB exists on the registry, ornullif it doesn't
- Exceptions thrown
IOExceptionif communicating with the endpoint failsRegistryExceptionif communicating with the endpoint fails
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getRegistryAuthenticator(): RegistryAuthenticator
- returns
the
RegistryAuthenticatorto authenticate pulls/pushes with the registry, ornullif no token authentication is necessary
- Exceptions thrown
IOExceptionif communicating with the endpoint failsRegistryExceptionif communicating with the endpoint fails
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pullBlob(blobDigest: DescriptorDigest, destinationOutputStream: OutputStream): Void
Downloads the BLOB to a file.
Downloads the BLOB to a file.
- blobDigest
the digest of the BLOB to download
- destinationOutputStream
the
OutputStreamto write the BLOB to- returns
a
Blobbacked by the file atdestPath. The file atdestPathmust exist forBlobto be valid.
- Exceptions thrown
IOExceptionif communicating with the endpoint failsRegistryExceptionif communicating with the endpoint fails
- def pullManifest(imageTag: String): ManifestTemplate
-
def
pullManifest[T <: ManifestTemplate](imageTag: String, manifestTemplateClass: Class[T]): T
Pulls the image manifest for a specific tag.
Pulls the image manifest for a specific tag.
- imageTag
the tag to pull on
- manifestTemplateClass
the specific version of manifest template to pull, or
ManifestTemplateto pull eitherV22ManifestTemplateorV21ManifestTemplate- returns
the manifest template
- Exceptions thrown
IOExceptionif communicating with the endpoint failsRegistryExceptionif communicating with the endpoint fails
-
def
pushBlob(blobDigest: DescriptorDigest, blob: Blob): Boolean
Pushes the BLOB, or skips if the BLOB already exists on the registry.
Pushes the BLOB, or skips if the BLOB already exists on the registry.
- blobDigest
the digest of the BLOB, used for existence-check
- blob
the BLOB to push
- returns
trueif the BLOB already exists on the registry and pushing was skipped; false if the BLOB was pushed
- Exceptions thrown
IOExceptionif communicating with the endpoint failsRegistryExceptionif communicating with the endpoint fails
-
def
pushManifest(manifestTemplate: BuildableManifestTemplate, imageTag: String): Unit
Pushes the image manifest for a specific tag.
Pushes the image manifest for a specific tag.
- manifestTemplate
the image manifest
- imageTag
the tag to push on
- Exceptions thrown
IOExceptionif communicating with the endpoint failsRegistryExceptionif communicating with the endpoint fails
- def setTimer(parentTimer: Timer): RegistryClient
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )