UNPKG

@kubernetes-models/flux-cd

Version:
29 lines (28 loc) 1.19 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * OCILayerSelector specifies which layer should be extracted from an OCI Artifact */ export interface IOCILayerSelector { /** * MediaType specifies the OCI media type of the layer * which should be extracted from the OCI Artifact. The * first layer matching this type is selected. */ "mediaType"?: string; /** * Operation specifies how the selected layer should be processed. * By default, the layer compressed content is extracted to storage. * When the operation is set to 'copy', the layer compressed content * is persisted to storage as it is. */ "operation"?: "extract" | "copy"; } /** * OCILayerSelector specifies which layer should be extracted from an OCI Artifact */ export declare class OCILayerSelector extends Model<IOCILayerSelector> implements IOCILayerSelector { "mediaType"?: string; "operation"?: "extract" | "copy"; constructor(data?: ModelData<IOCILayerSelector>); } export type { IOCILayerSelector as IComGithubFluxcdSourceControllerApiV1OCILayerSelector, OCILayerSelector as ComGithubFluxcdSourceControllerApiV1OCILayerSelector };