-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move OciMetadata(Builder/JsonCodec) to metadata package
- Loading branch information
Showing
9 changed files
with
54 additions
and
67 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciImagesInput.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
src/main/kotlin/io/github/sgtsilvio/gradle/oci/component/OciMetadata.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/main/kotlin/io/github/sgtsilvio/gradle/oci/internal/registry/OciMetadataRegistry.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/main/kotlin/io/github/sgtsilvio/gradle/oci/metadata/OciMediaTypes.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package io.github.sgtsilvio.gradle.oci.metadata | ||
|
||
internal const val INDEX_MEDIA_TYPE = "application/vnd.oci.image.index.v1+json" | ||
internal const val MANIFEST_MEDIA_TYPE = "application/vnd.oci.image.manifest.v1+json" | ||
internal const val CONFIG_MEDIA_TYPE = "application/vnd.oci.image.config.v1+json" | ||
internal const val LAYER_MEDIA_TYPE_PREFIX = "application/vnd.oci.image.layer.v1" | ||
internal const val UNCOMPRESSED_LAYER_MEDIA_TYPE = "$LAYER_MEDIA_TYPE_PREFIX.tar" | ||
internal const val GZIP_COMPRESSED_LAYER_MEDIA_TYPE = "$LAYER_MEDIA_TYPE_PREFIX.tar+gzip" | ||
//internal const val ZSTD_COMPRESSED_LAYER_MEDIA_TYPE = "$LAYER_MEDIA_TYPE_PREFIX.tar+zstd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...radle/oci/component/OciMetadataBuilder.kt → ...gradle/oci/metadata/OciMetadataBuilder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
...dle/oci/component/OciMetadataJsonCodec.kt → ...adle/oci/metadata/OciMetadataJsonCodec.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters