go.mod: re-vendor NRI from the official repo.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
This commit is contained in:
Krisztian Litkey
2022-12-01 21:26:22 +02:00
parent 51195ad099
commit 740e90177a
9 changed files with 29 additions and 78 deletions

View File

@@ -1,11 +1,6 @@
# nri - Node Resource Interface
[![PkgGoDev](https://pkg.go.dev/badge/github.com/containerd/nri)](https://pkg.go.dev/github.com/containerd/nri)
[![Build Status](https://github.com/containerd/nri/workflows/CI/badge.svg)](https://github.com/containerd/nri/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/containerd/nri/branch/main/graph/badge.svg)](https://codecov.io/gh/containerd/nri)
[![Go Report Card](https://goreportcard.com/badge/github.com/containerd/nri)](https://goreportcard.com/report/github.com/containerd/nri)
*This project is currently in DRAFT status*
*This version of NRI is supported through the included v010-adapter plugin.*
This project is a WIP for a new, CNI like, interface for managing resources on a node for Pods and Containers.

View File

@@ -1,5 +1,12 @@
## Node Resource Interface, Revisited
[![PkgGoDev](https://pkg.go.dev/badge/github.com/containerd/nri)](https://pkg.go.dev/github.com/containerd/nri)
[![Build Status](https://github.com/containerd/nri/workflows/CI/badge.svg)](https://github.com/containerd/nri/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/containerd/nri/branch/main/graph/badge.svg)](https://codecov.io/gh/containerd/nri)
[![Go Report Card](https://goreportcard.com/badge/github.com/containerd/nri)](https://goreportcard.com/report/github.com/containerd/nri)
*This project is currently in DRAFT status*
### Goal
NRI allows plugging domain- or vendor-specific custom logic into OCI-

View File

@@ -205,7 +205,7 @@ func (p *plugin) start(name, version string) error {
return fmt.Errorf("failed to register plugin: %w", err)
}
case <-p.closeC:
return fmt.Errorf("failed to register plugin, connection closed: %w", err)
return fmt.Errorf("failed to register plugin, connection closed")
case <-time.After(pluginRegistrationTimeout):
p.close()
p.stop()