@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
34 lines (33 loc) • 1.53 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.
*/
/**
* NonResourceRule holds information that describes a rule for the non-resource
* @export
* @interface IoK8sApiAuthorizationV1NonResourceRule
*/
export interface IoK8sApiAuthorizationV1NonResourceRule {
/**
* NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.
* @type {Array<string>}
* @memberof IoK8sApiAuthorizationV1NonResourceRule
*/
nonResourceURLs?: Array<string>;
/**
* Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
* @type {Array<string>}
* @memberof IoK8sApiAuthorizationV1NonResourceRule
*/
verbs: Array<string>;
}
export declare function IoK8sApiAuthorizationV1NonResourceRuleFromJSON(json: any): IoK8sApiAuthorizationV1NonResourceRule;
export declare function IoK8sApiAuthorizationV1NonResourceRuleFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAuthorizationV1NonResourceRule;
export declare function IoK8sApiAuthorizationV1NonResourceRuleToJSON(value?: IoK8sApiAuthorizationV1NonResourceRule | null): any;