File tree Expand file tree Collapse file tree
04-extensions/02-access-types Expand file tree Collapse file tree Original file line number Diff line number Diff line change 144144whitespace
145145whitespaces
146146yaml
147+ OCIImageLayer
147148SIG
148149SIGs
149150TSC
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ component:
3030 relation : external # resource is provided by a different entity than the component
3131 access : # access information how to locate this resource
3232 imageReference : gcr.io/google_containers/echoserver:1.10
33- type : ociArtifact
33+ type : OCIImage
3434 digest : # digest of this resource used for signing
3535 hashAlgorithm : sha256
3636 normalisationAlgorithm : ociArtifactDigest/v1
@@ -41,7 +41,7 @@ component:
4141 relation : local # resource is provided by the same entity as the component
4242 access : # access information how to locate this resource
4343 imageReference : ghcr.io/jensh007/ctf/github.com/open-component-model/ocmechoserver/echoserver:0.1.0
44- type : ociArtifact
44+ type : OCIImage
4545 digest : # digest of this resource used for signing
4646 hashAlgorithm : sha256
4747 normalisationAlgorithm : ociArtifactDigest/v1
@@ -56,7 +56,7 @@ component:
5656 mediaType : application/vnd.toi.ocm.software.package.v1+yaml
5757 ref : ghcr.io/jensh007/ctf/component-descriptors/github.com/open-component-model/ocmechoserver
5858 size : 615
59- type : ociBlob
59+ type : OCIImageLayer
6060 localReference : sha256:57563cb451bb79eb1c4bf0e71c66fdad1daf44fe55e128f12eae5f7e5496a188
6161 mediaType : application/vnd.toi.ocm.software.package.v1+yaml
6262 type : localBlob
Original file line number Diff line number Diff line change 2626 version : 0.1.0
2727 - access :
2828 imageReference : gcr.io/google_containers/echoserver:1.10
29- type : ociArtifact
29+ type : OCIImage
3030 name : image
3131 relation : external
3232 type : ociImage
8787 version: 0.1.0
8888 - access:
8989 imageReference: gcr.io/google_containers/echoserver:1.10
90- type: ociArtifact
90+ type: OCIImage
9191 digest:
9292 hashAlgorithm: SHA-256
9393 normalisationAlgorithm: ociArtifactDigest/v1
@@ -127,7 +127,7 @@ spec:
127127 resources:
128128 - access:
129129 imageReference: gcr.io/google_containers/pause:3.2
130- type: ociArtifact
130+ type: OCIImage
131131 name: image
132132 relation: external
133133 type: ociImage
@@ -175,7 +175,7 @@ spec:
175175 resources:
176176 - access:
177177 imageReference: gcr.io/google_containers/pause:3.2
178- type: ociArtifact
178+ type: OCIImage
179179 digest:
180180 hashAlgorithm: SHA-256
181181 normalisationAlgorithm: ociArtifactDigest/v1
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ required to identify the blob and its location.
88
99The following access method types are centrally defined:
1010
11- | TYPE NAME | DESCRIPTION |
12- | ---------------------------------| -----------------------------------------------------|
13- | [ ` localBlob ` ] ( localblob.md ) | an artifact stored along with the component version |
14- | [ ` ociArtifact ` ] ( ociartifact.md ) | an artifact in a repository of an OCI registry |
15- | [ ` ociBlob ` ] ( ociblob.md ) | a blob in a repository of an OCI registry |
16- | [ ` helm ` ] ( helm.md ) | a Helm chart stored in a Helm Repository |
17- | [ ` gitHub ` ] ( github.md ) | a commit in a GitHub-based Git repository |
18- | [ ` s3 ` ] ( s3.md ) | a blob stored in an AWS S3 bucket |
19- | [ ` npm ` ] ( npm.md ) | a NodeJS package stored in an NPM repository |
20- | [ ` wget ` ] ( wget.md ) | a blob stored on an HTTP server |
11+ | TYPE NAME | DESCRIPTION |
12+ | : ---------------------------------| -----------------------------------------------------|
13+ | [ ` LocalBlob ` ] ( localblob.md ) | an artifact stored along with the component version |
14+ | [ ` OCIImage ` ] ( ociartifact.md ) | an artifact in a repository of an OCI registry |
15+ | [ ` OCIImageLayer ` ] ( ociblob.md ) | a blob in a repository of an OCI registry |
16+ | [ ` Helm ` ] ( helm.md ) | a Helm chart stored in a Helm Repository |
17+ | [ ` GitHub ` ] ( github.md ) | a commit in a GitHub-based Git repository |
18+ | [ ` S3 ` ] ( s3.md ) | a blob stored in an AWS S3 bucket |
19+ | [ ` NPM ` ] ( npm.md ) | a NodeJS package stored in an NPM repository |
20+ | [ ` Wget ` ] ( wget.md ) | a blob stored on an HTTP server |
Original file line number Diff line number Diff line change 1- # gitHub — Git Commit hosted by GitHub
1+ # GitHub — Git Commit hosted by GitHub
22
33## Synopsis
44
55``` text
6- type: gitHub/v1
6+ type: GitHub[/VERSION]
77```
88
9+ Legacy type names ` gitHub ` and ` github ` are supported as backward-compatible aliases.
10+
911## Description
1012
1113Access to a commit in a Git repository.
Original file line number Diff line number Diff line change 1- # helm — Helm Package in Helm Repository
1+ # Helm — Helm Package in Helm Repository
22
3- * Synopsis: *
3+ ## Synopsis
44
55``` text
6- type: helm [/VERSION]
6+ type: Helm [/VERSION]
77[ATTRIBUTES]
88```
99
10+ Legacy type name ` helm ` is supported as a backward-compatible alias.
11+
1012## Description
1113
1214Access to a Helm chart in a Helm repository.
Original file line number Diff line number Diff line change 1- # localBlob — Blob Hosted in OCM Repository
1+ # LocalBlob — Blob Hosted in OCM Repository
22
33## Synopsis
44
55``` text
6- type: localBlob/[ VERSION]
6+ type: LocalBlob[/ VERSION]
77[ATTRIBUTES]
88```
99
10+ Legacy type name ` localBlob ` is supported as a backward-compatible alias.
11+
1012## Description
1113
1214Access to a resource blob stored along with the component descriptor.
Original file line number Diff line number Diff line change 1- # npm — Node Package Manager archive
1+ # NPM — Node Package Manager archive
22
33## Synopsis
44
55``` text
6- type: npm [/VERSION]
6+ type: NPM [/VERSION]
77[ATTRIBUTES]
88```
99
10+ Legacy type name ` npm ` is supported as a backward-compatible alias.
11+
1012## Description
1113
1214Access to an NodeJS package in an NPM registry.
Original file line number Diff line number Diff line change 1- # ociArtifact — Artifact hosted in OCI Repository
1+ # OCIImage — Image hosted in OCI Repository
22
33## Synopsis
44
55``` text
6- type: ociArtifact [/VERSION]
6+ type: OCIImage [/VERSION]
77[ATTRIBUTES]
88```
99
10+ The following legacy type names are supported as backward-compatible aliases:
11+
12+ - ` ociArtifact `
13+ - ` ociRegistry `
14+ - ` ociImage `
15+
1016## Description
1117
1218Access of an OCI artifact stored in an OCI registry.
Original file line number Diff line number Diff line change 1- # ociBlob — Blob hosted in OCI Repository
1+ # OCIImageLayer — Blob hosted in OCI Repository
22
33## Synopsis
44
55``` text
6- type: ociBlob [/VERSION]
6+ type: OCIImageLayer [/VERSION]
77[ATTRIBUTES]
88```
99
10+ Legacy type name ` ociBlob ` is supported as a backward-compatible alias.
11+
1012## Description
1113
1214Access of an OCI blob stored in an OCI repository.
You can’t perform that action at this time.
0 commit comments