/** * @module settings.k8s.io/v1alpha1 * @internal */ import { DeleteOptions as _DeleteOptions_8 } from "./../meta/v1"; import { EnvFromSource as _EnvFromSource_4 } from "./../v1"; import { EnvVar as _EnvVar_3 } from "./../v1"; import { LabelSelector as _LabelSelector_5 } from "./../meta/v1"; import { ListMeta as _ListMeta_2 } from "./../meta/v1"; import { ObjectMeta as _ObjectMeta_1 } from "./../meta/v1"; import { Volume as _Volume_7 } from "./../v1"; import { VolumeMount as _VolumeMount_6 } from "./../v1"; import { WatchEvent as _WatchEvent_9 } from "./../meta/v1"; /** * PodPreset is a policy resource that defines additional runtime requirements for a Pod. */ export declare interface PodPreset { /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources */ apiVersion: "settings.k8s.io/v1alpha1"; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds */ kind: "PodPreset"; metadata?: _ObjectMeta_1; spec?: PodPresetSpec; } /** * PodPresetList is a list of PodPreset objects. */ export declare interface PodPresetList { /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources */ apiVersion: "settings.k8s.io/v1alpha1"; /** * Items is a list of schema objects. */ items: Iterable; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds */ kind: "PodPresetList"; /** * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata */ metadata?: _ListMeta_2; } /** * PodPresetSpec is a description of a pod preset. */ export declare interface PodPresetSpec { /** * Env defines the collection of EnvVar to inject into containers. */ env?: Iterable<_EnvVar_3>; /** * EnvFrom defines the collection of EnvFromSource to inject into containers. */ envFrom?: Iterable<_EnvFromSource_4>; /** * Selector is a label query over a set of resources, in this case pods. Required. */ selector?: _LabelSelector_5; /** * VolumeMounts defines the collection of VolumeMount to inject into containers. */ volumeMounts?: Iterable<_VolumeMount_6>; /** * Volumes defines the collection of Volume to inject into the pod. */ volumes?: Iterable<_Volume_7>; } export declare type DeleteOptions = _DeleteOptions_8; export declare type WatchEvent = _WatchEvent_9;