Documentation
¶
Index ¶
- func CreatePrefix(prefix, target string) (*gnmi.Path, error)
- func GetHost(hostport string) string
- func GnmiPathToXPath(p *gnmi.Path, noKeys bool) string
- func MergeMaps(dst, src map[string]interface{}) map[string]interface{}
- func NewTLSConfig(ca, cert, key string, skipVerify bool) (*tls.Config, error)
- func ParsePath(p string) (*gnmi.Path, error)
- func PathElems(pf, p *gnmi.Path) []*gnmi.PathElem
- func SelfSignedCerts() (tls.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePrefix ¶ added in v0.18.0
CreatePrefix //
func NewTLSConfig ¶ added in v0.18.0
func ParsePath ¶ added in v0.18.0
ParsePath creates a gnmi.Path out of a p string, check if the first element is prefixed by an origin, removes it from the xpath and adds it to the returned gnmiPath
func SelfSignedCerts ¶ added in v0.18.0
func SelfSignedCerts() (tls.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.