summaryrefslogtreecommitdiffhomepage
path: root/pkg/shim/runtimeoptions/v14/runtimeoptions.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-10-25 20:22:20 +0000
committergVisor bot <gvisor-bot@google.com>2021-10-25 20:22:20 +0000
commit1dfaf48b0ecd8da3e673cdece573c5519aeee2e7 (patch)
tree5f37643fdd85b726b1c6a224f0ad133da71b6381 /pkg/shim/runtimeoptions/v14/runtimeoptions.go
parentdcc0a8f024f1a7bbe43c84c499d8f72f779e1428 (diff)
parent9262ea47a5d93d44b14f298663982b75ed2e4898 (diff)
Merge release-20211019.0-33-g9262ea47a (automated)
Diffstat (limited to 'pkg/shim/runtimeoptions/v14/runtimeoptions.go')
-rw-r--r--pkg/shim/runtimeoptions/v14/runtimeoptions.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkg/shim/runtimeoptions/v14/runtimeoptions.go b/pkg/shim/runtimeoptions/v14/runtimeoptions.go
new file mode 100644
index 000000000..7b34a1f6b
--- /dev/null
+++ b/pkg/shim/runtimeoptions/v14/runtimeoptions.go
@@ -0,0 +1,20 @@
+// Copyright 2018 The containerd Authors.
+// Copyright 2018 The gVisor Authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Package v14 contains the runtimeoptions proto for containerd 1.4 and earlier.
+// The package for runtimeoptions proto changed from "cri.runtimeoptions.v1" to
+// "runtimeoptions.v1" in 1.5, So keep both versions until 1.4 doesn't need to
+// be supported anymore.
+package v14