
make containerd extensible to support more sandbox controllers registered into containerd by config. we change the default sandbox controller plugin's name from "local" to "shim". to make sure we can get the controller by the plugin name it registered into containerd. Signed-off-by: Abel Feng <fshb1988@gmail.com>
41 lines
1.5 KiB
Go
41 lines
1.5 KiB
Go
/*
|
|
Copyright The containerd 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
|
|
|
|
http://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 services
|
|
|
|
const (
|
|
// ContentService is id of content service.
|
|
ContentService = "content-service"
|
|
// SnapshotsService is id of snapshots service.
|
|
SnapshotsService = "snapshots-service"
|
|
// SandboxControllersService is id of snapshots service.
|
|
SandboxControllersService = "sandboxes-service"
|
|
// ImagesService is id of images service.
|
|
ImagesService = "images-service"
|
|
// ContainersService is id of containers service.
|
|
ContainersService = "containers-service"
|
|
// TasksService is id of tasks service.
|
|
TasksService = "tasks-service"
|
|
// NamespacesService is id of namespaces service.
|
|
NamespacesService = "namespaces-service"
|
|
// DiffService is id of diff service.
|
|
DiffService = "diff-service"
|
|
// IntrospectionService is the id of introspection service
|
|
IntrospectionService = "introspection-service"
|
|
// StreamingService is the id of the streaming service
|
|
StreamingService = "streaming-service"
|
|
)
|