Skip to content
Snippets Groups Projects

Process response overhaul

Merged Ghost User requested to merge process-response-overhaul into develop
3 files
+ 12
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -2,6 +2,7 @@ package southbound
import (
spb "code.fbi.h-da.de/cocsn/api/go/gosdn/southbound"
"github.com/openconfig/ygot/ygot"
"github.com/google/uuid"
gpb "github.com/openconfig/gnmi/proto/gnmi"
@@ -18,8 +19,9 @@ type SouthboundInterface interface { // nolint
// SetNode injects SBI specific model
// representation to the transport.
// Needed for type assertion.
SetNode() func(schema *yang.Entry, root interface{}, path *gpb.Path, val interface{}, opts ...ytypes.SetNodeOpt) error
SetNode(schema *yang.Entry, root interface{}, path *gpb.Path, val interface{}, opts ...ytypes.SetNodeOpt) error
Schema() *ytypes.Schema
ID() uuid.UUID
Type() spb.Type
Unmarshal([]byte, []string, ygot.ValidatedGoStruct, ...ytypes.UnmarshalOpt) error
}
Loading