@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
58 lines (57 loc) • 2.46 kB
TypeScript
/**
* KubeVirt Containerized Data Importer API
* Containerized Data Importer for KubeVirt.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
* @export
* @interface V1OwnerReference
*/
export interface V1OwnerReference {
/**
* API version of the referent.
* @type {string}
* @memberof V1OwnerReference
*/
apiVersion: string;
/**
* If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
* @type {boolean}
* @memberof V1OwnerReference
*/
blockOwnerDeletion?: boolean;
/**
* If true, this reference points to the managing controller.
* @type {boolean}
* @memberof V1OwnerReference
*/
controller?: boolean;
/**
* Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @type {string}
* @memberof V1OwnerReference
*/
kind: string;
/**
* Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
* @type {string}
* @memberof V1OwnerReference
*/
name: string;
/**
* UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
* @type {string}
* @memberof V1OwnerReference
*/
uid: string;
}
export declare function V1OwnerReferenceFromJSON(json: any): V1OwnerReference;
export declare function V1OwnerReferenceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1OwnerReference;
export declare function V1OwnerReferenceToJSON(value?: V1OwnerReference | null): any;