Package version:

Parameters to specify which layer to pull from the OCI artifact. By default, the first layer in the artifact is pulled.

interface LayerSelectorPatchDefinition {
    mediaType?: string;
    operation?: string;
}

Properties

mediaType?: string

The first layer matching the specified media type will be used.

operation?: string

The operation to be performed on the selected layer. The default value is 'extract', but it can be set to 'copy'.