UNPKG

kubernetes-models

Version:
24 lines (23 loc) 1.33 kB
import { IIoK8sApiAppsV1beta1RollingUpdateStatefulSetStrategy } from "./RollingUpdateStatefulSetStrategy"; import { 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; } export { IStatefulSetUpdateStrategy as IIoK8sApiAppsV1beta1StatefulSetUpdateStrategy, StatefulSetUpdateStrategy as IoK8sApiAppsV1beta1StatefulSetUpdateStrategy };