@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
47 lines (46 loc) • 2.5 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 { IoK8sApiFlowcontrolV1FlowDistinguisherMethod, IoK8sApiFlowcontrolV1PolicyRulesWithSubjects, IoK8sApiFlowcontrolV1PriorityLevelConfigurationReference } from './';
/**
* FlowSchemaSpec describes how the FlowSchema's specification looks like.
* @export
* @interface IoK8sApiFlowcontrolV1FlowSchemaSpec
*/
export interface IoK8sApiFlowcontrolV1FlowSchemaSpec {
/**
*
* @type {IoK8sApiFlowcontrolV1FlowDistinguisherMethod}
* @memberof IoK8sApiFlowcontrolV1FlowSchemaSpec
*/
distinguisherMethod?: IoK8sApiFlowcontrolV1FlowDistinguisherMethod;
/**
* `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.
* @type {number}
* @memberof IoK8sApiFlowcontrolV1FlowSchemaSpec
*/
matchingPrecedence?: number;
/**
*
* @type {IoK8sApiFlowcontrolV1PriorityLevelConfigurationReference}
* @memberof IoK8sApiFlowcontrolV1FlowSchemaSpec
*/
priorityLevelConfiguration: IoK8sApiFlowcontrolV1PriorityLevelConfigurationReference;
/**
* `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.
* @type {Array<IoK8sApiFlowcontrolV1PolicyRulesWithSubjects>}
* @memberof IoK8sApiFlowcontrolV1FlowSchemaSpec
*/
rules?: Array<IoK8sApiFlowcontrolV1PolicyRulesWithSubjects>;
}
export declare function IoK8sApiFlowcontrolV1FlowSchemaSpecFromJSON(json: any): IoK8sApiFlowcontrolV1FlowSchemaSpec;
export declare function IoK8sApiFlowcontrolV1FlowSchemaSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiFlowcontrolV1FlowSchemaSpec;
export declare function IoK8sApiFlowcontrolV1FlowSchemaSpecToJSON(value?: IoK8sApiFlowcontrolV1FlowSchemaSpec | null): any;