UNPKG

kubernetes-models

Version:
25 lines (24 loc) 1.43 kB
import { IIoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy } 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"?: IIoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy; /** * Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. */ "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"?: IIoK8sApiAppsV1beta2RollingUpdateStatefulSetStrategy; "type"?: string; constructor(data?: ModelData<IStatefulSetUpdateStrategy>); } export { IStatefulSetUpdateStrategy as IIoK8sApiAppsV1beta2StatefulSetUpdateStrategy, StatefulSetUpdateStrategy as IoK8sApiAppsV1beta2StatefulSetUpdateStrategy };