@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
53 lines (52 loc) • 2.04 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.
*/
import { IoK8sApiCoreV1HTTPHeader } from './';
/**
* HTTPGetAction describes an action based on HTTP Get requests.
* @export
* @interface IoK8sApiCoreV1HTTPGetAction
*/
export interface IoK8sApiCoreV1HTTPGetAction {
/**
* Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
* @type {string}
* @memberof IoK8sApiCoreV1HTTPGetAction
*/
host?: string;
/**
* Custom headers to set in the request. HTTP allows repeated headers.
* @type {Array<IoK8sApiCoreV1HTTPHeader>}
* @memberof IoK8sApiCoreV1HTTPGetAction
*/
httpHeaders?: Array<IoK8sApiCoreV1HTTPHeader>;
/**
* Path to access on the HTTP server.
* @type {string}
* @memberof IoK8sApiCoreV1HTTPGetAction
*/
path?: string;
/**
* 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.
* @type {string}
* @memberof IoK8sApiCoreV1HTTPGetAction
*/
port: string;
/**
* Scheme to use for connecting to the host. Defaults to HTTP.
* @type {string}
* @memberof IoK8sApiCoreV1HTTPGetAction
*/
scheme?: string;
}
export declare function IoK8sApiCoreV1HTTPGetActionFromJSON(json: any): IoK8sApiCoreV1HTTPGetAction;
export declare function IoK8sApiCoreV1HTTPGetActionFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1HTTPGetAction;
export declare function IoK8sApiCoreV1HTTPGetActionToJSON(value?: IoK8sApiCoreV1HTTPGetAction | null): any;