kubernetes-models
Version:
23 lines (22 loc) • 834 B
TypeScript
import { Model } from "@kubernetes-models/base";
/**
* NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface
*/
export interface INonResourceAttributes {
/**
* Path is the URL path of the request
*/
"path"?: string;
/**
* Verb is the standard HTTP verb
*/
"verb"?: string;
}
/**
* NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface
*/
export declare class NonResourceAttributes extends Model<INonResourceAttributes> implements INonResourceAttributes {
"path"?: string;
"verb"?: string;
}
export { INonResourceAttributes as IIoK8sApiAuthorizationV1NonResourceAttributes, NonResourceAttributes as IoK8sApiAuthorizationV1NonResourceAttributes };