drivers: Create drivers/shared/structs

This creates a drivers/shared/structs package and moves the buffer size
checks into it.
This commit is contained in:
Danielle Tomlinson
2018-11-28 17:29:57 +01:00
parent d2136e0aa7
commit 23197ec6b4
5 changed files with 19 additions and 19 deletions

View File

@@ -18,11 +18,6 @@ import (
"github.com/zclconf/go-cty/cty/msgpack"
)
const (
// CheckBufSize is the size of the check output result
CheckBufSize = 4 * 1024
)
// DriverPlugin is the interface with drivers will implement. It is also
// implemented by a plugin client which proxies the calls to go-plugin. See
// the proto/driver.proto file for detailed information about each RPC and