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()

3
vendor/modules.txt vendored
View File

@@ -126,7 +126,7 @@ github.com/containerd/go-runc
## explicit; go 1.16
github.com/containerd/imgcrypt
github.com/containerd/imgcrypt/images/encryption
# github.com/containerd/nri v0.2.0 => github.com/klihub/nri v0.0.0-20221122201439-2b09b4ad5cf3
# github.com/containerd/nri v0.2.0
## explicit; go 1.18
github.com/containerd/nri
github.com/containerd/nri/pkg/adaptation
@@ -790,5 +790,4 @@ sigs.k8s.io/structured-merge-diff/v4/value
# sigs.k8s.io/yaml v1.3.0
## explicit; go 1.12
sigs.k8s.io/yaml
# github.com/containerd/nri => github.com/klihub/nri v0.0.0-20221122201439-2b09b4ad5cf3
# github.com/opencontainers/runtime-tools => github.com/opencontainers/runtime-tools v0.0.0-20221026201742-946c877fa809