kubernetes-models
Version:
25 lines (24 loc) • 1.41 kB
TypeScript
import { IIoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy } from "./RollingUpdateStatefulSetStrategy";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
*/
export interface IStatefulSetUpdateStrategy {
/**
* RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
*/
"rollingUpdate"?: IIoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy;
/**
* Type indicates the type of the StatefulSetUpdateStrategy.
*/
"type"?: string;
}
/**
* StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
*/
export declare class StatefulSetUpdateStrategy extends Model<IStatefulSetUpdateStrategy> implements IStatefulSetUpdateStrategy {
"rollingUpdate"?: IIoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy;
"type"?: string;
constructor(data?: ModelData<IStatefulSetUpdateStrategy>);
}
export { IStatefulSetUpdateStrategy as IIoK8sApiAppsV1beta1StatefulSetUpdateStrategy, StatefulSetUpdateStrategy as IoK8sApiAppsV1beta1StatefulSetUpdateStrategy };