configurable

package
v0.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurable

type Configurable interface {
	Get(GetRequest) (GetResponse, error)
	Set(SetRequest) (SetResponse, error)
}

Configurable interface between gnmi agent and app

type GetRequest

type GetRequest struct {
	Paths        []*gnmi.Path
	Prefix       *gnmi.Path
	EncodingType gnmi.Encoding
	DataType     string
}

GetRequest

type GetResponse

type GetResponse struct {
	Notifications []*gnmi.Notification
}

GetResponse

type SetRequest

type SetRequest struct {
	DeletePaths  []*gnmi.Path
	ReplacePaths []*gnmi.Update
	UpdatePaths  []*gnmi.Update
	Prefix       *gnmi.Path
}

SetRequest

type SetResponse

type SetResponse struct {
	Results []*gnmi.UpdateResult
}

SetResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL