Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Log logging.Logger
Name string
Key []string
Parent Handler
Children map[string]Handler
ResourceBoundary bool
LeafRefs []*leafref.LeafRef
}
func (*Entry) GetChildren ¶
func (*Entry) GetLeafRef ¶ added in v0.1.258
func (*Entry) GetResourceBoundary ¶ added in v0.1.236
type HandleInitFunc ¶
type HandleInitFunc func(parent Handler, opts ...HandlerOption) Handler
type Handler ¶
type Handler interface {
WithLogging(log logging.Logger)
GetName() string
GetKey() []string
GetKeys(p *gnmi.Path) []string
GetResourceBoundary() bool
GetHierarchicalResourcesRemote(p *gnmi.Path, cp *gnmi.Path, hierPaths []*gnmi.Path) []*gnmi.Path
GetHierarchicalResourcesLocal(root bool, p *gnmi.Path, cp *gnmi.Path, hierPaths []*gnmi.Path) []*gnmi.Path
GetLeafRefsLocal(root bool, p *gnmi.Path, cp *gnmi.Path, leafRefs []*leafref.LeafRef) []*leafref.LeafRef
}
type HandlerOption ¶ added in v0.1.217
type HandlerOption func(Handler)
func WithLogging ¶ added in v0.1.217
func WithLogging(log logging.Logger) HandlerOption
Click to show internal directories.
Click to hide internal directories.