Documentation ¶
Index ¶
- type Cache
- func (c *Cache) CQuery(t string, query []string, fn ctree.VisitFunc) error
- func (c *Cache) GetCache() *cache.Cache
- func (c *Cache) GetGnmiUpdateAsJsonBlob(t, o string, u *gnmi.Update) error
- func (c *Cache) GetJson(t string, p *gnmi.Path) (interface{}, error)
- func (c *Cache) GetNotificationFromDelete(t, o string, p *gnmi.Path) (*gnmi.Notification, error)
- func (c *Cache) GetNotificationFromJSON(t, o string, p *gnmi.Path, val interface{}, refPaths []*gnmi.Path) (*gnmi.Notification, error)
- func (c *Cache) GetNotificationFromUpdate(t, o string, u *gnmi.Update) (*gnmi.Notification, error)
- func (c *Cache) GnmiUpdate(t string, n *gnmi.Notification) error
- func (c *Cache) Query(t string, p *gnmi.Path) (*gnmi.Notification, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) GetGnmiUpdateAsJsonBlob ¶
func (*Cache) GetNotificationFromDelete ¶ added in v0.1.141
func (*Cache) GetNotificationFromJSON ¶ added in v0.1.193
func (c *Cache) GetNotificationFromJSON(t, o string, p *gnmi.Path, val interface{}, refPaths []*gnmi.Path) (*gnmi.Notification, error)
GetNotificationFromJson provides fine granular notifications from the json blob
func (*Cache) GetNotificationFromUpdate ¶
GetNotificationFromUpdate provides fine granular notifications from the gnmi update by expanding the json blob value into inividual notifications.
func (*Cache) GnmiUpdate ¶
func (c *Cache) GnmiUpdate(t string, n *gnmi.Notification) error
Click to show internal directories.
Click to hide internal directories.