cmd

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Implementation of reply subcommand. Command to get capabilities of the device.

Implementation of reply subcommand. Command to get either running or candidate config from the device.

Implementation of get subcommand. Get command has below sub commands - capabilities - config - reply

Implementation of reply subcommand. Command to get reply from the device for given input RPC request.

This file implements root command of the netconf-cli.

Index

Constants

This section is empty.

Variables

View Source
var ConfigObj = koanf.New(".")

Functions

func CreateSession

func CreateSession(port int) *netconf.Session

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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