diff --git a/cmds/ocm/commands/toicmds/package/bootstrap/cmd.go b/cmds/ocm/commands/toicmds/package/bootstrap/cmd.go index 20299b98a..601b16175 100644 --- a/cmds/ocm/commands/toicmds/package/bootstrap/cmd.go +++ b/cmds/ocm/commands/toicmds/package/bootstrap/cmd.go @@ -82,7 +82,7 @@ This resource finally describes an executor image, which will be executed in a container with the installation source and (instance specific) user settings. The container is just executed, the framework make no assumption about the meaning/outcome of the execution. Therefore, any kind of actions can be described and -issued this way, not on installation handling. +issued this way, not only installation handling. The first matching resource of this type is selected. Optionally a set of identity attribute can be specified used to refine the match. This can be the diff --git a/docs/reference/ocm_add_resource-configuration.md b/docs/reference/ocm_add_resource-configuration.md index 28648499c..19b89ca83 100644 --- a/docs/reference/ocm_add_resource-configuration.md +++ b/docs/reference/ocm_add_resource-configuration.md @@ -410,7 +410,7 @@ with the field type in the input field: - Input type ociArtifact This input type is used to import an OCI image from an OCI registry. - If it is a multi-arch image the set of platforms using the "platforms" + If it is a multi-arch image the set of platforms to be imported can be filtered using the "platforms" attribute. The path must denote an OCI image reference. This blob type specification supports the following fields: diff --git a/docs/reference/ocm_add_resources.md b/docs/reference/ocm_add_resources.md index 042abf8c7..6265a41af 100644 --- a/docs/reference/ocm_add_resources.md +++ b/docs/reference/ocm_add_resources.md @@ -421,7 +421,7 @@ with the field type in the input field: - Input type ociArtifact This input type is used to import an OCI image from an OCI registry. - If it is a multi-arch image the set of platforms using the "platforms" + If it is a multi-arch image the set of platforms to be imported can be filtered using the "platforms" attribute. The path must denote an OCI image reference. This blob type specification supports the following fields: diff --git a/docs/reference/ocm_add_source-configuration.md b/docs/reference/ocm_add_source-configuration.md index f6fd2fa7b..72242aec4 100644 --- a/docs/reference/ocm_add_source-configuration.md +++ b/docs/reference/ocm_add_source-configuration.md @@ -410,7 +410,7 @@ with the field type in the input field: - Input type ociArtifact This input type is used to import an OCI image from an OCI registry. - If it is a multi-arch image the set of platforms using the "platforms" + If it is a multi-arch image the set of platforms to be imported can be filtered using the "platforms" attribute. The path must denote an OCI image reference. This blob type specification supports the following fields: diff --git a/docs/reference/ocm_add_sources.md b/docs/reference/ocm_add_sources.md index 8863d7d9f..34903cf46 100644 --- a/docs/reference/ocm_add_sources.md +++ b/docs/reference/ocm_add_sources.md @@ -419,7 +419,7 @@ with the field type in the input field: - Input type ociArtifact This input type is used to import an OCI image from an OCI registry. - If it is a multi-arch image the set of platforms using the "platforms" + If it is a multi-arch image the set of platforms to be imported can be filtered using the "platforms" attribute. The path must denote an OCI image reference. This blob type specification supports the following fields: diff --git a/docs/reference/ocm_bootstrap_package.md b/docs/reference/ocm_bootstrap_package.md index ed44d538b..acfaf415a 100644 --- a/docs/reference/ocm_bootstrap_package.md +++ b/docs/reference/ocm_bootstrap_package.md @@ -40,7 +40,7 @@ This resource finally describes an executor image, which will be executed in a container with the installation source and (instance specific) user settings. The container is just executed, the framework make no assumption about the meaning/outcome of the execution. Therefore, any kind of actions can be described and -issued this way, not on installation handling. +issued this way, not only installation handling. The first matching resource of this type is selected. Optionally a set of identity attribute can be specified used to refine the match. This can be the diff --git a/docs/reference/ocm_ocm-pubsub.md b/docs/reference/ocm_ocm-pubsub.md index 97c31de7c..b8349b4fb 100644 --- a/docs/reference/ocm_ocm-pubsub.md +++ b/docs/reference/ocm_ocm-pubsub.md @@ -16,12 +16,12 @@ specification versions, and formats: - PubSub type compound - a pub/sub system forwarding events to described sub-level systems. + A pub/sub system forwarding events to described sub-level systems. The following versions are supported: - Version v1 - It is describe by the following field: + It is described by the following field: - **specifications** *list of pubsub specs* diff --git a/docs/reference/ocm_set_pubsub.md b/docs/reference/ocm_set_pubsub.md index 97d483997..1244c5ce6 100644 --- a/docs/reference/ocm_set_pubsub.md +++ b/docs/reference/ocm_set_pubsub.md @@ -23,7 +23,7 @@ pubsub, ps A repository may be able to store a publish/subscribe specification -to propagate the creation or update of component version. +to propagate the creation or update of component versions. If such an implementation is available this command can be used to set the pub/sub specification for a repository. If no specification is given an existing specification diff --git a/go.mod b/go.mod index 6b32c8b74..fe7159f3c 100644 --- a/go.mod +++ b/go.mod @@ -16,6 +16,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2 github.com/cloudflare/cfssl v1.6.5 github.com/containerd/containerd v1.7.20 + github.com/containerd/errdefs v0.1.0 github.com/containerd/log v0.1.0 github.com/containers/image/v5 v5.32.0 github.com/cyberphone/json-canonicalization v0.0.0-20231217050601-ba74d44ecf5f @@ -154,7 +155,6 @@ require ( github.com/clbanning/mxj/v2 v2.7.0 // indirect github.com/cloudflare/circl v1.3.7 // indirect github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect - github.com/containerd/errdefs v0.1.0 // indirect github.com/containerd/platforms v0.2.1 // indirect github.com/containerd/stargz-snapshotter/estargz v0.15.1 // indirect github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect