Merge pull request #7009 from mikebrow/update-gocni

This commit is contained in:
Fu Wei
2022-06-02 11:09:46 +08:00
committed by GitHub
8 changed files with 91 additions and 15 deletions

View File

@@ -38,6 +38,11 @@ func (f *FakeCNIPlugin) Setup(ctx context.Context, id, path string, opts ...cni.
return nil, nil
}
// SetupSerially sets up the network of PodSandbox without doing the interfaces in parallel.
func (f *FakeCNIPlugin) SetupSerially(ctx context.Context, id, path string, opts ...cni.NamespaceOpts) (*cni.Result, error) {
return nil, nil
}
// Remove teardown the network of PodSandbox.
func (f *FakeCNIPlugin) Remove(ctx context.Context, id, path string, opts ...cni.NamespaceOpts) error {
return nil