@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
36 lines (35 loc) • 1.73 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.
*/
/**
* SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.
* @export
* @interface IoK8sApiCoreV1SeccompProfile
*/
export interface IoK8sApiCoreV1SeccompProfile {
/**
* localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type.
* @type {string}
* @memberof IoK8sApiCoreV1SeccompProfile
*/
localhostProfile?: string;
/**
* type indicates which kind of seccomp profile will be applied. Valid options are:
*
* Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.
* @type {string}
* @memberof IoK8sApiCoreV1SeccompProfile
*/
type: string;
}
export declare function IoK8sApiCoreV1SeccompProfileFromJSON(json: any): IoK8sApiCoreV1SeccompProfile;
export declare function IoK8sApiCoreV1SeccompProfileFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1SeccompProfile;
export declare function IoK8sApiCoreV1SeccompProfileToJSON(value?: IoK8sApiCoreV1SeccompProfile | null): any;