@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
40 lines (39 loc) • 1.79 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 IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference
*/
export interface IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference {
/**
* Name is the name of the service
* @type {string}
* @memberof IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference
*/
name?: string;
/**
* Namespace is the namespace of the service
* @type {string}
* @memberof IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference
*/
namespace?: 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 IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference
*/
port?: number;
}
export declare function IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReferenceFromJSON(json: any): IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference;
export declare function IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReferenceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference;
export declare function IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReferenceToJSON(value?: IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference | null): any;