go.mod: re-vendor NRI from the official repo.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
This commit is contained in:
7
vendor/github.com/containerd/nri/README-v0.1.0.md
generated
vendored
7
vendor/github.com/containerd/nri/README-v0.1.0.md
generated
vendored
@@ -1,11 +1,6 @@
|
||||
# nri - Node Resource Interface
|
||||
|
||||
[](https://pkg.go.dev/github.com/containerd/nri)
|
||||
[](https://github.com/containerd/nri/actions?query=workflow%3ACI)
|
||||
[](https://codecov.io/gh/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.
|
||||
|
||||
|
||||
7
vendor/github.com/containerd/nri/README.md
generated
vendored
7
vendor/github.com/containerd/nri/README.md
generated
vendored
@@ -1,5 +1,12 @@
|
||||
## Node Resource Interface, Revisited
|
||||
|
||||
[](https://pkg.go.dev/github.com/containerd/nri)
|
||||
[](https://github.com/containerd/nri/actions?query=workflow%3ACI)
|
||||
[](https://codecov.io/gh/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-
|
||||
|
||||
2
vendor/github.com/containerd/nri/pkg/adaptation/plugin.go
generated
vendored
2
vendor/github.com/containerd/nri/pkg/adaptation/plugin.go
generated
vendored
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user