Skip to content

Commit 61b3e22

Browse files
committed
Alias protobuf plugin to new api types package
Signed-off-by: Derek McGowan <[email protected]>
1 parent 4b82470 commit 61b3e22

3 files changed

Lines changed: 28 additions & 161 deletions

File tree

protobuf/plugin/doc.go

Lines changed: 0 additions & 17 deletions
This file was deleted.

protobuf/plugin/fieldpath.go

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
Copyright The containerd Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
package plugin
18+
19+
import (
20+
"github.com/containerd/containerd/api/types"
21+
)
22+
23+
// This package is deprecated, public fields are imported for compatibility
24+
var (
25+
E_FieldpathAll = types.E_FieldpathAll //nolint:revive // underscores are not allowed, but this was original name
26+
E_Fieldpath = types.E_Fieldpath //nolint:revive // underscores are not allowed, but this was original name
27+
File_github_com_containerd_containerd_protobuf_plugin_fieldpath_proto = types.File_github_com_containerd_containerd_api_types_fieldpath_proto //nolint:revive // underscores are not allowed, but this was original name
28+
)

protobuf/plugin/fieldpath.pb.go

Lines changed: 0 additions & 144 deletions
This file was deleted.

0 commit comments

Comments
 (0)