mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-25 18:14:21 +01:00
Now that we converted the virtcontainers code to the store package, we can remove all the resource storage old code. Fixes: #1099 Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
20 lines
500 B
Go
20 lines
500 B
Go
// Copyright (c) 2017 Intel Corporation
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package virtcontainers
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// common error objects used for argument checking
|
|
var (
|
|
errNeedSandbox = errors.New("Sandbox must be specified")
|
|
errNeedSandboxID = errors.New("Sandbox ID cannot be empty")
|
|
errNeedContainerID = errors.New("Container ID cannot be empty")
|
|
errNeedState = errors.New("State cannot be empty")
|
|
errNoSuchContainer = errors.New("Container does not exist")
|
|
)
|