import { IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1Time } from "../../meta/v1/Time.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * CiliumNetworkPolicyNodeStatus is the status of a Cilium policy rule for a * specific node. */ export interface ICiliumNetworkPolicyNodeStatus { /** * Annotations corresponds to the Annotations in the ObjectMeta of the CNP * that have been realized on the node for CNP. That is, if a CNP has been * imported and has been assigned annotation X=Y by the user, * Annotations in CiliumNetworkPolicyNodeStatus will be X=Y once the * CNP that was imported corresponding to Annotation X=Y has been realized on * the node. */ "annotations"?: { [key: string]: string; }; /** * Enforcing is set to true once all endpoints present at the time the * policy has been imported are enforcing this policy. */ "enforcing"?: boolean; /** * Error describes any error that occurred when parsing or importing the * policy, or realizing the policy for the endpoints to which it applies * on the node. */ "error"?: string; /** * LastUpdated contains the last time this status was updated */ "lastUpdated"?: IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1Time; /** * Revision is the policy revision of the repository which first implemented * this policy. */ "localPolicyRevision"?: number; /** * OK is true when the policy has been parsed and imported successfully * into the in-memory policy repository on the node. */ "ok"?: boolean; } /** * CiliumNetworkPolicyNodeStatus is the status of a Cilium policy rule for a * specific node. */ export declare class CiliumNetworkPolicyNodeStatus extends Model implements ICiliumNetworkPolicyNodeStatus { "annotations"?: { [key: string]: string; }; "enforcing"?: boolean; "error"?: string; "lastUpdated"?: IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1Time; "localPolicyRevision"?: number; "ok"?: boolean; constructor(data?: ModelData); } export type { ICiliumNetworkPolicyNodeStatus as IComGithubCiliumCiliumPkgK8sApisCiliumIoV2CiliumNetworkPolicyNodeStatus, CiliumNetworkPolicyNodeStatus as ComGithubCiliumCiliumPkgK8sApisCiliumIoV2CiliumNetworkPolicyNodeStatus };