Documentation
¶
Overview ¶
Package IOSXRExtensibleManagabilityService is a generated protocol buffer package.
Package implements gRPC Model Driven Telemetry service ¶
It is generated from these files:
ems_grpc.proto
It has these top-level messages:
ConfigGetArgs ConfigGetReply GetOperArgs GetOperReply ConfigArgs ConfigReply CliConfigArgs CliConfigReply CommitReplaceArgs CommitReplaceReply CommitMsg CommitArgs CommitReply DiscardChangesArgs DiscardChangesReply ShowCmdArgs ShowCmdTextReply ShowCmdJSONReply CreateSubsArgs CreateSubsReply ActionJSONArgs ActionJSONReply
Index ¶
- Variables
- func RegisterGRPCConfigOperServer(s *grpc.Server, srv GRPCConfigOperServer)
- func RegisterGRPCExecServer(s *grpc.Server, srv GRPCExecServer)
- type ActionJSONArgs
- type ActionJSONReply
- func (*ActionJSONReply) Descriptor() ([]byte, []int)
- func (m *ActionJSONReply) GetErrors() string
- func (m *ActionJSONReply) GetResReqId() int64
- func (m *ActionJSONReply) GetYangjson() string
- func (*ActionJSONReply) ProtoMessage()
- func (m *ActionJSONReply) Reset()
- func (m *ActionJSONReply) String() string
- type CliConfigArgs
- type CliConfigReply
- type CommitArgs
- type CommitMsg
- type CommitReplaceArgs
- func (*CommitReplaceArgs) Descriptor() ([]byte, []int)
- func (m *CommitReplaceArgs) GetCli() string
- func (m *CommitReplaceArgs) GetReqId() int64
- func (m *CommitReplaceArgs) GetYangjson() string
- func (*CommitReplaceArgs) ProtoMessage()
- func (m *CommitReplaceArgs) Reset()
- func (m *CommitReplaceArgs) String() string
- type CommitReplaceReply
- type CommitReply
- type CommitResult
- type ConfigArgs
- type ConfigGetArgs
- type ConfigGetReply
- type ConfigReply
- type CreateSubsArgs
- type CreateSubsReply
- func (*CreateSubsReply) Descriptor() ([]byte, []int)
- func (m *CreateSubsReply) GetData() []byte
- func (m *CreateSubsReply) GetErrors() string
- func (m *CreateSubsReply) GetResReqId() int64
- func (*CreateSubsReply) ProtoMessage()
- func (m *CreateSubsReply) Reset()
- func (m *CreateSubsReply) String() string
- type DiscardChangesArgs
- type DiscardChangesReply
- type GRPCConfigOperClient
- type GRPCConfigOperServer
- type GRPCConfigOper_CreateSubsClient
- type GRPCConfigOper_CreateSubsServer
- type GRPCConfigOper_GetConfigClient
- type GRPCConfigOper_GetConfigServer
- type GRPCConfigOper_GetOperClient
- type GRPCConfigOper_GetOperServer
- type GRPCExecClient
- type GRPCExecServer
- type GRPCExec_ActionJSONClient
- type GRPCExec_ActionJSONServer
- type GRPCExec_ShowCmdJSONOutputClient
- type GRPCExec_ShowCmdJSONOutputServer
- type GRPCExec_ShowCmdTextOutputClient
- type GRPCExec_ShowCmdTextOutputServer
- type GetOperArgs
- type GetOperReply
- type ShowCmdArgs
- type ShowCmdJSONReply
- func (*ShowCmdJSONReply) Descriptor() ([]byte, []int)
- func (m *ShowCmdJSONReply) GetErrors() string
- func (m *ShowCmdJSONReply) GetJsonoutput() string
- func (m *ShowCmdJSONReply) GetResReqId() int64
- func (*ShowCmdJSONReply) ProtoMessage()
- func (m *ShowCmdJSONReply) Reset()
- func (m *ShowCmdJSONReply) String() string
- type ShowCmdTextReply
- func (*ShowCmdTextReply) Descriptor() ([]byte, []int)
- func (m *ShowCmdTextReply) GetErrors() string
- func (m *ShowCmdTextReply) GetOutput() string
- func (m *ShowCmdTextReply) GetResReqId() int64
- func (*ShowCmdTextReply) ProtoMessage()
- func (m *ShowCmdTextReply) Reset()
- func (m *ShowCmdTextReply) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var CommitResult_name = map[int32]string{
0: "CHANGE",
1: "NO_CHANGE",
2: "FAIL",
}
View Source
var CommitResult_value = map[string]int32{
"CHANGE": 0,
"NO_CHANGE": 1,
"FAIL": 2,
}
Functions ¶
func RegisterGRPCConfigOperServer ¶
func RegisterGRPCConfigOperServer(s *grpc.Server, srv GRPCConfigOperServer)
func RegisterGRPCExecServer ¶
func RegisterGRPCExecServer(s *grpc.Server, srv GRPCExecServer)
Types ¶
type ActionJSONArgs ¶ added in v0.3.1
type ActionJSONArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"` Yangpathjson string `protobuf:"bytes,2,opt,name=yangpathjson" json:"yangpathjson,omitempty"` }
func (*ActionJSONArgs) Descriptor ¶ added in v0.3.1
func (*ActionJSONArgs) Descriptor() ([]byte, []int)
func (*ActionJSONArgs) GetReqId ¶ added in v0.3.1
func (m *ActionJSONArgs) GetReqId() int64
func (*ActionJSONArgs) GetYangpathjson ¶ added in v0.3.1
func (m *ActionJSONArgs) GetYangpathjson() string
func (*ActionJSONArgs) ProtoMessage ¶ added in v0.3.1
func (*ActionJSONArgs) ProtoMessage()
func (*ActionJSONArgs) Reset ¶ added in v0.3.1
func (m *ActionJSONArgs) Reset()
func (*ActionJSONArgs) String ¶ added in v0.3.1
func (m *ActionJSONArgs) String() string
type ActionJSONReply ¶ added in v0.3.1
type ActionJSONReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Yangjson string `protobuf:"bytes,2,opt,name=yangjson" json:"yangjson,omitempty"` Errors string `protobuf:"bytes,3,opt,name=errors" json:"errors,omitempty"` }
func (*ActionJSONReply) Descriptor ¶ added in v0.3.1
func (*ActionJSONReply) Descriptor() ([]byte, []int)
func (*ActionJSONReply) GetErrors ¶ added in v0.3.1
func (m *ActionJSONReply) GetErrors() string
func (*ActionJSONReply) GetResReqId ¶ added in v0.3.1
func (m *ActionJSONReply) GetResReqId() int64
func (*ActionJSONReply) GetYangjson ¶ added in v0.3.1
func (m *ActionJSONReply) GetYangjson() string
func (*ActionJSONReply) ProtoMessage ¶ added in v0.3.1
func (*ActionJSONReply) ProtoMessage()
func (*ActionJSONReply) Reset ¶ added in v0.3.1
func (m *ActionJSONReply) Reset()
func (*ActionJSONReply) String ¶ added in v0.3.1
func (m *ActionJSONReply) String() string
type CliConfigArgs ¶
type CliConfigArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"` Cli string `protobuf:"bytes,2,opt,name=cli" json:"cli,omitempty"` }
func (*CliConfigArgs) Descriptor ¶
func (*CliConfigArgs) Descriptor() ([]byte, []int)
func (*CliConfigArgs) GetCli ¶
func (m *CliConfigArgs) GetCli() string
func (*CliConfigArgs) GetReqId ¶
func (m *CliConfigArgs) GetReqId() int64
func (*CliConfigArgs) ProtoMessage ¶
func (*CliConfigArgs) ProtoMessage()
func (*CliConfigArgs) Reset ¶
func (m *CliConfigArgs) Reset()
func (*CliConfigArgs) String ¶
func (m *CliConfigArgs) String() string
type CliConfigReply ¶
type CliConfigReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Errors string `protobuf:"bytes,2,opt,name=errors" json:"errors,omitempty"` }
func (*CliConfigReply) Descriptor ¶
func (*CliConfigReply) Descriptor() ([]byte, []int)
func (*CliConfigReply) GetErrors ¶
func (m *CliConfigReply) GetErrors() string
func (*CliConfigReply) GetResReqId ¶
func (m *CliConfigReply) GetResReqId() int64
func (*CliConfigReply) ProtoMessage ¶
func (*CliConfigReply) ProtoMessage()
func (*CliConfigReply) Reset ¶
func (m *CliConfigReply) Reset()
func (*CliConfigReply) String ¶
func (m *CliConfigReply) String() string
type CommitArgs ¶
type CommitArgs struct { Msg *CommitMsg `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"` ReqId int64 `protobuf:"varint,2,opt,name=ReqId" json:"ReqId,omitempty"` }
func (*CommitArgs) Descriptor ¶
func (*CommitArgs) Descriptor() ([]byte, []int)
func (*CommitArgs) GetMsg ¶
func (m *CommitArgs) GetMsg() *CommitMsg
func (*CommitArgs) GetReqId ¶
func (m *CommitArgs) GetReqId() int64
func (*CommitArgs) ProtoMessage ¶
func (*CommitArgs) ProtoMessage()
func (*CommitArgs) Reset ¶
func (m *CommitArgs) Reset()
func (*CommitArgs) String ¶
func (m *CommitArgs) String() string
type CommitMsg ¶
type CommitMsg struct { Label string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment" json:"comment,omitempty"` }
func (*CommitMsg) Descriptor ¶
func (*CommitMsg) GetComment ¶
func (*CommitMsg) ProtoMessage ¶
func (*CommitMsg) ProtoMessage()
type CommitReplaceArgs ¶
type CommitReplaceArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"` Cli string `protobuf:"bytes,2,opt,name=cli" json:"cli,omitempty"` Yangjson string `protobuf:"bytes,3,opt,name=yangjson" json:"yangjson,omitempty"` }
func (*CommitReplaceArgs) Descriptor ¶
func (*CommitReplaceArgs) Descriptor() ([]byte, []int)
func (*CommitReplaceArgs) GetCli ¶
func (m *CommitReplaceArgs) GetCli() string
func (*CommitReplaceArgs) GetReqId ¶
func (m *CommitReplaceArgs) GetReqId() int64
func (*CommitReplaceArgs) GetYangjson ¶
func (m *CommitReplaceArgs) GetYangjson() string
func (*CommitReplaceArgs) ProtoMessage ¶
func (*CommitReplaceArgs) ProtoMessage()
func (*CommitReplaceArgs) Reset ¶
func (m *CommitReplaceArgs) Reset()
func (*CommitReplaceArgs) String ¶
func (m *CommitReplaceArgs) String() string
type CommitReplaceReply ¶
type CommitReplaceReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Errors string `protobuf:"bytes,2,opt,name=errors" json:"errors,omitempty"` }
func (*CommitReplaceReply) Descriptor ¶
func (*CommitReplaceReply) Descriptor() ([]byte, []int)
func (*CommitReplaceReply) GetErrors ¶
func (m *CommitReplaceReply) GetErrors() string
func (*CommitReplaceReply) GetResReqId ¶
func (m *CommitReplaceReply) GetResReqId() int64
func (*CommitReplaceReply) ProtoMessage ¶
func (*CommitReplaceReply) ProtoMessage()
func (*CommitReplaceReply) Reset ¶
func (m *CommitReplaceReply) Reset()
func (*CommitReplaceReply) String ¶
func (m *CommitReplaceReply) String() string
type CommitReply ¶
type CommitReply struct { Result CommitResult `protobuf:"varint,1,opt,name=result,enum=IOSXRExtensibleManagabilityService.CommitResult" json:"result,omitempty"` ResReqId int64 `protobuf:"varint,2,opt,name=ResReqId" json:"ResReqId,omitempty"` Errors string `protobuf:"bytes,3,opt,name=errors" json:"errors,omitempty"` }
func (*CommitReply) Descriptor ¶
func (*CommitReply) Descriptor() ([]byte, []int)
func (*CommitReply) GetErrors ¶
func (m *CommitReply) GetErrors() string
func (*CommitReply) GetResReqId ¶
func (m *CommitReply) GetResReqId() int64
func (*CommitReply) GetResult ¶
func (m *CommitReply) GetResult() CommitResult
func (*CommitReply) ProtoMessage ¶
func (*CommitReply) ProtoMessage()
func (*CommitReply) Reset ¶
func (m *CommitReply) Reset()
func (*CommitReply) String ¶
func (m *CommitReply) String() string
type CommitResult ¶
type CommitResult int32
const ( CommitResult_CHANGE CommitResult = 0 CommitResult_NO_CHANGE CommitResult = 1 CommitResult_FAIL CommitResult = 2 )
func (CommitResult) EnumDescriptor ¶
func (CommitResult) EnumDescriptor() ([]byte, []int)
func (CommitResult) String ¶
func (x CommitResult) String() string
type ConfigArgs ¶
type ConfigArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"` Yangjson string `protobuf:"bytes,2,opt,name=yangjson" json:"yangjson,omitempty"` }
func (*ConfigArgs) Descriptor ¶
func (*ConfigArgs) Descriptor() ([]byte, []int)
func (*ConfigArgs) GetReqId ¶
func (m *ConfigArgs) GetReqId() int64
func (*ConfigArgs) GetYangjson ¶
func (m *ConfigArgs) GetYangjson() string
func (*ConfigArgs) ProtoMessage ¶
func (*ConfigArgs) ProtoMessage()
func (*ConfigArgs) Reset ¶
func (m *ConfigArgs) Reset()
func (*ConfigArgs) String ¶
func (m *ConfigArgs) String() string
type ConfigGetArgs ¶
type ConfigGetArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"` Yangpathjson string `protobuf:"bytes,2,opt,name=yangpathjson" json:"yangpathjson,omitempty"` }
func (*ConfigGetArgs) Descriptor ¶
func (*ConfigGetArgs) Descriptor() ([]byte, []int)
func (*ConfigGetArgs) GetReqId ¶
func (m *ConfigGetArgs) GetReqId() int64
func (*ConfigGetArgs) GetYangpathjson ¶
func (m *ConfigGetArgs) GetYangpathjson() string
func (*ConfigGetArgs) ProtoMessage ¶
func (*ConfigGetArgs) ProtoMessage()
func (*ConfigGetArgs) Reset ¶
func (m *ConfigGetArgs) Reset()
func (*ConfigGetArgs) String ¶
func (m *ConfigGetArgs) String() string
type ConfigGetReply ¶
type ConfigGetReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Yangjson string `protobuf:"bytes,2,opt,name=yangjson" json:"yangjson,omitempty"` Errors string `protobuf:"bytes,3,opt,name=errors" json:"errors,omitempty"` }
func (*ConfigGetReply) Descriptor ¶
func (*ConfigGetReply) Descriptor() ([]byte, []int)
func (*ConfigGetReply) GetErrors ¶
func (m *ConfigGetReply) GetErrors() string
func (*ConfigGetReply) GetResReqId ¶
func (m *ConfigGetReply) GetResReqId() int64
func (*ConfigGetReply) GetYangjson ¶
func (m *ConfigGetReply) GetYangjson() string
func (*ConfigGetReply) ProtoMessage ¶
func (*ConfigGetReply) ProtoMessage()
func (*ConfigGetReply) Reset ¶
func (m *ConfigGetReply) Reset()
func (*ConfigGetReply) String ¶
func (m *ConfigGetReply) String() string
type ConfigReply ¶
type ConfigReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Errors string `protobuf:"bytes,2,opt,name=errors" json:"errors,omitempty"` }
func (*ConfigReply) Descriptor ¶
func (*ConfigReply) Descriptor() ([]byte, []int)
func (*ConfigReply) GetErrors ¶
func (m *ConfigReply) GetErrors() string
func (*ConfigReply) GetResReqId ¶
func (m *ConfigReply) GetResReqId() int64
func (*ConfigReply) ProtoMessage ¶
func (*ConfigReply) ProtoMessage()
func (*ConfigReply) Reset ¶
func (m *ConfigReply) Reset()
func (*ConfigReply) String ¶
func (m *ConfigReply) String() string
type CreateSubsArgs ¶
type CreateSubsArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"` Encode int64 `protobuf:"varint,2,opt,name=encode" json:"encode,omitempty"` Subidstr string `protobuf:"bytes,3,opt,name=subidstr" json:"subidstr,omitempty"` }
func (*CreateSubsArgs) Descriptor ¶
func (*CreateSubsArgs) Descriptor() ([]byte, []int)
func (*CreateSubsArgs) GetEncode ¶
func (m *CreateSubsArgs) GetEncode() int64
func (*CreateSubsArgs) GetReqId ¶
func (m *CreateSubsArgs) GetReqId() int64
func (*CreateSubsArgs) GetSubidstr ¶
func (m *CreateSubsArgs) GetSubidstr() string
func (*CreateSubsArgs) ProtoMessage ¶
func (*CreateSubsArgs) ProtoMessage()
func (*CreateSubsArgs) Reset ¶
func (m *CreateSubsArgs) Reset()
func (*CreateSubsArgs) String ¶
func (m *CreateSubsArgs) String() string
type CreateSubsReply ¶
type CreateSubsReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Errors string `protobuf:"bytes,3,opt,name=errors" json:"errors,omitempty"` }
func (*CreateSubsReply) Descriptor ¶
func (*CreateSubsReply) Descriptor() ([]byte, []int)
func (*CreateSubsReply) GetData ¶
func (m *CreateSubsReply) GetData() []byte
func (*CreateSubsReply) GetErrors ¶
func (m *CreateSubsReply) GetErrors() string
func (*CreateSubsReply) GetResReqId ¶
func (m *CreateSubsReply) GetResReqId() int64
func (*CreateSubsReply) ProtoMessage ¶
func (*CreateSubsReply) ProtoMessage()
func (*CreateSubsReply) Reset ¶
func (m *CreateSubsReply) Reset()
func (*CreateSubsReply) String ¶
func (m *CreateSubsReply) String() string
type DiscardChangesArgs ¶
type DiscardChangesArgs struct {
ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"`
}
func (*DiscardChangesArgs) Descriptor ¶
func (*DiscardChangesArgs) Descriptor() ([]byte, []int)
func (*DiscardChangesArgs) GetReqId ¶
func (m *DiscardChangesArgs) GetReqId() int64
func (*DiscardChangesArgs) ProtoMessage ¶
func (*DiscardChangesArgs) ProtoMessage()
func (*DiscardChangesArgs) Reset ¶
func (m *DiscardChangesArgs) Reset()
func (*DiscardChangesArgs) String ¶
func (m *DiscardChangesArgs) String() string
type DiscardChangesReply ¶
type DiscardChangesReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Errors string `protobuf:"bytes,2,opt,name=errors" json:"errors,omitempty"` }
func (*DiscardChangesReply) Descriptor ¶
func (*DiscardChangesReply) Descriptor() ([]byte, []int)
func (*DiscardChangesReply) GetErrors ¶
func (m *DiscardChangesReply) GetErrors() string
func (*DiscardChangesReply) GetResReqId ¶
func (m *DiscardChangesReply) GetResReqId() int64
func (*DiscardChangesReply) ProtoMessage ¶
func (*DiscardChangesReply) ProtoMessage()
func (*DiscardChangesReply) Reset ¶
func (m *DiscardChangesReply) Reset()
func (*DiscardChangesReply) String ¶
func (m *DiscardChangesReply) String() string
type GRPCConfigOperClient ¶
type GRPCConfigOperClient interface { GetConfig(ctx context.Context, in *ConfigGetArgs, opts ...grpc.CallOption) (GRPCConfigOper_GetConfigClient, error) MergeConfig(ctx context.Context, in *ConfigArgs, opts ...grpc.CallOption) (*ConfigReply, error) DeleteConfig(ctx context.Context, in *ConfigArgs, opts ...grpc.CallOption) (*ConfigReply, error) ReplaceConfig(ctx context.Context, in *ConfigArgs, opts ...grpc.CallOption) (*ConfigReply, error) CliConfig(ctx context.Context, in *CliConfigArgs, opts ...grpc.CallOption) (*CliConfigReply, error) CommitReplace(ctx context.Context, in *CommitReplaceArgs, opts ...grpc.CallOption) (*CommitReplaceReply, error) // Do we need implicit or explicit commit // CommitConfig(ctx context.Context, in *CommitArgs, opts ...grpc.CallOption) (*CommitReply, error) ConfigDiscardChanges(ctx context.Context, in *DiscardChangesArgs, opts ...grpc.CallOption) (*DiscardChangesReply, error) // Get only returns oper data // GetOper(ctx context.Context, in *GetOperArgs, opts ...grpc.CallOption) (GRPCConfigOper_GetOperClient, error) // Get Telemetry Data CreateSubs(ctx context.Context, in *CreateSubsArgs, opts ...grpc.CallOption) (GRPCConfigOper_CreateSubsClient, error) }
func NewGRPCConfigOperClient ¶
func NewGRPCConfigOperClient(cc *grpc.ClientConn) GRPCConfigOperClient
type GRPCConfigOperServer ¶
type GRPCConfigOperServer interface { GetConfig(*ConfigGetArgs, GRPCConfigOper_GetConfigServer) error MergeConfig(context.Context, *ConfigArgs) (*ConfigReply, error) DeleteConfig(context.Context, *ConfigArgs) (*ConfigReply, error) ReplaceConfig(context.Context, *ConfigArgs) (*ConfigReply, error) CliConfig(context.Context, *CliConfigArgs) (*CliConfigReply, error) CommitReplace(context.Context, *CommitReplaceArgs) (*CommitReplaceReply, error) // Do we need implicit or explicit commit // CommitConfig(context.Context, *CommitArgs) (*CommitReply, error) ConfigDiscardChanges(context.Context, *DiscardChangesArgs) (*DiscardChangesReply, error) // Get only returns oper data // GetOper(*GetOperArgs, GRPCConfigOper_GetOperServer) error // Get Telemetry Data CreateSubs(*CreateSubsArgs, GRPCConfigOper_CreateSubsServer) error }
type GRPCConfigOper_CreateSubsClient ¶
type GRPCConfigOper_CreateSubsClient interface { Recv() (*CreateSubsReply, error) grpc.ClientStream }
type GRPCConfigOper_CreateSubsServer ¶
type GRPCConfigOper_CreateSubsServer interface { Send(*CreateSubsReply) error grpc.ServerStream }
type GRPCConfigOper_GetConfigClient ¶
type GRPCConfigOper_GetConfigClient interface { Recv() (*ConfigGetReply, error) grpc.ClientStream }
type GRPCConfigOper_GetConfigServer ¶
type GRPCConfigOper_GetConfigServer interface { Send(*ConfigGetReply) error grpc.ServerStream }
type GRPCConfigOper_GetOperClient ¶
type GRPCConfigOper_GetOperClient interface { Recv() (*GetOperReply, error) grpc.ClientStream }
type GRPCConfigOper_GetOperServer ¶
type GRPCConfigOper_GetOperServer interface { Send(*GetOperReply) error grpc.ServerStream }
type GRPCExecClient ¶
type GRPCExecClient interface { // Exec commands ShowCmdTextOutput(ctx context.Context, in *ShowCmdArgs, opts ...grpc.CallOption) (GRPCExec_ShowCmdTextOutputClient, error) ShowCmdJSONOutput(ctx context.Context, in *ShowCmdArgs, opts ...grpc.CallOption) (GRPCExec_ShowCmdJSONOutputClient, error) // rpc ActionCLI(ActionCliArgs) returns(stream ActionCliReply) {}; ActionJSON(ctx context.Context, in *ActionJSONArgs, opts ...grpc.CallOption) (GRPCExec_ActionJSONClient, error) }
func NewGRPCExecClient ¶
func NewGRPCExecClient(cc *grpc.ClientConn) GRPCExecClient
type GRPCExecServer ¶
type GRPCExecServer interface { // Exec commands ShowCmdTextOutput(*ShowCmdArgs, GRPCExec_ShowCmdTextOutputServer) error ShowCmdJSONOutput(*ShowCmdArgs, GRPCExec_ShowCmdJSONOutputServer) error // rpc ActionCLI(ActionCliArgs) returns(stream ActionCliReply) {}; ActionJSON(*ActionJSONArgs, GRPCExec_ActionJSONServer) error }
type GRPCExec_ActionJSONClient ¶ added in v0.3.1
type GRPCExec_ActionJSONClient interface { Recv() (*ActionJSONReply, error) grpc.ClientStream }
type GRPCExec_ActionJSONServer ¶ added in v0.3.1
type GRPCExec_ActionJSONServer interface { Send(*ActionJSONReply) error grpc.ServerStream }
type GRPCExec_ShowCmdJSONOutputClient ¶
type GRPCExec_ShowCmdJSONOutputClient interface { Recv() (*ShowCmdJSONReply, error) grpc.ClientStream }
type GRPCExec_ShowCmdJSONOutputServer ¶
type GRPCExec_ShowCmdJSONOutputServer interface { Send(*ShowCmdJSONReply) error grpc.ServerStream }
type GRPCExec_ShowCmdTextOutputClient ¶
type GRPCExec_ShowCmdTextOutputClient interface { Recv() (*ShowCmdTextReply, error) grpc.ClientStream }
type GRPCExec_ShowCmdTextOutputServer ¶
type GRPCExec_ShowCmdTextOutputServer interface { Send(*ShowCmdTextReply) error grpc.ServerStream }
type GetOperArgs ¶
type GetOperArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"` Yangpathjson string `protobuf:"bytes,2,opt,name=yangpathjson" json:"yangpathjson,omitempty"` }
func (*GetOperArgs) Descriptor ¶
func (*GetOperArgs) Descriptor() ([]byte, []int)
func (*GetOperArgs) GetReqId ¶
func (m *GetOperArgs) GetReqId() int64
func (*GetOperArgs) GetYangpathjson ¶
func (m *GetOperArgs) GetYangpathjson() string
func (*GetOperArgs) ProtoMessage ¶
func (*GetOperArgs) ProtoMessage()
func (*GetOperArgs) Reset ¶
func (m *GetOperArgs) Reset()
func (*GetOperArgs) String ¶
func (m *GetOperArgs) String() string
type GetOperReply ¶
type GetOperReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Yangjson string `protobuf:"bytes,2,opt,name=yangjson" json:"yangjson,omitempty"` Errors string `protobuf:"bytes,3,opt,name=errors" json:"errors,omitempty"` }
func (*GetOperReply) Descriptor ¶
func (*GetOperReply) Descriptor() ([]byte, []int)
func (*GetOperReply) GetErrors ¶
func (m *GetOperReply) GetErrors() string
func (*GetOperReply) GetResReqId ¶
func (m *GetOperReply) GetResReqId() int64
func (*GetOperReply) GetYangjson ¶
func (m *GetOperReply) GetYangjson() string
func (*GetOperReply) ProtoMessage ¶
func (*GetOperReply) ProtoMessage()
func (*GetOperReply) Reset ¶
func (m *GetOperReply) Reset()
func (*GetOperReply) String ¶
func (m *GetOperReply) String() string
type ShowCmdArgs ¶
type ShowCmdArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId" json:"ReqId,omitempty"` Cli string `protobuf:"bytes,2,opt,name=cli" json:"cli,omitempty"` }
func (*ShowCmdArgs) Descriptor ¶
func (*ShowCmdArgs) Descriptor() ([]byte, []int)
func (*ShowCmdArgs) GetCli ¶
func (m *ShowCmdArgs) GetCli() string
func (*ShowCmdArgs) GetReqId ¶
func (m *ShowCmdArgs) GetReqId() int64
func (*ShowCmdArgs) ProtoMessage ¶
func (*ShowCmdArgs) ProtoMessage()
func (*ShowCmdArgs) Reset ¶
func (m *ShowCmdArgs) Reset()
func (*ShowCmdArgs) String ¶
func (m *ShowCmdArgs) String() string
type ShowCmdJSONReply ¶
type ShowCmdJSONReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Jsonoutput string `protobuf:"bytes,2,opt,name=jsonoutput" json:"jsonoutput,omitempty"` Errors string `protobuf:"bytes,3,opt,name=errors" json:"errors,omitempty"` }
func (*ShowCmdJSONReply) Descriptor ¶
func (*ShowCmdJSONReply) Descriptor() ([]byte, []int)
func (*ShowCmdJSONReply) GetErrors ¶
func (m *ShowCmdJSONReply) GetErrors() string
func (*ShowCmdJSONReply) GetJsonoutput ¶
func (m *ShowCmdJSONReply) GetJsonoutput() string
func (*ShowCmdJSONReply) GetResReqId ¶
func (m *ShowCmdJSONReply) GetResReqId() int64
func (*ShowCmdJSONReply) ProtoMessage ¶
func (*ShowCmdJSONReply) ProtoMessage()
func (*ShowCmdJSONReply) Reset ¶
func (m *ShowCmdJSONReply) Reset()
func (*ShowCmdJSONReply) String ¶
func (m *ShowCmdJSONReply) String() string
type ShowCmdTextReply ¶
type ShowCmdTextReply struct { ResReqId int64 `protobuf:"varint,1,opt,name=ResReqId" json:"ResReqId,omitempty"` Output string `protobuf:"bytes,2,opt,name=output" json:"output,omitempty"` Errors string `protobuf:"bytes,3,opt,name=errors" json:"errors,omitempty"` }
func (*ShowCmdTextReply) Descriptor ¶
func (*ShowCmdTextReply) Descriptor() ([]byte, []int)
func (*ShowCmdTextReply) GetErrors ¶
func (m *ShowCmdTextReply) GetErrors() string
func (*ShowCmdTextReply) GetOutput ¶
func (m *ShowCmdTextReply) GetOutput() string
func (*ShowCmdTextReply) GetResReqId ¶
func (m *ShowCmdTextReply) GetResReqId() int64
func (*ShowCmdTextReply) ProtoMessage ¶
func (*ShowCmdTextReply) ProtoMessage()
func (*ShowCmdTextReply) Reset ¶
func (m *ShowCmdTextReply) Reset()
func (*ShowCmdTextReply) String ¶
func (m *ShowCmdTextReply) String() string
Click to show internal directories.
Click to hide internal directories.