Change module name to go.fd.io/govpp
[govpp.git] / adapter / vppapiclient / stat_client_stub.go
index c764391..3aa9cc5 100644 (file)
@@ -17,7 +17,7 @@
 package vppapiclient
 
 import (
-       "git.fd.io/govpp.git/adapter"
+       "go.fd.io/govpp/adapter"
 )
 
 // stubStatClient is just an stub adapter that does nothing. It builds only on Windows and OSX, where the real
@@ -36,7 +36,7 @@ func (*stubStatClient) Disconnect() error {
        return nil
 }
 
-func (*stubStatClient) ListStats(patterns ...string) (statNames []string, err error) {
+func (*stubStatClient) ListStats(patterns ...string) (indexes []adapter.StatIdentifier, err error) {
        return nil, adapter.ErrNotImplemented
 }
 
@@ -48,6 +48,10 @@ func (*stubStatClient) PrepareDir(prefixes ...string) (*adapter.StatDir, error)
        return nil, adapter.ErrNotImplemented
 }
 
+func (*stubStatClient) PrepareDirOnIndex(indexes ...uint32) (*adapter.StatDir, error) {
+       return nil, adapter.ErrNotImplemented
+}
+
 func (*stubStatClient) UpdateDir(dir *adapter.StatDir) error {
        return adapter.ErrNotImplemented
 }