kubernetes-models
Version:
25 lines (24 loc) • 1.15 kB
TypeScript
import { IIoK8sApiPolicyV1beta1IDRange } from "./IDRange";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* FSGroupStrategyOptions defines the strategy type and options used to create the strategy.
*/
export interface IFSGroupStrategyOptions {
/**
* ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
*/
"ranges"?: Array<IIoK8sApiPolicyV1beta1IDRange>;
/**
* rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
*/
"rule"?: string;
}
/**
* FSGroupStrategyOptions defines the strategy type and options used to create the strategy.
*/
export declare class FSGroupStrategyOptions extends Model<IFSGroupStrategyOptions> implements IFSGroupStrategyOptions {
"ranges"?: Array<IIoK8sApiPolicyV1beta1IDRange>;
"rule"?: string;
constructor(data?: ModelData<IFSGroupStrategyOptions>);
}
export { IFSGroupStrategyOptions as IIoK8sApiPolicyV1beta1FSGroupStrategyOptions, FSGroupStrategyOptions as IoK8sApiPolicyV1beta1FSGroupStrategyOptions };