@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
46 lines (45 loc) • 1.9 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* 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
* @interface IoK8sApiAdmissionregistrationV1ServiceReference
*/
export interface IoK8sApiAdmissionregistrationV1ServiceReference {
/**
* `name` is the name of the service. Required
* @type {string}
* @memberof IoK8sApiAdmissionregistrationV1ServiceReference
*/
name: string;
/**
* `namespace` is the namespace of the service. Required
* @type {string}
* @memberof IoK8sApiAdmissionregistrationV1ServiceReference
*/
namespace: string;
/**
* `path` is an optional URL path which will be sent in any request to this service.
* @type {string}
* @memberof IoK8sApiAdmissionregistrationV1ServiceReference
*/
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).
* @type {number}
* @memberof IoK8sApiAdmissionregistrationV1ServiceReference
*/
port?: number;
}
export declare function IoK8sApiAdmissionregistrationV1ServiceReferenceFromJSON(json: any): IoK8sApiAdmissionregistrationV1ServiceReference;
export declare function IoK8sApiAdmissionregistrationV1ServiceReferenceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAdmissionregistrationV1ServiceReference;
export declare function IoK8sApiAdmissionregistrationV1ServiceReferenceToJSON(value?: IoK8sApiAdmissionregistrationV1ServiceReference | null): any;