@kubernetes-models/apimachinery
Version:
Types for Kubernetes API objects
19 lines (18 loc) • 913 B
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.
*/
export interface IShardInfo {
/**
* selector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.
*/
"selector": string;
}
/**
* ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.
*/
export declare class ShardInfo extends Model<IShardInfo> implements IShardInfo {
"selector": string;
constructor(data?: ModelData<IShardInfo>);
}
export type { IShardInfo as IIoK8sApimachineryPkgApisMetaV1ShardInfo, ShardInfo as IoK8sApimachineryPkgApisMetaV1ShardInfo };