kubernetes-models
Version:
43 lines (42 loc) • 1.57 kB
TypeScript
import { IIoK8sApiAppsV1beta1RollbackConfig } from "./RollbackConfig";
import { ModelData, TypeMeta, Model } from "@kubernetes-models/base";
/**
* DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.
* @deprecated
*/
export interface IDeploymentRollback extends TypeMeta {
"apiVersion": "apps/v1beta1";
"kind": "DeploymentRollback";
/**
* Required: This must match the Name of a deployment.
*/
"name": string;
/**
* The config of this deployment rollback.
*/
"rollbackTo": IIoK8sApiAppsV1beta1RollbackConfig;
/**
* The annotations to be updated to a deployment
*/
"updatedAnnotations"?: {
[key: string]: string;
};
}
/**
* DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.
* @deprecated
*/
export declare class DeploymentRollback extends Model<IDeploymentRollback> implements IDeploymentRollback {
"apiVersion": IDeploymentRollback["apiVersion"];
"kind": IDeploymentRollback["kind"];
"name": string;
"rollbackTo": IIoK8sApiAppsV1beta1RollbackConfig;
"updatedAnnotations"?: {
[key: string]: string;
};
static apiVersion: IDeploymentRollback["apiVersion"];
static kind: IDeploymentRollback["kind"];
static is: import("@kubernetes-models/base").TypeMetaGuard<IDeploymentRollback>;
constructor(data?: ModelData<IDeploymentRollback>);
}
export { IDeploymentRollback as IIoK8sApiAppsV1beta1DeploymentRollback, DeploymentRollback as IoK8sApiAppsV1beta1DeploymentRollback };