@kubernetes/client-node
Version:
NodeJS client for kubernetes
50 lines (49 loc) • 1.43 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
export declare class AdmissionregistrationV1ServiceReference {
/**
* `name` is the name of the service. Required
*/
'name': string;
/**
* `namespace` is the namespace of the service. Required
*/
'namespace': string;
/**
* `path` is an optional URL path which will be sent in any request to this service.
*/
'path'?: string;
/**
* If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
*/
'port'?: number;
static readonly discriminator: string | undefined;
static readonly mapping: {
[]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}