spiegel_podman/vendor/github.com/opencontainers/runtime-tools/specerror/runtime-linux.go
tomsweeneyredhat 2e8bce201e [v4.4.1-rhel] Bump runc to 1.2.9, Buidah 1.29.6
Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-12-17 15:39:55 -05:00

21 lines
635 B
Go

package specerror
import (
"fmt"
rfc2119 "github.com/opencontainers/runtime-tools/error"
)
// define error codes
const (
// DefaultRuntimeLinuxSymlinks represents "While creating the container (step 2 in the lifecycle), runtimes MUST create default symlinks if the source file exists after processing `mounts`."
DefaultRuntimeLinuxSymlinks Code = 0xf001 + iota
)
var devSymbolicLinksRef = func(version string) (reference string, err error) {
return fmt.Sprintf(referenceTemplate, version, "runtime-linux.md#dev-symbolic-links"), nil
}
func init() {
register(DefaultRuntimeLinuxSymlinks, rfc2119.Must, devSymbolicLinksRef)
}