|
|
@@ -1,7 +1,14 @@
|
|
|
package cfgcommon
|
|
|
|
|
|
-import "github.com/golang/protobuf/proto"
|
|
|
+import (
|
|
|
+ "context"
|
|
|
+ "github.com/golang/protobuf/proto"
|
|
|
+)
|
|
|
|
|
|
type Buildable interface {
|
|
|
Build() (proto.Message, error)
|
|
|
}
|
|
|
+
|
|
|
+type BuildableV5 interface {
|
|
|
+ BuildV5(ctx context.Context) (proto.Message, error)
|
|
|
+}
|