Share via


LayerSelectorPatchDefinition interface

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

Properties

mediaType

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

operation

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

Property Details

mediaType

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

mediaType?: string

Property Value

string

operation

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

operation?: string

Property Value

string