@kubernetes-models/apimachinery
Version:
Types for Kubernetes API objects
7 lines (6 loc) • 482 B
TypeScript
/**
* IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.
*/
export declare type IIntOrString = string | number;
export declare type IntOrString = IIntOrString;
export { IIntOrString as IIoK8sApimachineryPkgUtilIntstrIntOrString, IntOrString as IoK8sApimachineryPkgUtilIntstrIntOrString };