From 8b0f0b4d11e0938eec8da411323b2ce35976ab56 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Tue, 12 Jan 2021 17:50:33 -0800 Subject: Delete shim v1 gvisor-containerd-shim is not compatible with containerd 1.1 or earlier. Starting from containerd 1.2, shim v2 is the preferred interface. PiperOrigin-RevId: 351485556 --- pkg/shim/runtimeoptions/runtimeoptions.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pkg/shim/runtimeoptions/runtimeoptions.go (limited to 'pkg/shim/runtimeoptions/runtimeoptions.go') diff --git a/pkg/shim/runtimeoptions/runtimeoptions.go b/pkg/shim/runtimeoptions/runtimeoptions.go new file mode 100644 index 000000000..072dd87f0 --- /dev/null +++ b/pkg/shim/runtimeoptions/runtimeoptions.go @@ -0,0 +1,17 @@ +// 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 runtimeoptions contains the runtimeoptions proto. +package runtimeoptions -- cgit v1.2.3