From a6372125aa1327ab523a746d47cd17908763d27c Mon Sep 17 00:00:00 2001
From: weiyuan <weiyuan@kylinos.cn>
Date: Tue, 21 May 2024 09:37:59 +0800
Subject: [PATCH] support crio container engine

---
 pkg/core/typedef/containerinfo.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pkg/core/typedef/containerinfo.go b/pkg/core/typedef/containerinfo.go
index f751b25..845105f 100644
--- a/pkg/core/typedef/containerinfo.go
+++ b/pkg/core/typedef/containerinfo.go
@@ -36,6 +36,8 @@ const (
 	CONTAINERD
 	// ISULAD means isulad container engine
 	ISULAD
+	// CRIO means crio container engine
+	CRIO
 )
 
 var (
@@ -43,6 +45,7 @@ var (
 		DOCKER:     "docker://",
 		CONTAINERD: "containerd://",
 		ISULAD:     "iSulad://",
+		CRIO:       "cri-o://",
 	}
 	currentContainerEngines = UNDEFINED
 	setContainerEnginesOnce sync.Once
@@ -50,6 +53,7 @@ var (
 		DOCKER:     "docker",
 		CONTAINERD: "cri-containerd",
 		ISULAD:     "isulad",
+		CRIO:       "crio",
 	}
 )
 
-- 
2.39.2 (Apple Git-143)

