Documentation ¶
Index ¶
- type APIErrors
- type App
- func (a *App) CapRun(cmd *cobra.Command, args []string) error
- func (a *App) GetRequest(ctx context.Context, tName string, req *gnmi.GetRequest)
- func (a *App) GetRun(cmd *cobra.Command, args []string) error
- func (a *App) GetSetRequest(ctx context.Context, tName string, req *gnmi.GetRequest)
- func (a *App) GetSetRun(cmd *cobra.Command, args []string) error
- func (a *App) InitCapabilitiesFlags(cmd *cobra.Command)
- func (a *App) InitGetFlags(cmd *cobra.Command)
- func (a *App) InitGetSetFlags(cmd *cobra.Command)
- func (a *App) InitGlobalFlags()
- func (a *App) InitLocker() error
- func (a *App) InitSetFlags(cmd *cobra.Command)
- func (a *App) InitSubscribeFlags(cmd *cobra.Command)
- func (a *App) LoadProtoFiles() (desc.Descriptor, error)
- func (a *App) PreRun(_ *cobra.Command, args []string) error
- func (a *App) PrintMsg(address string, msgName string, msg proto.Message) error
- func (a *App) ReqCapabilities(ctx context.Context, tName string)
- func (a *App) SetRequest(ctx context.Context, tName string, req *gnmi.SetRequest)
- func (a *App) SetRun(cmd *cobra.Command, args []string) error
- func (a *App) SubscribeRun(cmd *cobra.Command, args []string) error
- func (a *App) SubscribeRunONCE(cmd *cobra.Command, args []string) error
- func (a *App) SubscribeRunPoll(cmd *cobra.Command, args []string) error
- func (a *App) SubscribeRunPrompt(cmd *cobra.Command, args []string) error
- func (a *App) VersionRun(cmd *cobra.Command, args []string)
- func (a *App) VersionUpgradeRun(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Cfn context.CancelFunc RootCmd *cobra.Command Config *config.Config Logger *log.Logger PromptMode bool PromptHistory []string SchemaTree *yang.Entry // contains filtered or unexported fields }
func (*App) GetRequest ¶
func (*App) GetSetRequest ¶ added in v0.10.0
func (*App) InitCapabilitiesFlags ¶ added in v0.9.0
func (*App) InitGetFlags ¶ added in v0.9.0
InitGetFlags used to init or reset getCmd flags for gnmic-prompt mode
func (*App) InitGetSetFlags ¶ added in v0.10.0
InitGetSetFlags used to init or reset getsetCmd flags for gnmic-prompt mode
func (*App) InitGlobalFlags ¶ added in v0.9.0
func (a *App) InitGlobalFlags()
func (*App) InitLocker ¶
func (*App) InitSetFlags ¶ added in v0.9.0
InitSetFlags used to init or reset setCmd flags for gnmic-prompt mode
func (*App) InitSubscribeFlags ¶ added in v0.9.0
InitSubscribeFlags used to init or reset subscribeCmd flags for gnmic-prompt mode
func (*App) LoadProtoFiles ¶ added in v0.9.0
func (a *App) LoadProtoFiles() (desc.Descriptor, error)
func (*App) SetRequest ¶
func (*App) SubscribeRunONCE ¶
func (*App) SubscribeRunPoll ¶
func (*App) SubscribeRunPrompt ¶
Click to show internal directories.
Click to hide internal directories.