Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNetemServer(s grpc.ServiceRegistrar, srv NetemServer)
- type AckResponse
- type CaptureSrvMsg
- func (*CaptureSrvMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CaptureSrvMsg) GetCode() CaptureSrvMsg_Code
- func (x *CaptureSrvMsg) GetData() []byte
- func (*CaptureSrvMsg) ProtoMessage()
- func (x *CaptureSrvMsg) ProtoReflect() protoreflect.Message
- func (x *CaptureSrvMsg) Reset()
- func (x *CaptureSrvMsg) String() string
- type CaptureSrvMsg_Code
- func (CaptureSrvMsg_Code) Descriptor() protoreflect.EnumDescriptor
- func (x CaptureSrvMsg_Code) Enum() *CaptureSrvMsg_Code
- func (CaptureSrvMsg_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x CaptureSrvMsg_Code) Number() protoreflect.EnumNumber
- func (x CaptureSrvMsg_Code) String() string
- func (CaptureSrvMsg_Code) Type() protoreflect.EnumType
- type ConfigFilesResponse
- func (*ConfigFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigFilesResponse) GetFiles() []*ConfigFilesResponse_ConfigFile
- func (x *ConfigFilesResponse) GetSource() ConfigFilesResponse_Source
- func (x *ConfigFilesResponse) GetStatus() *Status
- func (*ConfigFilesResponse) ProtoMessage()
- func (x *ConfigFilesResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigFilesResponse) Reset()
- func (x *ConfigFilesResponse) String() string
- type ConfigFilesResponse_ConfigFile
- func (*ConfigFilesResponse_ConfigFile) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigFilesResponse_ConfigFile) GetData() []byte
- func (x *ConfigFilesResponse_ConfigFile) GetName() string
- func (*ConfigFilesResponse_ConfigFile) ProtoMessage()
- func (x *ConfigFilesResponse_ConfigFile) ProtoReflect() protoreflect.Message
- func (x *ConfigFilesResponse_ConfigFile) Reset()
- func (x *ConfigFilesResponse_ConfigFile) String() string
- type ConfigFilesResponse_Source
- func (ConfigFilesResponse_Source) Descriptor() protoreflect.EnumDescriptor
- func (x ConfigFilesResponse_Source) Enum() *ConfigFilesResponse_Source
- func (ConfigFilesResponse_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConfigFilesResponse_Source) Number() protoreflect.EnumNumber
- func (x ConfigFilesResponse_Source) String() string
- func (ConfigFilesResponse_Source) Type() protoreflect.EnumType
- type ConsoleCmdRequest
- func (*ConsoleCmdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConsoleCmdRequest) GetNode() string
- func (x *ConsoleCmdRequest) GetPrjId() string
- func (x *ConsoleCmdRequest) GetShell() bool
- func (*ConsoleCmdRequest) ProtoMessage()
- func (x *ConsoleCmdRequest) ProtoReflect() protoreflect.Message
- func (x *ConsoleCmdRequest) Reset()
- func (x *ConsoleCmdRequest) String() string
- type ConsoleCmdResponse
- func (*ConsoleCmdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConsoleCmdResponse) GetCmd() []string
- func (x *ConsoleCmdResponse) GetStatus() *Status
- func (*ConsoleCmdResponse) ProtoMessage()
- func (x *ConsoleCmdResponse) ProtoReflect() protoreflect.Message
- func (x *ConsoleCmdResponse) Reset()
- func (x *ConsoleCmdResponse) String() string
- type CopyMsg
- func (*CopyMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CopyMsg) GetCode() CopyMsg_Code
- func (x *CopyMsg) GetData() []byte
- func (x *CopyMsg) GetNode() string
- func (x *CopyMsg) GetNodePath() string
- func (x *CopyMsg) GetPrjId() string
- func (*CopyMsg) ProtoMessage()
- func (x *CopyMsg) ProtoReflect() protoreflect.Message
- func (x *CopyMsg) Reset()
- func (x *CopyMsg) String() string
- type CopyMsg_Code
- func (CopyMsg_Code) Descriptor() protoreflect.EnumDescriptor
- func (x CopyMsg_Code) Enum() *CopyMsg_Code
- func (CopyMsg_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x CopyMsg_Code) Number() protoreflect.EnumNumber
- func (x CopyMsg_Code) String() string
- func (CopyMsg_Code) Type() protoreflect.EnumType
- type ExecCltMsg
- func (*ExecCltMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ExecCltMsg) GetCmd() []string
- func (x *ExecCltMsg) GetCode() ExecCltMsg_Code
- func (x *ExecCltMsg) GetData() []byte
- func (x *ExecCltMsg) GetNode() string
- func (x *ExecCltMsg) GetPrjId() string
- func (x *ExecCltMsg) GetTty() bool
- func (x *ExecCltMsg) GetTtyHeight() int32
- func (x *ExecCltMsg) GetTtyWidth() int32
- func (*ExecCltMsg) ProtoMessage()
- func (x *ExecCltMsg) ProtoReflect() protoreflect.Message
- func (x *ExecCltMsg) Reset()
- func (x *ExecCltMsg) String() string
- type ExecCltMsg_Code
- func (ExecCltMsg_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ExecCltMsg_Code) Enum() *ExecCltMsg_Code
- func (ExecCltMsg_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecCltMsg_Code) Number() protoreflect.EnumNumber
- func (x ExecCltMsg_Code) String() string
- func (ExecCltMsg_Code) Type() protoreflect.EnumType
- type ExecSrvMsg
- type ExecSrvMsg_Code
- func (ExecSrvMsg_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ExecSrvMsg_Code) Enum() *ExecSrvMsg_Code
- func (ExecSrvMsg_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecSrvMsg_Code) Number() protoreflect.EnumNumber
- func (x ExecSrvMsg_Code) String() string
- func (ExecSrvMsg_Code) Type() protoreflect.EnumType
- type FileResponse
- func (*FileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileResponse) GetData() []byte
- func (x *FileResponse) GetStatus() *Status
- func (*FileResponse) ProtoMessage()
- func (x *FileResponse) ProtoReflect() protoreflect.Message
- func (x *FileResponse) Reset()
- func (x *FileResponse) String() string
- type IfState
- type LinkConfig
- func (*LinkConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LinkConfig) GetDelay() int32
- func (x *LinkConfig) GetJitter() int32
- func (x *LinkConfig) GetLoss() float32
- func (x *LinkConfig) GetPeer1() string
- func (x *LinkConfig) GetPeer2() string
- func (*LinkConfig) ProtoMessage()
- func (x *LinkConfig) ProtoReflect() protoreflect.Message
- func (x *LinkConfig) Reset()
- func (x *LinkConfig) String() string
- type LinkRequest
- func (*LinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkRequest) GetLink() *LinkConfig
- func (x *LinkRequest) GetPrjId() string
- func (x *LinkRequest) GetSync() bool
- func (*LinkRequest) ProtoMessage()
- func (x *LinkRequest) ProtoReflect() protoreflect.Message
- func (x *LinkRequest) Reset()
- func (x *LinkRequest) String() string
- type NetemClient
- type NetemServer
- type Netem_NodeCaptureClient
- type Netem_NodeCaptureServer
- type Netem_NodeCopyFromClient
- type Netem_NodeCopyFromServer
- type Netem_NodeCopyToClient
- type Netem_NodeCopyToServer
- type Netem_NodeExecClient
- type Netem_NodeExecServer
- type Netem_ProjectCloseClient
- type Netem_ProjectCloseServer
- type Netem_ProjectSaveClient
- type Netem_ProjectSaveServer
- type Netem_ServerPullImagesClient
- type Netem_ServerPullImagesServer
- type Netem_TopologyReloadClient
- type Netem_TopologyReloadServer
- type Netem_TopologyRunClient
- type Netem_TopologyRunServer
- type NodeIfStateRequest
- func (*NodeIfStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeIfStateRequest) GetIfIndex() int32
- func (x *NodeIfStateRequest) GetNode() string
- func (x *NodeIfStateRequest) GetPrjId() string
- func (x *NodeIfStateRequest) GetState() IfState
- func (*NodeIfStateRequest) ProtoMessage()
- func (x *NodeIfStateRequest) ProtoReflect() protoreflect.Message
- func (x *NodeIfStateRequest) Reset()
- func (x *NodeIfStateRequest) String() string
- type NodeInterfaceRequest
- func (*NodeInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInterfaceRequest) GetIfIndex() int32
- func (x *NodeInterfaceRequest) GetNode() string
- func (x *NodeInterfaceRequest) GetPrjId() string
- func (*NodeInterfaceRequest) ProtoMessage()
- func (x *NodeInterfaceRequest) ProtoReflect() protoreflect.Message
- func (x *NodeInterfaceRequest) Reset()
- func (x *NodeInterfaceRequest) String() string
- type NodeRequest
- type OpenRequest
- type PrjListResponse
- func (*PrjListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrjListResponse) GetProjects() []*PrjListResponse_Info
- func (x *PrjListResponse) GetStatus() *Status
- func (*PrjListResponse) ProtoMessage()
- func (x *PrjListResponse) ProtoReflect() protoreflect.Message
- func (x *PrjListResponse) Reset()
- func (x *PrjListResponse) String() string
- type PrjListResponse_Info
- func (*PrjListResponse_Info) Descriptor() ([]byte, []int)deprecated
- func (x *PrjListResponse_Info) GetId() string
- func (x *PrjListResponse_Info) GetName() string
- func (x *PrjListResponse_Info) GetOpenAt() string
- func (*PrjListResponse_Info) ProtoMessage()
- func (x *PrjListResponse_Info) ProtoReflect() protoreflect.Message
- func (x *PrjListResponse_Info) Reset()
- func (x *PrjListResponse_Info) String() string
- type PrjOpenResponse
- func (*PrjOpenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrjOpenResponse) GetId() string
- func (x *PrjOpenResponse) GetStatus() *Status
- func (*PrjOpenResponse) ProtoMessage()
- func (x *PrjOpenResponse) ProtoReflect() protoreflect.Message
- func (x *PrjOpenResponse) Reset()
- func (x *PrjOpenResponse) String() string
- type ProjectCloseMsg
- func (*ProjectCloseMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectCloseMsg) GetCode() ProjectCloseMsg_Code
- func (x *ProjectCloseMsg) GetTotal() int32
- func (*ProjectCloseMsg) ProtoMessage()
- func (x *ProjectCloseMsg) ProtoReflect() protoreflect.Message
- func (x *ProjectCloseMsg) Reset()
- func (x *ProjectCloseMsg) String() string
- type ProjectCloseMsg_Code
- func (ProjectCloseMsg_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectCloseMsg_Code) Enum() *ProjectCloseMsg_Code
- func (ProjectCloseMsg_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectCloseMsg_Code) Number() protoreflect.EnumNumber
- func (x ProjectCloseMsg_Code) String() string
- func (ProjectCloseMsg_Code) Type() protoreflect.EnumType
- type ProjectRequest
- type ProjectSaveMsg
- func (*ProjectSaveMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectSaveMsg) GetCode() ProjectSaveMsg_Code
- func (x *ProjectSaveMsg) GetData() []byte
- func (x *ProjectSaveMsg) GetTotal() int32
- func (*ProjectSaveMsg) ProtoMessage()
- func (x *ProjectSaveMsg) ProtoReflect() protoreflect.Message
- func (x *ProjectSaveMsg) Reset()
- func (x *ProjectSaveMsg) String() string
- type ProjectSaveMsg_Code
- func (ProjectSaveMsg_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectSaveMsg_Code) Enum() *ProjectSaveMsg_Code
- func (ProjectSaveMsg_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectSaveMsg_Code) Number() protoreflect.EnumNumber
- func (x ProjectSaveMsg_Code) String() string
- func (ProjectSaveMsg_Code) Type() protoreflect.EnumType
- type PullSrvMsg
- func (*PullSrvMsg) Descriptor() ([]byte, []int)deprecated
- func (x *PullSrvMsg) GetCode() PullSrvMsg_Code
- func (x *PullSrvMsg) GetError() string
- func (x *PullSrvMsg) GetImage() string
- func (*PullSrvMsg) ProtoMessage()
- func (x *PullSrvMsg) ProtoReflect() protoreflect.Message
- func (x *PullSrvMsg) Reset()
- func (x *PullSrvMsg) String() string
- type PullSrvMsg_Code
- func (PullSrvMsg_Code) Descriptor() protoreflect.EnumDescriptor
- func (x PullSrvMsg_Code) Enum() *PullSrvMsg_Code
- func (PullSrvMsg_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x PullSrvMsg_Code) Number() protoreflect.EnumNumber
- func (x PullSrvMsg_Code) String() string
- func (PullSrvMsg_Code) Type() protoreflect.EnumType
- type Status
- type StatusCode
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetId() string
- func (x *StatusResponse) GetName() string
- func (x *StatusResponse) GetNodes() []*StatusResponse_NodeStatus
- func (x *StatusResponse) GetOpenAt() string
- func (x *StatusResponse) GetRunning() bool
- func (x *StatusResponse) GetStatus() *Status
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type StatusResponse_IfStatus
- func (*StatusResponse_IfStatus) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse_IfStatus) GetName() string
- func (x *StatusResponse_IfStatus) GetState() IfState
- func (*StatusResponse_IfStatus) ProtoMessage()
- func (x *StatusResponse_IfStatus) ProtoReflect() protoreflect.Message
- func (x *StatusResponse_IfStatus) Reset()
- func (x *StatusResponse_IfStatus) String() string
- type StatusResponse_NodeStatus
- func (*StatusResponse_NodeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse_NodeStatus) GetInterfaces() []*StatusResponse_IfStatus
- func (x *StatusResponse_NodeStatus) GetName() string
- func (x *StatusResponse_NodeStatus) GetRunning() bool
- func (*StatusResponse_NodeStatus) ProtoMessage()
- func (x *StatusResponse_NodeStatus) ProtoReflect() protoreflect.Message
- func (x *StatusResponse_NodeStatus) Reset()
- func (x *StatusResponse_NodeStatus) String() string
- type TopologyRunMsg
- func (*TopologyRunMsg) Descriptor() ([]byte, []int)deprecated
- func (x *TopologyRunMsg) GetCode() TopologyRunMsg_Code
- func (x *TopologyRunMsg) GetNodeMessages() []*TopologyRunMsg_NodeMessages
- func (x *TopologyRunMsg) GetTotal() int32
- func (*TopologyRunMsg) ProtoMessage()
- func (x *TopologyRunMsg) ProtoReflect() protoreflect.Message
- func (x *TopologyRunMsg) Reset()
- func (x *TopologyRunMsg) String() string
- type TopologyRunMsg_Code
- func (TopologyRunMsg_Code) Descriptor() protoreflect.EnumDescriptor
- func (x TopologyRunMsg_Code) Enum() *TopologyRunMsg_Code
- func (TopologyRunMsg_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x TopologyRunMsg_Code) Number() protoreflect.EnumNumber
- func (x TopologyRunMsg_Code) String() string
- func (TopologyRunMsg_Code) Type() protoreflect.EnumType
- type TopologyRunMsg_NodeMessages
- func (*TopologyRunMsg_NodeMessages) Descriptor() ([]byte, []int)deprecated
- func (x *TopologyRunMsg_NodeMessages) GetMessages() []string
- func (x *TopologyRunMsg_NodeMessages) GetName() string
- func (*TopologyRunMsg_NodeMessages) ProtoMessage()
- func (x *TopologyRunMsg_NodeMessages) ProtoReflect() protoreflect.Message
- func (x *TopologyRunMsg_NodeMessages) Reset()
- func (x *TopologyRunMsg_NodeMessages) String() string
- type UnimplementedNetemServer
- func (UnimplementedNetemServer) LinkAdd(context.Context, *LinkRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) LinkDel(context.Context, *LinkRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) LinkUpdate(context.Context, *LinkRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) NodeCapture(*NodeInterfaceRequest, Netem_NodeCaptureServer) error
- func (UnimplementedNetemServer) NodeCopyFrom(*CopyMsg, Netem_NodeCopyFromServer) error
- func (UnimplementedNetemServer) NodeCopyTo(Netem_NodeCopyToServer) error
- func (UnimplementedNetemServer) NodeExec(Netem_NodeExecServer) error
- func (UnimplementedNetemServer) NodeGetConsoleCmd(context.Context, *ConsoleCmdRequest) (*ConsoleCmdResponse, error)
- func (UnimplementedNetemServer) NodeReadConfigFiles(context.Context, *NodeRequest) (*ConfigFilesResponse, error)
- func (UnimplementedNetemServer) NodeRestart(context.Context, *NodeRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) NodeSetIfState(context.Context, *NodeIfStateRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) NodeStart(context.Context, *NodeRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) NodeStop(context.Context, *NodeRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) ProjectClose(*ProjectRequest, Netem_ProjectCloseServer) error
- func (UnimplementedNetemServer) ProjectGetMany(context.Context, *emptypb.Empty) (*PrjListResponse, error)
- func (UnimplementedNetemServer) ProjectGetNodeConfigs(context.Context, *ProjectRequest) (*FileResponse, error)
- func (UnimplementedNetemServer) ProjectGetStatus(context.Context, *ProjectRequest) (*StatusResponse, error)
- func (UnimplementedNetemServer) ProjectOpen(context.Context, *OpenRequest) (*PrjOpenResponse, error)
- func (UnimplementedNetemServer) ProjectSave(*ProjectRequest, Netem_ProjectSaveServer) error
- func (UnimplementedNetemServer) ReadNetworkFile(context.Context, *ProjectRequest) (*FileResponse, error)
- func (UnimplementedNetemServer) ServerCleanContainers(context.Context, *emptypb.Empty) (*AckResponse, error)
- func (UnimplementedNetemServer) ServerGetVersion(context.Context, *emptypb.Empty) (*VersionResponse, error)
- func (UnimplementedNetemServer) ServerPullImages(*emptypb.Empty, Netem_ServerPullImagesServer) error
- func (UnimplementedNetemServer) TopologyCheck(context.Context, *ProjectRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) TopologyReload(*ProjectRequest, Netem_TopologyReloadServer) error
- func (UnimplementedNetemServer) TopologyRun(*ProjectRequest, Netem_TopologyRunServer) error
- func (UnimplementedNetemServer) TopologyStartAll(context.Context, *ProjectRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) TopologyStopAll(context.Context, *ProjectRequest) (*AckResponse, error)
- func (UnimplementedNetemServer) WriteNetworkFile(context.Context, *WNetworkRequest) (*AckResponse, error)
- type UnsafeNetemServer
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetStatus() *Status
- func (x *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
- type WNetworkRequest
- func (*WNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WNetworkRequest) GetData() []byte
- func (x *WNetworkRequest) GetId() string
- func (*WNetworkRequest) ProtoMessage()
- func (x *WNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *WNetworkRequest) Reset()
- func (x *WNetworkRequest) String() string
Constants ¶
const ( Netem_ServerGetVersion_FullMethodName = "/netem.Netem/ServerGetVersion" Netem_ServerPullImages_FullMethodName = "/netem.Netem/ServerPullImages" Netem_ServerCleanContainers_FullMethodName = "/netem.Netem/ServerCleanContainers" Netem_ProjectGetMany_FullMethodName = "/netem.Netem/ProjectGetMany" Netem_ProjectOpen_FullMethodName = "/netem.Netem/ProjectOpen" Netem_ProjectClose_FullMethodName = "/netem.Netem/ProjectClose" Netem_ProjectSave_FullMethodName = "/netem.Netem/ProjectSave" Netem_ProjectGetNodeConfigs_FullMethodName = "/netem.Netem/ProjectGetNodeConfigs" Netem_ProjectGetStatus_FullMethodName = "/netem.Netem/ProjectGetStatus" Netem_ReadNetworkFile_FullMethodName = "/netem.Netem/ReadNetworkFile" Netem_WriteNetworkFile_FullMethodName = "/netem.Netem/WriteNetworkFile" Netem_TopologyCheck_FullMethodName = "/netem.Netem/TopologyCheck" Netem_TopologyReload_FullMethodName = "/netem.Netem/TopologyReload" Netem_TopologyRun_FullMethodName = "/netem.Netem/TopologyRun" Netem_TopologyStartAll_FullMethodName = "/netem.Netem/TopologyStartAll" Netem_TopologyStopAll_FullMethodName = "/netem.Netem/TopologyStopAll" Netem_NodeReadConfigFiles_FullMethodName = "/netem.Netem/NodeReadConfigFiles" Netem_NodeStart_FullMethodName = "/netem.Netem/NodeStart" Netem_NodeStop_FullMethodName = "/netem.Netem/NodeStop" Netem_NodeRestart_FullMethodName = "/netem.Netem/NodeRestart" Netem_NodeSetIfState_FullMethodName = "/netem.Netem/NodeSetIfState" Netem_NodeCapture_FullMethodName = "/netem.Netem/NodeCapture" Netem_NodeCopyFrom_FullMethodName = "/netem.Netem/NodeCopyFrom" Netem_NodeCopyTo_FullMethodName = "/netem.Netem/NodeCopyTo" Netem_NodeGetConsoleCmd_FullMethodName = "/netem.Netem/NodeGetConsoleCmd" Netem_NodeExec_FullMethodName = "/netem.Netem/NodeExec" Netem_LinkUpdate_FullMethodName = "/netem.Netem/LinkUpdate" Netem_LinkAdd_FullMethodName = "/netem.Netem/LinkAdd" Netem_LinkDel_FullMethodName = "/netem.Netem/LinkDel" )
Variables ¶
var ( StatusCode_name = map[int32]string{ 0: "OK", 1: "ERROR", } StatusCode_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for StatusCode.
var ( IfState_name = map[int32]string{ 0: "UP", 1: "DOWN", } IfState_value = map[string]int32{ "UP": 0, "DOWN": 1, } )
Enum value maps for IfState.
var ( ExecCltMsg_Code_name = map[int32]string{ 0: "CMD", 1: "DATA", 2: "RESIZE", 3: "ERROR", 4: "CLOSE", } ExecCltMsg_Code_value = map[string]int32{ "CMD": 0, "DATA": 1, "RESIZE": 2, "ERROR": 3, "CLOSE": 4, } )
Enum value maps for ExecCltMsg_Code.
var ( ExecSrvMsg_Code_name = map[int32]string{ 0: "STDOUT", 1: "STDERR", 2: "ERROR", 3: "CLOSE", } ExecSrvMsg_Code_value = map[string]int32{ "STDOUT": 0, "STDERR": 1, "ERROR": 2, "CLOSE": 3, } )
Enum value maps for ExecSrvMsg_Code.
var ( CopyMsg_Code_name = map[int32]string{ 0: "INIT", 1: "DATA", 3: "ERROR", } CopyMsg_Code_value = map[string]int32{ "INIT": 0, "DATA": 1, "ERROR": 3, } )
Enum value maps for CopyMsg_Code.
var ( PullSrvMsg_Code_name = map[int32]string{ 0: "START", 1: "OK", 2: "ERROR", } PullSrvMsg_Code_value = map[string]int32{ "START": 0, "OK": 1, "ERROR": 2, } )
Enum value maps for PullSrvMsg_Code.
var ( CaptureSrvMsg_Code_name = map[int32]string{ 0: "STDOUT", 1: "STDERR", 2: "OK", 3: "ERROR", } CaptureSrvMsg_Code_value = map[string]int32{ "STDOUT": 0, "STDERR": 1, "OK": 2, "ERROR": 3, } )
Enum value maps for CaptureSrvMsg_Code.
var ( TopologyRunMsg_Code_name = map[int32]string{ 0: "NODE_COUNT", 1: "BRIDGE_COUNT", 2: "LINK_COUNT", 3: "NODE_START", 4: "LINK_SETUP", 5: "BRIDGE_START", 6: "NODE_LOADCONFIG", 7: "NODE_MESSAGES", 8: "NODE_STOP", 9: "NODE_RM", } TopologyRunMsg_Code_value = map[string]int32{ "NODE_COUNT": 0, "BRIDGE_COUNT": 1, "LINK_COUNT": 2, "NODE_START": 3, "LINK_SETUP": 4, "BRIDGE_START": 5, "NODE_LOADCONFIG": 6, "NODE_MESSAGES": 7, "NODE_STOP": 8, "NODE_RM": 9, } )
Enum value maps for TopologyRunMsg_Code.
var ( ProjectSaveMsg_Code_name = map[int32]string{ 0: "NODE_COUNT", 1: "NODE_SAVE", 2: "DATA", } ProjectSaveMsg_Code_value = map[string]int32{ "NODE_COUNT": 0, "NODE_SAVE": 1, "DATA": 2, } )
Enum value maps for ProjectSaveMsg_Code.
var ( ProjectCloseMsg_Code_name = map[int32]string{ 0: "NODE_COUNT", 1: "BRIDGE_COUNT", 2: "NODE_CLOSE", 3: "BRIDGE_CLOSE", } ProjectCloseMsg_Code_value = map[string]int32{ "NODE_COUNT": 0, "BRIDGE_COUNT": 1, "NODE_CLOSE": 2, "BRIDGE_CLOSE": 3, } )
Enum value maps for ProjectCloseMsg_Code.
var ( ConfigFilesResponse_Source_name = map[int32]string{ 0: "ARCHIVE", 1: "RUNNING", } ConfigFilesResponse_Source_value = map[string]int32{ "ARCHIVE": 0, "RUNNING": 1, } )
Enum value maps for ConfigFilesResponse_Source.
var File_internal_proto_netem_proto protoreflect.FileDescriptor
var Netem_ServiceDesc = grpc.ServiceDesc{ ServiceName: "netem.Netem", HandlerType: (*NetemServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ServerGetVersion", Handler: _Netem_ServerGetVersion_Handler, }, { MethodName: "ServerCleanContainers", Handler: _Netem_ServerCleanContainers_Handler, }, { MethodName: "ProjectGetMany", Handler: _Netem_ProjectGetMany_Handler, }, { MethodName: "ProjectOpen", Handler: _Netem_ProjectOpen_Handler, }, { MethodName: "ProjectGetNodeConfigs", Handler: _Netem_ProjectGetNodeConfigs_Handler, }, { MethodName: "ProjectGetStatus", Handler: _Netem_ProjectGetStatus_Handler, }, { MethodName: "ReadNetworkFile", Handler: _Netem_ReadNetworkFile_Handler, }, { MethodName: "WriteNetworkFile", Handler: _Netem_WriteNetworkFile_Handler, }, { MethodName: "TopologyCheck", Handler: _Netem_TopologyCheck_Handler, }, { MethodName: "TopologyStartAll", Handler: _Netem_TopologyStartAll_Handler, }, { MethodName: "TopologyStopAll", Handler: _Netem_TopologyStopAll_Handler, }, { MethodName: "NodeReadConfigFiles", Handler: _Netem_NodeReadConfigFiles_Handler, }, { MethodName: "NodeStart", Handler: _Netem_NodeStart_Handler, }, { MethodName: "NodeStop", Handler: _Netem_NodeStop_Handler, }, { MethodName: "NodeRestart", Handler: _Netem_NodeRestart_Handler, }, { MethodName: "NodeSetIfState", Handler: _Netem_NodeSetIfState_Handler, }, { MethodName: "NodeGetConsoleCmd", Handler: _Netem_NodeGetConsoleCmd_Handler, }, { MethodName: "LinkUpdate", Handler: _Netem_LinkUpdate_Handler, }, { MethodName: "LinkAdd", Handler: _Netem_LinkAdd_Handler, }, { MethodName: "LinkDel", Handler: _Netem_LinkDel_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ServerPullImages", Handler: _Netem_ServerPullImages_Handler, ServerStreams: true, }, { StreamName: "ProjectClose", Handler: _Netem_ProjectClose_Handler, ServerStreams: true, }, { StreamName: "ProjectSave", Handler: _Netem_ProjectSave_Handler, ServerStreams: true, }, { StreamName: "TopologyReload", Handler: _Netem_TopologyReload_Handler, ServerStreams: true, }, { StreamName: "TopologyRun", Handler: _Netem_TopologyRun_Handler, ServerStreams: true, }, { StreamName: "NodeCapture", Handler: _Netem_NodeCapture_Handler, ServerStreams: true, }, { StreamName: "NodeCopyFrom", Handler: _Netem_NodeCopyFrom_Handler, ServerStreams: true, }, { StreamName: "NodeCopyTo", Handler: _Netem_NodeCopyTo_Handler, ClientStreams: true, }, { StreamName: "NodeExec", Handler: _Netem_NodeExec_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "internal/proto/netem.proto", }
Netem_ServiceDesc is the grpc.ServiceDesc for Netem service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNetemServer ¶
func RegisterNetemServer(s grpc.ServiceRegistrar, srv NetemServer)
Types ¶
type AckResponse ¶
type AckResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AckResponse) Descriptor
deprecated
func (*AckResponse) Descriptor() ([]byte, []int)
Deprecated: Use AckResponse.ProtoReflect.Descriptor instead.
func (*AckResponse) GetStatus ¶
func (x *AckResponse) GetStatus() *Status
func (*AckResponse) ProtoMessage ¶
func (*AckResponse) ProtoMessage()
func (*AckResponse) ProtoReflect ¶
func (x *AckResponse) ProtoReflect() protoreflect.Message
func (*AckResponse) Reset ¶
func (x *AckResponse) Reset()
func (*AckResponse) String ¶
func (x *AckResponse) String() string
type CaptureSrvMsg ¶
type CaptureSrvMsg struct { Code CaptureSrvMsg_Code `protobuf:"varint,1,opt,name=code,proto3,enum=netem.CaptureSrvMsg_Code" json:"code,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CaptureSrvMsg) Descriptor
deprecated
func (*CaptureSrvMsg) Descriptor() ([]byte, []int)
Deprecated: Use CaptureSrvMsg.ProtoReflect.Descriptor instead.
func (*CaptureSrvMsg) GetCode ¶
func (x *CaptureSrvMsg) GetCode() CaptureSrvMsg_Code
func (*CaptureSrvMsg) GetData ¶
func (x *CaptureSrvMsg) GetData() []byte
func (*CaptureSrvMsg) ProtoMessage ¶
func (*CaptureSrvMsg) ProtoMessage()
func (*CaptureSrvMsg) ProtoReflect ¶
func (x *CaptureSrvMsg) ProtoReflect() protoreflect.Message
func (*CaptureSrvMsg) Reset ¶
func (x *CaptureSrvMsg) Reset()
func (*CaptureSrvMsg) String ¶
func (x *CaptureSrvMsg) String() string
type CaptureSrvMsg_Code ¶
type CaptureSrvMsg_Code int32
const ( CaptureSrvMsg_STDOUT CaptureSrvMsg_Code = 0 CaptureSrvMsg_STDERR CaptureSrvMsg_Code = 1 CaptureSrvMsg_OK CaptureSrvMsg_Code = 2 CaptureSrvMsg_ERROR CaptureSrvMsg_Code = 3 )
func (CaptureSrvMsg_Code) Descriptor ¶
func (CaptureSrvMsg_Code) Descriptor() protoreflect.EnumDescriptor
func (CaptureSrvMsg_Code) Enum ¶
func (x CaptureSrvMsg_Code) Enum() *CaptureSrvMsg_Code
func (CaptureSrvMsg_Code) EnumDescriptor
deprecated
func (CaptureSrvMsg_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use CaptureSrvMsg_Code.Descriptor instead.
func (CaptureSrvMsg_Code) Number ¶
func (x CaptureSrvMsg_Code) Number() protoreflect.EnumNumber
func (CaptureSrvMsg_Code) String ¶
func (x CaptureSrvMsg_Code) String() string
func (CaptureSrvMsg_Code) Type ¶
func (CaptureSrvMsg_Code) Type() protoreflect.EnumType
type ConfigFilesResponse ¶ added in v0.2.0
type ConfigFilesResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Source ConfigFilesResponse_Source `protobuf:"varint,2,opt,name=source,proto3,enum=netem.ConfigFilesResponse_Source" json:"source,omitempty"` Files []*ConfigFilesResponse_ConfigFile `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*ConfigFilesResponse) Descriptor
deprecated
added in
v0.2.0
func (*ConfigFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigFilesResponse.ProtoReflect.Descriptor instead.
func (*ConfigFilesResponse) GetFiles ¶ added in v0.2.0
func (x *ConfigFilesResponse) GetFiles() []*ConfigFilesResponse_ConfigFile
func (*ConfigFilesResponse) GetSource ¶ added in v0.2.0
func (x *ConfigFilesResponse) GetSource() ConfigFilesResponse_Source
func (*ConfigFilesResponse) GetStatus ¶ added in v0.2.0
func (x *ConfigFilesResponse) GetStatus() *Status
func (*ConfigFilesResponse) ProtoMessage ¶ added in v0.2.0
func (*ConfigFilesResponse) ProtoMessage()
func (*ConfigFilesResponse) ProtoReflect ¶ added in v0.2.0
func (x *ConfigFilesResponse) ProtoReflect() protoreflect.Message
func (*ConfigFilesResponse) Reset ¶ added in v0.2.0
func (x *ConfigFilesResponse) Reset()
func (*ConfigFilesResponse) String ¶ added in v0.2.0
func (x *ConfigFilesResponse) String() string
type ConfigFilesResponse_ConfigFile ¶ added in v0.2.0
type ConfigFilesResponse_ConfigFile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ConfigFilesResponse_ConfigFile) Descriptor
deprecated
added in
v0.2.0
func (*ConfigFilesResponse_ConfigFile) Descriptor() ([]byte, []int)
Deprecated: Use ConfigFilesResponse_ConfigFile.ProtoReflect.Descriptor instead.
func (*ConfigFilesResponse_ConfigFile) GetData ¶ added in v0.2.0
func (x *ConfigFilesResponse_ConfigFile) GetData() []byte
func (*ConfigFilesResponse_ConfigFile) GetName ¶ added in v0.2.0
func (x *ConfigFilesResponse_ConfigFile) GetName() string
func (*ConfigFilesResponse_ConfigFile) ProtoMessage ¶ added in v0.2.0
func (*ConfigFilesResponse_ConfigFile) ProtoMessage()
func (*ConfigFilesResponse_ConfigFile) ProtoReflect ¶ added in v0.2.0
func (x *ConfigFilesResponse_ConfigFile) ProtoReflect() protoreflect.Message
func (*ConfigFilesResponse_ConfigFile) Reset ¶ added in v0.2.0
func (x *ConfigFilesResponse_ConfigFile) Reset()
func (*ConfigFilesResponse_ConfigFile) String ¶ added in v0.2.0
func (x *ConfigFilesResponse_ConfigFile) String() string
type ConfigFilesResponse_Source ¶ added in v0.2.0
type ConfigFilesResponse_Source int32
const ( ConfigFilesResponse_ARCHIVE ConfigFilesResponse_Source = 0 ConfigFilesResponse_RUNNING ConfigFilesResponse_Source = 1 )
func (ConfigFilesResponse_Source) Descriptor ¶ added in v0.2.0
func (ConfigFilesResponse_Source) Descriptor() protoreflect.EnumDescriptor
func (ConfigFilesResponse_Source) Enum ¶ added in v0.2.0
func (x ConfigFilesResponse_Source) Enum() *ConfigFilesResponse_Source
func (ConfigFilesResponse_Source) EnumDescriptor
deprecated
added in
v0.2.0
func (ConfigFilesResponse_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConfigFilesResponse_Source.Descriptor instead.
func (ConfigFilesResponse_Source) Number ¶ added in v0.2.0
func (x ConfigFilesResponse_Source) Number() protoreflect.EnumNumber
func (ConfigFilesResponse_Source) String ¶ added in v0.2.0
func (x ConfigFilesResponse_Source) String() string
func (ConfigFilesResponse_Source) Type ¶ added in v0.2.0
func (ConfigFilesResponse_Source) Type() protoreflect.EnumType
type ConsoleCmdRequest ¶ added in v0.4.0
type ConsoleCmdRequest struct { PrjId string `protobuf:"bytes,1,opt,name=prjId,proto3" json:"prjId,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` Shell bool `protobuf:"varint,3,opt,name=shell,proto3" json:"shell,omitempty"` // contains filtered or unexported fields }
func (*ConsoleCmdRequest) Descriptor
deprecated
added in
v0.4.0
func (*ConsoleCmdRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConsoleCmdRequest.ProtoReflect.Descriptor instead.
func (*ConsoleCmdRequest) GetNode ¶ added in v0.4.0
func (x *ConsoleCmdRequest) GetNode() string
func (*ConsoleCmdRequest) GetPrjId ¶ added in v0.4.0
func (x *ConsoleCmdRequest) GetPrjId() string
func (*ConsoleCmdRequest) GetShell ¶ added in v0.4.0
func (x *ConsoleCmdRequest) GetShell() bool
func (*ConsoleCmdRequest) ProtoMessage ¶ added in v0.4.0
func (*ConsoleCmdRequest) ProtoMessage()
func (*ConsoleCmdRequest) ProtoReflect ¶ added in v0.4.0
func (x *ConsoleCmdRequest) ProtoReflect() protoreflect.Message
func (*ConsoleCmdRequest) Reset ¶ added in v0.4.0
func (x *ConsoleCmdRequest) Reset()
func (*ConsoleCmdRequest) String ¶ added in v0.4.0
func (x *ConsoleCmdRequest) String() string
type ConsoleCmdResponse ¶ added in v0.4.0
type ConsoleCmdResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Cmd []string `protobuf:"bytes,2,rep,name=cmd,proto3" json:"cmd,omitempty"` // contains filtered or unexported fields }
func (*ConsoleCmdResponse) Descriptor
deprecated
added in
v0.4.0
func (*ConsoleCmdResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConsoleCmdResponse.ProtoReflect.Descriptor instead.
func (*ConsoleCmdResponse) GetCmd ¶ added in v0.4.0
func (x *ConsoleCmdResponse) GetCmd() []string
func (*ConsoleCmdResponse) GetStatus ¶ added in v0.4.0
func (x *ConsoleCmdResponse) GetStatus() *Status
func (*ConsoleCmdResponse) ProtoMessage ¶ added in v0.4.0
func (*ConsoleCmdResponse) ProtoMessage()
func (*ConsoleCmdResponse) ProtoReflect ¶ added in v0.4.0
func (x *ConsoleCmdResponse) ProtoReflect() protoreflect.Message
func (*ConsoleCmdResponse) Reset ¶ added in v0.4.0
func (x *ConsoleCmdResponse) Reset()
func (*ConsoleCmdResponse) String ¶ added in v0.4.0
func (x *ConsoleCmdResponse) String() string
type CopyMsg ¶
type CopyMsg struct { Code CopyMsg_Code `protobuf:"varint,1,opt,name=code,proto3,enum=netem.CopyMsg_Code" json:"code,omitempty"` PrjId string `protobuf:"bytes,2,opt,name=prjId,proto3" json:"prjId,omitempty"` Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` NodePath string `protobuf:"bytes,4,opt,name=nodePath,proto3" json:"nodePath,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CopyMsg) Descriptor
deprecated
func (*CopyMsg) GetCode ¶
func (x *CopyMsg) GetCode() CopyMsg_Code
func (*CopyMsg) GetNodePath ¶
func (*CopyMsg) ProtoMessage ¶
func (*CopyMsg) ProtoMessage()
func (*CopyMsg) ProtoReflect ¶
func (x *CopyMsg) ProtoReflect() protoreflect.Message
type CopyMsg_Code ¶
type CopyMsg_Code int32
const ( CopyMsg_INIT CopyMsg_Code = 0 CopyMsg_DATA CopyMsg_Code = 1 CopyMsg_ERROR CopyMsg_Code = 3 )
func (CopyMsg_Code) Descriptor ¶
func (CopyMsg_Code) Descriptor() protoreflect.EnumDescriptor
func (CopyMsg_Code) Enum ¶
func (x CopyMsg_Code) Enum() *CopyMsg_Code
func (CopyMsg_Code) EnumDescriptor
deprecated
func (CopyMsg_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use CopyMsg_Code.Descriptor instead.
func (CopyMsg_Code) Number ¶
func (x CopyMsg_Code) Number() protoreflect.EnumNumber
func (CopyMsg_Code) String ¶
func (x CopyMsg_Code) String() string
func (CopyMsg_Code) Type ¶
func (CopyMsg_Code) Type() protoreflect.EnumType
type ExecCltMsg ¶ added in v0.4.0
type ExecCltMsg struct { Code ExecCltMsg_Code `protobuf:"varint,1,opt,name=code,proto3,enum=netem.ExecCltMsg_Code" json:"code,omitempty"` PrjId string `protobuf:"bytes,2,opt,name=prjId,proto3" json:"prjId,omitempty"` Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` Cmd []string `protobuf:"bytes,4,rep,name=cmd,proto3" json:"cmd,omitempty"` Tty bool `protobuf:"varint,5,opt,name=tty,proto3" json:"tty,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` TtyWidth int32 `protobuf:"varint,7,opt,name=ttyWidth,proto3" json:"ttyWidth,omitempty"` TtyHeight int32 `protobuf:"varint,8,opt,name=ttyHeight,proto3" json:"ttyHeight,omitempty"` // contains filtered or unexported fields }
func (*ExecCltMsg) Descriptor
deprecated
added in
v0.4.0
func (*ExecCltMsg) Descriptor() ([]byte, []int)
Deprecated: Use ExecCltMsg.ProtoReflect.Descriptor instead.
func (*ExecCltMsg) GetCmd ¶ added in v0.4.0
func (x *ExecCltMsg) GetCmd() []string
func (*ExecCltMsg) GetCode ¶ added in v0.4.0
func (x *ExecCltMsg) GetCode() ExecCltMsg_Code
func (*ExecCltMsg) GetData ¶ added in v0.4.0
func (x *ExecCltMsg) GetData() []byte
func (*ExecCltMsg) GetNode ¶ added in v0.4.0
func (x *ExecCltMsg) GetNode() string
func (*ExecCltMsg) GetPrjId ¶ added in v0.4.0
func (x *ExecCltMsg) GetPrjId() string
func (*ExecCltMsg) GetTty ¶ added in v0.4.0
func (x *ExecCltMsg) GetTty() bool
func (*ExecCltMsg) GetTtyHeight ¶ added in v0.4.0
func (x *ExecCltMsg) GetTtyHeight() int32
func (*ExecCltMsg) GetTtyWidth ¶ added in v0.4.0
func (x *ExecCltMsg) GetTtyWidth() int32
func (*ExecCltMsg) ProtoMessage ¶ added in v0.4.0
func (*ExecCltMsg) ProtoMessage()
func (*ExecCltMsg) ProtoReflect ¶ added in v0.4.0
func (x *ExecCltMsg) ProtoReflect() protoreflect.Message
func (*ExecCltMsg) Reset ¶ added in v0.4.0
func (x *ExecCltMsg) Reset()
func (*ExecCltMsg) String ¶ added in v0.4.0
func (x *ExecCltMsg) String() string
type ExecCltMsg_Code ¶ added in v0.4.0
type ExecCltMsg_Code int32
const ( ExecCltMsg_CMD ExecCltMsg_Code = 0 ExecCltMsg_DATA ExecCltMsg_Code = 1 ExecCltMsg_RESIZE ExecCltMsg_Code = 2 ExecCltMsg_ERROR ExecCltMsg_Code = 3 ExecCltMsg_CLOSE ExecCltMsg_Code = 4 )
func (ExecCltMsg_Code) Descriptor ¶ added in v0.4.0
func (ExecCltMsg_Code) Descriptor() protoreflect.EnumDescriptor
func (ExecCltMsg_Code) Enum ¶ added in v0.4.0
func (x ExecCltMsg_Code) Enum() *ExecCltMsg_Code
func (ExecCltMsg_Code) EnumDescriptor
deprecated
added in
v0.4.0
func (ExecCltMsg_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecCltMsg_Code.Descriptor instead.
func (ExecCltMsg_Code) Number ¶ added in v0.4.0
func (x ExecCltMsg_Code) Number() protoreflect.EnumNumber
func (ExecCltMsg_Code) String ¶ added in v0.4.0
func (x ExecCltMsg_Code) String() string
func (ExecCltMsg_Code) Type ¶ added in v0.4.0
func (ExecCltMsg_Code) Type() protoreflect.EnumType
type ExecSrvMsg ¶ added in v0.4.0
type ExecSrvMsg struct { Code ExecSrvMsg_Code `protobuf:"varint,1,opt,name=code,proto3,enum=netem.ExecSrvMsg_Code" json:"code,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ExecSrvMsg) Descriptor
deprecated
added in
v0.4.0
func (*ExecSrvMsg) Descriptor() ([]byte, []int)
Deprecated: Use ExecSrvMsg.ProtoReflect.Descriptor instead.
func (*ExecSrvMsg) GetCode ¶ added in v0.4.0
func (x *ExecSrvMsg) GetCode() ExecSrvMsg_Code
func (*ExecSrvMsg) GetData ¶ added in v0.4.0
func (x *ExecSrvMsg) GetData() []byte
func (*ExecSrvMsg) ProtoMessage ¶ added in v0.4.0
func (*ExecSrvMsg) ProtoMessage()
func (*ExecSrvMsg) ProtoReflect ¶ added in v0.4.0
func (x *ExecSrvMsg) ProtoReflect() protoreflect.Message
func (*ExecSrvMsg) Reset ¶ added in v0.4.0
func (x *ExecSrvMsg) Reset()
func (*ExecSrvMsg) String ¶ added in v0.4.0
func (x *ExecSrvMsg) String() string
type ExecSrvMsg_Code ¶ added in v0.4.0
type ExecSrvMsg_Code int32
const ( ExecSrvMsg_STDOUT ExecSrvMsg_Code = 0 ExecSrvMsg_STDERR ExecSrvMsg_Code = 1 ExecSrvMsg_ERROR ExecSrvMsg_Code = 2 ExecSrvMsg_CLOSE ExecSrvMsg_Code = 3 )
func (ExecSrvMsg_Code) Descriptor ¶ added in v0.4.0
func (ExecSrvMsg_Code) Descriptor() protoreflect.EnumDescriptor
func (ExecSrvMsg_Code) Enum ¶ added in v0.4.0
func (x ExecSrvMsg_Code) Enum() *ExecSrvMsg_Code
func (ExecSrvMsg_Code) EnumDescriptor
deprecated
added in
v0.4.0
func (ExecSrvMsg_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecSrvMsg_Code.Descriptor instead.
func (ExecSrvMsg_Code) Number ¶ added in v0.4.0
func (x ExecSrvMsg_Code) Number() protoreflect.EnumNumber
func (ExecSrvMsg_Code) String ¶ added in v0.4.0
func (x ExecSrvMsg_Code) String() string
func (ExecSrvMsg_Code) Type ¶ added in v0.4.0
func (ExecSrvMsg_Code) Type() protoreflect.EnumType
type FileResponse ¶
type FileResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*FileResponse) Descriptor
deprecated
func (*FileResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileResponse.ProtoReflect.Descriptor instead.
func (*FileResponse) GetData ¶
func (x *FileResponse) GetData() []byte
func (*FileResponse) GetStatus ¶
func (x *FileResponse) GetStatus() *Status
func (*FileResponse) ProtoMessage ¶
func (*FileResponse) ProtoMessage()
func (*FileResponse) ProtoReflect ¶
func (x *FileResponse) ProtoReflect() protoreflect.Message
func (*FileResponse) Reset ¶
func (x *FileResponse) Reset()
func (*FileResponse) String ¶
func (x *FileResponse) String() string
type IfState ¶
type IfState int32
func (IfState) Descriptor ¶
func (IfState) Descriptor() protoreflect.EnumDescriptor
func (IfState) EnumDescriptor
deprecated
func (IfState) Number ¶
func (x IfState) Number() protoreflect.EnumNumber
func (IfState) Type ¶
func (IfState) Type() protoreflect.EnumType
type LinkConfig ¶ added in v0.3.0
type LinkConfig struct { Peer1 string `protobuf:"bytes,1,opt,name=peer1,proto3" json:"peer1,omitempty"` Peer2 string `protobuf:"bytes,2,opt,name=peer2,proto3" json:"peer2,omitempty"` Loss float32 `protobuf:"fixed32,3,opt,name=loss,proto3" json:"loss,omitempty"` Delay int32 `protobuf:"varint,4,opt,name=delay,proto3" json:"delay,omitempty"` Jitter int32 `protobuf:"varint,5,opt,name=jitter,proto3" json:"jitter,omitempty"` // contains filtered or unexported fields }
func (*LinkConfig) Descriptor
deprecated
added in
v0.3.0
func (*LinkConfig) Descriptor() ([]byte, []int)
Deprecated: Use LinkConfig.ProtoReflect.Descriptor instead.
func (*LinkConfig) GetDelay ¶ added in v0.3.0
func (x *LinkConfig) GetDelay() int32
func (*LinkConfig) GetJitter ¶ added in v0.3.0
func (x *LinkConfig) GetJitter() int32
func (*LinkConfig) GetLoss ¶ added in v0.3.0
func (x *LinkConfig) GetLoss() float32
func (*LinkConfig) GetPeer1 ¶ added in v0.3.0
func (x *LinkConfig) GetPeer1() string
func (*LinkConfig) GetPeer2 ¶ added in v0.3.0
func (x *LinkConfig) GetPeer2() string
func (*LinkConfig) ProtoMessage ¶ added in v0.3.0
func (*LinkConfig) ProtoMessage()
func (*LinkConfig) ProtoReflect ¶ added in v0.3.0
func (x *LinkConfig) ProtoReflect() protoreflect.Message
func (*LinkConfig) Reset ¶ added in v0.3.0
func (x *LinkConfig) Reset()
func (*LinkConfig) String ¶ added in v0.3.0
func (x *LinkConfig) String() string
type LinkRequest ¶ added in v0.3.0
type LinkRequest struct { PrjId string `protobuf:"bytes,1,opt,name=prjId,proto3" json:"prjId,omitempty"` Link *LinkConfig `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` Sync bool `protobuf:"varint,3,opt,name=sync,proto3" json:"sync,omitempty"` // contains filtered or unexported fields }
func (*LinkRequest) Descriptor
deprecated
added in
v0.3.0
func (*LinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkRequest.ProtoReflect.Descriptor instead.
func (*LinkRequest) GetLink ¶ added in v0.3.0
func (x *LinkRequest) GetLink() *LinkConfig
func (*LinkRequest) GetPrjId ¶ added in v0.3.0
func (x *LinkRequest) GetPrjId() string
func (*LinkRequest) GetSync ¶ added in v0.4.0
func (x *LinkRequest) GetSync() bool
func (*LinkRequest) ProtoMessage ¶ added in v0.3.0
func (*LinkRequest) ProtoMessage()
func (*LinkRequest) ProtoReflect ¶ added in v0.3.0
func (x *LinkRequest) ProtoReflect() protoreflect.Message
func (*LinkRequest) Reset ¶ added in v0.3.0
func (x *LinkRequest) Reset()
func (*LinkRequest) String ¶ added in v0.3.0
func (x *LinkRequest) String() string
type NetemClient ¶
type NetemClient interface { // Server actions ServerGetVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) ServerPullImages(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Netem_ServerPullImagesClient, error) ServerCleanContainers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AckResponse, error) // Project actions ProjectGetMany(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PrjListResponse, error) ProjectOpen(ctx context.Context, in *OpenRequest, opts ...grpc.CallOption) (*PrjOpenResponse, error) ProjectClose(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (Netem_ProjectCloseClient, error) ProjectSave(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (Netem_ProjectSaveClient, error) ProjectGetNodeConfigs(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*FileResponse, error) ProjectGetStatus(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*StatusResponse, error) // Read/Write network topology ReadNetworkFile(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*FileResponse, error) WriteNetworkFile(ctx context.Context, in *WNetworkRequest, opts ...grpc.CallOption) (*AckResponse, error) // topology actions TopologyCheck(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*AckResponse, error) TopologyReload(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (Netem_TopologyReloadClient, error) TopologyRun(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (Netem_TopologyRunClient, error) TopologyStartAll(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*AckResponse, error) TopologyStopAll(ctx context.Context, in *ProjectRequest, opts ...grpc.CallOption) (*AckResponse, error) // Node actions NodeReadConfigFiles(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*ConfigFilesResponse, error) NodeStart(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*AckResponse, error) NodeStop(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*AckResponse, error) NodeRestart(ctx context.Context, in *NodeRequest, opts ...grpc.CallOption) (*AckResponse, error) NodeSetIfState(ctx context.Context, in *NodeIfStateRequest, opts ...grpc.CallOption) (*AckResponse, error) NodeCapture(ctx context.Context, in *NodeInterfaceRequest, opts ...grpc.CallOption) (Netem_NodeCaptureClient, error) NodeCopyFrom(ctx context.Context, in *CopyMsg, opts ...grpc.CallOption) (Netem_NodeCopyFromClient, error) NodeCopyTo(ctx context.Context, opts ...grpc.CallOption) (Netem_NodeCopyToClient, error) NodeGetConsoleCmd(ctx context.Context, in *ConsoleCmdRequest, opts ...grpc.CallOption) (*ConsoleCmdResponse, error) NodeExec(ctx context.Context, opts ...grpc.CallOption) (Netem_NodeExecClient, error) // Link actions LinkUpdate(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*AckResponse, error) LinkAdd(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*AckResponse, error) LinkDel(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*AckResponse, error) }
NetemClient is the client API for Netem service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNetemClient ¶
func NewNetemClient(cc grpc.ClientConnInterface) NetemClient
type NetemServer ¶
type NetemServer interface { // Server actions ServerGetVersion(context.Context, *emptypb.Empty) (*VersionResponse, error) ServerPullImages(*emptypb.Empty, Netem_ServerPullImagesServer) error ServerCleanContainers(context.Context, *emptypb.Empty) (*AckResponse, error) // Project actions ProjectGetMany(context.Context, *emptypb.Empty) (*PrjListResponse, error) ProjectOpen(context.Context, *OpenRequest) (*PrjOpenResponse, error) ProjectClose(*ProjectRequest, Netem_ProjectCloseServer) error ProjectSave(*ProjectRequest, Netem_ProjectSaveServer) error ProjectGetNodeConfigs(context.Context, *ProjectRequest) (*FileResponse, error) ProjectGetStatus(context.Context, *ProjectRequest) (*StatusResponse, error) // Read/Write network topology ReadNetworkFile(context.Context, *ProjectRequest) (*FileResponse, error) WriteNetworkFile(context.Context, *WNetworkRequest) (*AckResponse, error) // topology actions TopologyCheck(context.Context, *ProjectRequest) (*AckResponse, error) TopologyReload(*ProjectRequest, Netem_TopologyReloadServer) error TopologyRun(*ProjectRequest, Netem_TopologyRunServer) error TopologyStartAll(context.Context, *ProjectRequest) (*AckResponse, error) TopologyStopAll(context.Context, *ProjectRequest) (*AckResponse, error) // Node actions NodeReadConfigFiles(context.Context, *NodeRequest) (*ConfigFilesResponse, error) NodeStart(context.Context, *NodeRequest) (*AckResponse, error) NodeStop(context.Context, *NodeRequest) (*AckResponse, error) NodeRestart(context.Context, *NodeRequest) (*AckResponse, error) NodeSetIfState(context.Context, *NodeIfStateRequest) (*AckResponse, error) NodeCapture(*NodeInterfaceRequest, Netem_NodeCaptureServer) error NodeCopyFrom(*CopyMsg, Netem_NodeCopyFromServer) error NodeCopyTo(Netem_NodeCopyToServer) error NodeGetConsoleCmd(context.Context, *ConsoleCmdRequest) (*ConsoleCmdResponse, error) NodeExec(Netem_NodeExecServer) error // Link actions LinkUpdate(context.Context, *LinkRequest) (*AckResponse, error) LinkAdd(context.Context, *LinkRequest) (*AckResponse, error) LinkDel(context.Context, *LinkRequest) (*AckResponse, error) // contains filtered or unexported methods }
NetemServer is the server API for Netem service. All implementations must embed UnimplementedNetemServer for forward compatibility
type Netem_NodeCaptureClient ¶ added in v0.3.0
type Netem_NodeCaptureClient interface { Recv() (*CaptureSrvMsg, error) grpc.ClientStream }
type Netem_NodeCaptureServer ¶ added in v0.3.0
type Netem_NodeCaptureServer interface { Send(*CaptureSrvMsg) error grpc.ServerStream }
type Netem_NodeCopyFromClient ¶ added in v0.3.0
type Netem_NodeCopyFromClient interface { Recv() (*CopyMsg, error) grpc.ClientStream }
type Netem_NodeCopyFromServer ¶ added in v0.3.0
type Netem_NodeCopyFromServer interface { Send(*CopyMsg) error grpc.ServerStream }
type Netem_NodeCopyToClient ¶ added in v0.3.0
type Netem_NodeCopyToClient interface { Send(*CopyMsg) error CloseAndRecv() (*AckResponse, error) grpc.ClientStream }
type Netem_NodeCopyToServer ¶ added in v0.3.0
type Netem_NodeCopyToServer interface { SendAndClose(*AckResponse) error Recv() (*CopyMsg, error) grpc.ServerStream }
type Netem_NodeExecClient ¶ added in v0.4.0
type Netem_NodeExecClient interface { Send(*ExecCltMsg) error Recv() (*ExecSrvMsg, error) grpc.ClientStream }
type Netem_NodeExecServer ¶ added in v0.4.0
type Netem_NodeExecServer interface { Send(*ExecSrvMsg) error Recv() (*ExecCltMsg, error) grpc.ServerStream }
type Netem_ProjectCloseClient ¶ added in v0.3.0
type Netem_ProjectCloseClient interface { Recv() (*ProjectCloseMsg, error) grpc.ClientStream }
type Netem_ProjectCloseServer ¶ added in v0.3.0
type Netem_ProjectCloseServer interface { Send(*ProjectCloseMsg) error grpc.ServerStream }
type Netem_ProjectSaveClient ¶ added in v0.3.0
type Netem_ProjectSaveClient interface { Recv() (*ProjectSaveMsg, error) grpc.ClientStream }
type Netem_ProjectSaveServer ¶ added in v0.3.0
type Netem_ProjectSaveServer interface { Send(*ProjectSaveMsg) error grpc.ServerStream }
type Netem_ServerPullImagesClient ¶ added in v0.3.0
type Netem_ServerPullImagesClient interface { Recv() (*PullSrvMsg, error) grpc.ClientStream }
type Netem_ServerPullImagesServer ¶ added in v0.3.0
type Netem_ServerPullImagesServer interface { Send(*PullSrvMsg) error grpc.ServerStream }
type Netem_TopologyReloadClient ¶ added in v0.3.0
type Netem_TopologyReloadClient interface { Recv() (*TopologyRunMsg, error) grpc.ClientStream }
type Netem_TopologyReloadServer ¶ added in v0.3.0
type Netem_TopologyReloadServer interface { Send(*TopologyRunMsg) error grpc.ServerStream }
type Netem_TopologyRunClient ¶ added in v0.3.0
type Netem_TopologyRunClient interface { Recv() (*TopologyRunMsg, error) grpc.ClientStream }
type Netem_TopologyRunServer ¶ added in v0.3.0
type Netem_TopologyRunServer interface { Send(*TopologyRunMsg) error grpc.ServerStream }
type NodeIfStateRequest ¶
type NodeIfStateRequest struct { PrjId string `protobuf:"bytes,1,opt,name=prjId,proto3" json:"prjId,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` IfIndex int32 `protobuf:"varint,3,opt,name=ifIndex,proto3" json:"ifIndex,omitempty"` State IfState `protobuf:"varint,4,opt,name=state,proto3,enum=netem.IfState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*NodeIfStateRequest) Descriptor
deprecated
func (*NodeIfStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeIfStateRequest.ProtoReflect.Descriptor instead.
func (*NodeIfStateRequest) GetIfIndex ¶
func (x *NodeIfStateRequest) GetIfIndex() int32
func (*NodeIfStateRequest) GetNode ¶
func (x *NodeIfStateRequest) GetNode() string
func (*NodeIfStateRequest) GetPrjId ¶
func (x *NodeIfStateRequest) GetPrjId() string
func (*NodeIfStateRequest) GetState ¶
func (x *NodeIfStateRequest) GetState() IfState
func (*NodeIfStateRequest) ProtoMessage ¶
func (*NodeIfStateRequest) ProtoMessage()
func (*NodeIfStateRequest) ProtoReflect ¶
func (x *NodeIfStateRequest) ProtoReflect() protoreflect.Message
func (*NodeIfStateRequest) Reset ¶
func (x *NodeIfStateRequest) Reset()
func (*NodeIfStateRequest) String ¶
func (x *NodeIfStateRequest) String() string
type NodeInterfaceRequest ¶
type NodeInterfaceRequest struct { PrjId string `protobuf:"bytes,1,opt,name=prjId,proto3" json:"prjId,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` IfIndex int32 `protobuf:"varint,3,opt,name=ifIndex,proto3" json:"ifIndex,omitempty"` // contains filtered or unexported fields }
func (*NodeInterfaceRequest) Descriptor
deprecated
func (*NodeInterfaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeInterfaceRequest.ProtoReflect.Descriptor instead.
func (*NodeInterfaceRequest) GetIfIndex ¶
func (x *NodeInterfaceRequest) GetIfIndex() int32
func (*NodeInterfaceRequest) GetNode ¶
func (x *NodeInterfaceRequest) GetNode() string
func (*NodeInterfaceRequest) GetPrjId ¶
func (x *NodeInterfaceRequest) GetPrjId() string
func (*NodeInterfaceRequest) ProtoMessage ¶
func (*NodeInterfaceRequest) ProtoMessage()
func (*NodeInterfaceRequest) ProtoReflect ¶
func (x *NodeInterfaceRequest) ProtoReflect() protoreflect.Message
func (*NodeInterfaceRequest) Reset ¶
func (x *NodeInterfaceRequest) Reset()
func (*NodeInterfaceRequest) String ¶
func (x *NodeInterfaceRequest) String() string
type NodeRequest ¶
type NodeRequest struct { PrjId string `protobuf:"bytes,1,opt,name=prjId,proto3" json:"prjId,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*NodeRequest) Descriptor
deprecated
func (*NodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeRequest.ProtoReflect.Descriptor instead.
func (*NodeRequest) GetNode ¶
func (x *NodeRequest) GetNode() string
func (*NodeRequest) GetPrjId ¶
func (x *NodeRequest) GetPrjId() string
func (*NodeRequest) ProtoMessage ¶
func (*NodeRequest) ProtoMessage()
func (*NodeRequest) ProtoReflect ¶
func (x *NodeRequest) ProtoReflect() protoreflect.Message
func (*NodeRequest) Reset ¶
func (x *NodeRequest) Reset()
func (*NodeRequest) String ¶
func (x *NodeRequest) String() string
type OpenRequest ¶
type OpenRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*OpenRequest) Descriptor
deprecated
func (*OpenRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenRequest.ProtoReflect.Descriptor instead.
func (*OpenRequest) GetData ¶
func (x *OpenRequest) GetData() []byte
func (*OpenRequest) GetName ¶
func (x *OpenRequest) GetName() string
func (*OpenRequest) ProtoMessage ¶
func (*OpenRequest) ProtoMessage()
func (*OpenRequest) ProtoReflect ¶
func (x *OpenRequest) ProtoReflect() protoreflect.Message
func (*OpenRequest) Reset ¶
func (x *OpenRequest) Reset()
func (*OpenRequest) String ¶
func (x *OpenRequest) String() string
type PrjListResponse ¶
type PrjListResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Projects []*PrjListResponse_Info `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*PrjListResponse) Descriptor
deprecated
func (*PrjListResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrjListResponse.ProtoReflect.Descriptor instead.
func (*PrjListResponse) GetProjects ¶
func (x *PrjListResponse) GetProjects() []*PrjListResponse_Info
func (*PrjListResponse) GetStatus ¶
func (x *PrjListResponse) GetStatus() *Status
func (*PrjListResponse) ProtoMessage ¶
func (*PrjListResponse) ProtoMessage()
func (*PrjListResponse) ProtoReflect ¶
func (x *PrjListResponse) ProtoReflect() protoreflect.Message
func (*PrjListResponse) Reset ¶
func (x *PrjListResponse) Reset()
func (*PrjListResponse) String ¶
func (x *PrjListResponse) String() string
type PrjListResponse_Info ¶
type PrjListResponse_Info struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` OpenAt string `protobuf:"bytes,3,opt,name=openAt,proto3" json:"openAt,omitempty"` // contains filtered or unexported fields }
func (*PrjListResponse_Info) Descriptor
deprecated
func (*PrjListResponse_Info) Descriptor() ([]byte, []int)
Deprecated: Use PrjListResponse_Info.ProtoReflect.Descriptor instead.
func (*PrjListResponse_Info) GetId ¶
func (x *PrjListResponse_Info) GetId() string
func (*PrjListResponse_Info) GetName ¶
func (x *PrjListResponse_Info) GetName() string
func (*PrjListResponse_Info) GetOpenAt ¶
func (x *PrjListResponse_Info) GetOpenAt() string
func (*PrjListResponse_Info) ProtoMessage ¶
func (*PrjListResponse_Info) ProtoMessage()
func (*PrjListResponse_Info) ProtoReflect ¶
func (x *PrjListResponse_Info) ProtoReflect() protoreflect.Message
func (*PrjListResponse_Info) Reset ¶
func (x *PrjListResponse_Info) Reset()
func (*PrjListResponse_Info) String ¶
func (x *PrjListResponse_Info) String() string
type PrjOpenResponse ¶
type PrjOpenResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PrjOpenResponse) Descriptor
deprecated
func (*PrjOpenResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrjOpenResponse.ProtoReflect.Descriptor instead.
func (*PrjOpenResponse) GetId ¶
func (x *PrjOpenResponse) GetId() string
func (*PrjOpenResponse) GetStatus ¶
func (x *PrjOpenResponse) GetStatus() *Status
func (*PrjOpenResponse) ProtoMessage ¶
func (*PrjOpenResponse) ProtoMessage()
func (*PrjOpenResponse) ProtoReflect ¶
func (x *PrjOpenResponse) ProtoReflect() protoreflect.Message
func (*PrjOpenResponse) Reset ¶
func (x *PrjOpenResponse) Reset()
func (*PrjOpenResponse) String ¶
func (x *PrjOpenResponse) String() string
type ProjectCloseMsg ¶ added in v0.3.0
type ProjectCloseMsg struct { Code ProjectCloseMsg_Code `protobuf:"varint,1,opt,name=code,proto3,enum=netem.ProjectCloseMsg_Code" json:"code,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ProjectCloseMsg) Descriptor
deprecated
added in
v0.3.0
func (*ProjectCloseMsg) Descriptor() ([]byte, []int)
Deprecated: Use ProjectCloseMsg.ProtoReflect.Descriptor instead.
func (*ProjectCloseMsg) GetCode ¶ added in v0.3.0
func (x *ProjectCloseMsg) GetCode() ProjectCloseMsg_Code
func (*ProjectCloseMsg) GetTotal ¶ added in v0.3.0
func (x *ProjectCloseMsg) GetTotal() int32
func (*ProjectCloseMsg) ProtoMessage ¶ added in v0.3.0
func (*ProjectCloseMsg) ProtoMessage()
func (*ProjectCloseMsg) ProtoReflect ¶ added in v0.3.0
func (x *ProjectCloseMsg) ProtoReflect() protoreflect.Message
func (*ProjectCloseMsg) Reset ¶ added in v0.3.0
func (x *ProjectCloseMsg) Reset()
func (*ProjectCloseMsg) String ¶ added in v0.3.0
func (x *ProjectCloseMsg) String() string
type ProjectCloseMsg_Code ¶ added in v0.3.0
type ProjectCloseMsg_Code int32
const ( ProjectCloseMsg_NODE_COUNT ProjectCloseMsg_Code = 0 ProjectCloseMsg_BRIDGE_COUNT ProjectCloseMsg_Code = 1 ProjectCloseMsg_NODE_CLOSE ProjectCloseMsg_Code = 2 ProjectCloseMsg_BRIDGE_CLOSE ProjectCloseMsg_Code = 3 )
func (ProjectCloseMsg_Code) Descriptor ¶ added in v0.3.0
func (ProjectCloseMsg_Code) Descriptor() protoreflect.EnumDescriptor
func (ProjectCloseMsg_Code) Enum ¶ added in v0.3.0
func (x ProjectCloseMsg_Code) Enum() *ProjectCloseMsg_Code
func (ProjectCloseMsg_Code) EnumDescriptor
deprecated
added in
v0.3.0
func (ProjectCloseMsg_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectCloseMsg_Code.Descriptor instead.
func (ProjectCloseMsg_Code) Number ¶ added in v0.3.0
func (x ProjectCloseMsg_Code) Number() protoreflect.EnumNumber
func (ProjectCloseMsg_Code) String ¶ added in v0.3.0
func (x ProjectCloseMsg_Code) String() string
func (ProjectCloseMsg_Code) Type ¶ added in v0.3.0
func (ProjectCloseMsg_Code) Type() protoreflect.EnumType
type ProjectRequest ¶
type ProjectRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ProjectRequest) Descriptor
deprecated
func (*ProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectRequest.ProtoReflect.Descriptor instead.
func (*ProjectRequest) GetId ¶
func (x *ProjectRequest) GetId() string
func (*ProjectRequest) ProtoMessage ¶
func (*ProjectRequest) ProtoMessage()
func (*ProjectRequest) ProtoReflect ¶
func (x *ProjectRequest) ProtoReflect() protoreflect.Message
func (*ProjectRequest) Reset ¶
func (x *ProjectRequest) Reset()
func (*ProjectRequest) String ¶
func (x *ProjectRequest) String() string
type ProjectSaveMsg ¶ added in v0.3.0
type ProjectSaveMsg struct { Code ProjectSaveMsg_Code `protobuf:"varint,1,opt,name=code,proto3,enum=netem.ProjectSaveMsg_Code" json:"code,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ProjectSaveMsg) Descriptor
deprecated
added in
v0.3.0
func (*ProjectSaveMsg) Descriptor() ([]byte, []int)
Deprecated: Use ProjectSaveMsg.ProtoReflect.Descriptor instead.
func (*ProjectSaveMsg) GetCode ¶ added in v0.3.0
func (x *ProjectSaveMsg) GetCode() ProjectSaveMsg_Code
func (*ProjectSaveMsg) GetData ¶ added in v0.3.0
func (x *ProjectSaveMsg) GetData() []byte
func (*ProjectSaveMsg) GetTotal ¶ added in v0.3.0
func (x *ProjectSaveMsg) GetTotal() int32
func (*ProjectSaveMsg) ProtoMessage ¶ added in v0.3.0
func (*ProjectSaveMsg) ProtoMessage()
func (*ProjectSaveMsg) ProtoReflect ¶ added in v0.3.0
func (x *ProjectSaveMsg) ProtoReflect() protoreflect.Message
func (*ProjectSaveMsg) Reset ¶ added in v0.3.0
func (x *ProjectSaveMsg) Reset()
func (*ProjectSaveMsg) String ¶ added in v0.3.0
func (x *ProjectSaveMsg) String() string
type ProjectSaveMsg_Code ¶ added in v0.3.0
type ProjectSaveMsg_Code int32
const ( ProjectSaveMsg_NODE_COUNT ProjectSaveMsg_Code = 0 ProjectSaveMsg_NODE_SAVE ProjectSaveMsg_Code = 1 ProjectSaveMsg_DATA ProjectSaveMsg_Code = 2 )
func (ProjectSaveMsg_Code) Descriptor ¶ added in v0.3.0
func (ProjectSaveMsg_Code) Descriptor() protoreflect.EnumDescriptor
func (ProjectSaveMsg_Code) Enum ¶ added in v0.3.0
func (x ProjectSaveMsg_Code) Enum() *ProjectSaveMsg_Code
func (ProjectSaveMsg_Code) EnumDescriptor
deprecated
added in
v0.3.0
func (ProjectSaveMsg_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectSaveMsg_Code.Descriptor instead.
func (ProjectSaveMsg_Code) Number ¶ added in v0.3.0
func (x ProjectSaveMsg_Code) Number() protoreflect.EnumNumber
func (ProjectSaveMsg_Code) String ¶ added in v0.3.0
func (x ProjectSaveMsg_Code) String() string
func (ProjectSaveMsg_Code) Type ¶ added in v0.3.0
func (ProjectSaveMsg_Code) Type() protoreflect.EnumType
type PullSrvMsg ¶
type PullSrvMsg struct { Code PullSrvMsg_Code `protobuf:"varint,1,opt,name=code,proto3,enum=netem.PullSrvMsg_Code" json:"code,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*PullSrvMsg) Descriptor
deprecated
func (*PullSrvMsg) Descriptor() ([]byte, []int)
Deprecated: Use PullSrvMsg.ProtoReflect.Descriptor instead.
func (*PullSrvMsg) GetCode ¶
func (x *PullSrvMsg) GetCode() PullSrvMsg_Code
func (*PullSrvMsg) GetError ¶
func (x *PullSrvMsg) GetError() string
func (*PullSrvMsg) GetImage ¶
func (x *PullSrvMsg) GetImage() string
func (*PullSrvMsg) ProtoMessage ¶
func (*PullSrvMsg) ProtoMessage()
func (*PullSrvMsg) ProtoReflect ¶
func (x *PullSrvMsg) ProtoReflect() protoreflect.Message
func (*PullSrvMsg) Reset ¶
func (x *PullSrvMsg) Reset()
func (*PullSrvMsg) String ¶
func (x *PullSrvMsg) String() string
type PullSrvMsg_Code ¶
type PullSrvMsg_Code int32
const ( PullSrvMsg_START PullSrvMsg_Code = 0 PullSrvMsg_OK PullSrvMsg_Code = 1 PullSrvMsg_ERROR PullSrvMsg_Code = 2 )
func (PullSrvMsg_Code) Descriptor ¶
func (PullSrvMsg_Code) Descriptor() protoreflect.EnumDescriptor
func (PullSrvMsg_Code) Enum ¶
func (x PullSrvMsg_Code) Enum() *PullSrvMsg_Code
func (PullSrvMsg_Code) EnumDescriptor
deprecated
func (PullSrvMsg_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use PullSrvMsg_Code.Descriptor instead.
func (PullSrvMsg_Code) Number ¶
func (x PullSrvMsg_Code) Number() protoreflect.EnumNumber
func (PullSrvMsg_Code) String ¶
func (x PullSrvMsg_Code) String() string
func (PullSrvMsg_Code) Type ¶
func (PullSrvMsg_Code) Type() protoreflect.EnumType
type Status ¶
type Status struct { Code StatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=netem.StatusCode" json:"code,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) GetCode ¶
func (x *Status) GetCode() StatusCode
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type StatusCode ¶
type StatusCode int32
const ( StatusCode_OK StatusCode = 0 StatusCode_ERROR StatusCode = 1 )
func (StatusCode) Descriptor ¶
func (StatusCode) Descriptor() protoreflect.EnumDescriptor
func (StatusCode) Enum ¶
func (x StatusCode) Enum() *StatusCode
func (StatusCode) EnumDescriptor
deprecated
func (StatusCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusCode.Descriptor instead.
func (StatusCode) Number ¶
func (x StatusCode) Number() protoreflect.EnumNumber
func (StatusCode) String ¶
func (x StatusCode) String() string
func (StatusCode) Type ¶
func (StatusCode) Type() protoreflect.EnumType
type StatusResponse ¶
type StatusResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` OpenAt string `protobuf:"bytes,4,opt,name=openAt,proto3" json:"openAt,omitempty"` Running bool `protobuf:"varint,5,opt,name=running,proto3" json:"running,omitempty"` Nodes []*StatusResponse_NodeStatus `protobuf:"bytes,10,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetId ¶
func (x *StatusResponse) GetId() string
func (*StatusResponse) GetName ¶
func (x *StatusResponse) GetName() string
func (*StatusResponse) GetNodes ¶
func (x *StatusResponse) GetNodes() []*StatusResponse_NodeStatus
func (*StatusResponse) GetOpenAt ¶
func (x *StatusResponse) GetOpenAt() string
func (*StatusResponse) GetRunning ¶
func (x *StatusResponse) GetRunning() bool
func (*StatusResponse) GetStatus ¶
func (x *StatusResponse) GetStatus() *Status
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type StatusResponse_IfStatus ¶
type StatusResponse_IfStatus struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` State IfState `protobuf:"varint,2,opt,name=state,proto3,enum=netem.IfState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse_IfStatus) Descriptor
deprecated
func (*StatusResponse_IfStatus) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse_IfStatus.ProtoReflect.Descriptor instead.
func (*StatusResponse_IfStatus) GetName ¶
func (x *StatusResponse_IfStatus) GetName() string
func (*StatusResponse_IfStatus) GetState ¶
func (x *StatusResponse_IfStatus) GetState() IfState
func (*StatusResponse_IfStatus) ProtoMessage ¶
func (*StatusResponse_IfStatus) ProtoMessage()
func (*StatusResponse_IfStatus) ProtoReflect ¶
func (x *StatusResponse_IfStatus) ProtoReflect() protoreflect.Message
func (*StatusResponse_IfStatus) Reset ¶
func (x *StatusResponse_IfStatus) Reset()
func (*StatusResponse_IfStatus) String ¶
func (x *StatusResponse_IfStatus) String() string
type StatusResponse_NodeStatus ¶
type StatusResponse_NodeStatus struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Running bool `protobuf:"varint,2,opt,name=running,proto3" json:"running,omitempty"` Interfaces []*StatusResponse_IfStatus `protobuf:"bytes,10,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse_NodeStatus) Descriptor
deprecated
func (*StatusResponse_NodeStatus) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse_NodeStatus.ProtoReflect.Descriptor instead.
func (*StatusResponse_NodeStatus) GetInterfaces ¶
func (x *StatusResponse_NodeStatus) GetInterfaces() []*StatusResponse_IfStatus
func (*StatusResponse_NodeStatus) GetName ¶
func (x *StatusResponse_NodeStatus) GetName() string
func (*StatusResponse_NodeStatus) GetRunning ¶
func (x *StatusResponse_NodeStatus) GetRunning() bool
func (*StatusResponse_NodeStatus) ProtoMessage ¶
func (*StatusResponse_NodeStatus) ProtoMessage()
func (*StatusResponse_NodeStatus) ProtoReflect ¶
func (x *StatusResponse_NodeStatus) ProtoReflect() protoreflect.Message
func (*StatusResponse_NodeStatus) Reset ¶
func (x *StatusResponse_NodeStatus) Reset()
func (*StatusResponse_NodeStatus) String ¶
func (x *StatusResponse_NodeStatus) String() string
type TopologyRunMsg ¶ added in v0.3.0
type TopologyRunMsg struct { Code TopologyRunMsg_Code `protobuf:"varint,1,opt,name=code,proto3,enum=netem.TopologyRunMsg_Code" json:"code,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` NodeMessages []*TopologyRunMsg_NodeMessages `protobuf:"bytes,3,rep,name=nodeMessages,proto3" json:"nodeMessages,omitempty"` // contains filtered or unexported fields }
func (*TopologyRunMsg) Descriptor
deprecated
added in
v0.3.0
func (*TopologyRunMsg) Descriptor() ([]byte, []int)
Deprecated: Use TopologyRunMsg.ProtoReflect.Descriptor instead.
func (*TopologyRunMsg) GetCode ¶ added in v0.3.0
func (x *TopologyRunMsg) GetCode() TopologyRunMsg_Code
func (*TopologyRunMsg) GetNodeMessages ¶ added in v0.3.0
func (x *TopologyRunMsg) GetNodeMessages() []*TopologyRunMsg_NodeMessages
func (*TopologyRunMsg) GetTotal ¶ added in v0.3.0
func (x *TopologyRunMsg) GetTotal() int32
func (*TopologyRunMsg) ProtoMessage ¶ added in v0.3.0
func (*TopologyRunMsg) ProtoMessage()
func (*TopologyRunMsg) ProtoReflect ¶ added in v0.3.0
func (x *TopologyRunMsg) ProtoReflect() protoreflect.Message
func (*TopologyRunMsg) Reset ¶ added in v0.3.0
func (x *TopologyRunMsg) Reset()
func (*TopologyRunMsg) String ¶ added in v0.3.0
func (x *TopologyRunMsg) String() string
type TopologyRunMsg_Code ¶ added in v0.3.0
type TopologyRunMsg_Code int32
const ( TopologyRunMsg_NODE_COUNT TopologyRunMsg_Code = 0 TopologyRunMsg_BRIDGE_COUNT TopologyRunMsg_Code = 1 TopologyRunMsg_LINK_COUNT TopologyRunMsg_Code = 2 TopologyRunMsg_NODE_START TopologyRunMsg_Code = 3 TopologyRunMsg_LINK_SETUP TopologyRunMsg_Code = 4 TopologyRunMsg_BRIDGE_START TopologyRunMsg_Code = 5 TopologyRunMsg_NODE_LOADCONFIG TopologyRunMsg_Code = 6 TopologyRunMsg_NODE_MESSAGES TopologyRunMsg_Code = 7 TopologyRunMsg_NODE_STOP TopologyRunMsg_Code = 8 TopologyRunMsg_NODE_RM TopologyRunMsg_Code = 9 )
func (TopologyRunMsg_Code) Descriptor ¶ added in v0.3.0
func (TopologyRunMsg_Code) Descriptor() protoreflect.EnumDescriptor
func (TopologyRunMsg_Code) Enum ¶ added in v0.3.0
func (x TopologyRunMsg_Code) Enum() *TopologyRunMsg_Code
func (TopologyRunMsg_Code) EnumDescriptor
deprecated
added in
v0.3.0
func (TopologyRunMsg_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use TopologyRunMsg_Code.Descriptor instead.
func (TopologyRunMsg_Code) Number ¶ added in v0.3.0
func (x TopologyRunMsg_Code) Number() protoreflect.EnumNumber
func (TopologyRunMsg_Code) String ¶ added in v0.3.0
func (x TopologyRunMsg_Code) String() string
func (TopologyRunMsg_Code) Type ¶ added in v0.3.0
func (TopologyRunMsg_Code) Type() protoreflect.EnumType
type TopologyRunMsg_NodeMessages ¶ added in v0.3.0
type TopologyRunMsg_NodeMessages struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*TopologyRunMsg_NodeMessages) Descriptor
deprecated
added in
v0.3.0
func (*TopologyRunMsg_NodeMessages) Descriptor() ([]byte, []int)
Deprecated: Use TopologyRunMsg_NodeMessages.ProtoReflect.Descriptor instead.
func (*TopologyRunMsg_NodeMessages) GetMessages ¶ added in v0.3.0
func (x *TopologyRunMsg_NodeMessages) GetMessages() []string
func (*TopologyRunMsg_NodeMessages) GetName ¶ added in v0.3.0
func (x *TopologyRunMsg_NodeMessages) GetName() string
func (*TopologyRunMsg_NodeMessages) ProtoMessage ¶ added in v0.3.0
func (*TopologyRunMsg_NodeMessages) ProtoMessage()
func (*TopologyRunMsg_NodeMessages) ProtoReflect ¶ added in v0.3.0
func (x *TopologyRunMsg_NodeMessages) ProtoReflect() protoreflect.Message
func (*TopologyRunMsg_NodeMessages) Reset ¶ added in v0.3.0
func (x *TopologyRunMsg_NodeMessages) Reset()
func (*TopologyRunMsg_NodeMessages) String ¶ added in v0.3.0
func (x *TopologyRunMsg_NodeMessages) String() string
type UnimplementedNetemServer ¶
type UnimplementedNetemServer struct { }
UnimplementedNetemServer must be embedded to have forward compatible implementations.
func (UnimplementedNetemServer) LinkAdd ¶ added in v0.4.0
func (UnimplementedNetemServer) LinkAdd(context.Context, *LinkRequest) (*AckResponse, error)
func (UnimplementedNetemServer) LinkDel ¶ added in v0.4.0
func (UnimplementedNetemServer) LinkDel(context.Context, *LinkRequest) (*AckResponse, error)
func (UnimplementedNetemServer) LinkUpdate ¶ added in v0.3.0
func (UnimplementedNetemServer) LinkUpdate(context.Context, *LinkRequest) (*AckResponse, error)
func (UnimplementedNetemServer) NodeCapture ¶ added in v0.3.0
func (UnimplementedNetemServer) NodeCapture(*NodeInterfaceRequest, Netem_NodeCaptureServer) error
func (UnimplementedNetemServer) NodeCopyFrom ¶ added in v0.3.0
func (UnimplementedNetemServer) NodeCopyFrom(*CopyMsg, Netem_NodeCopyFromServer) error
func (UnimplementedNetemServer) NodeCopyTo ¶ added in v0.3.0
func (UnimplementedNetemServer) NodeCopyTo(Netem_NodeCopyToServer) error
func (UnimplementedNetemServer) NodeExec ¶ added in v0.4.0
func (UnimplementedNetemServer) NodeExec(Netem_NodeExecServer) error
func (UnimplementedNetemServer) NodeGetConsoleCmd ¶ added in v0.4.0
func (UnimplementedNetemServer) NodeGetConsoleCmd(context.Context, *ConsoleCmdRequest) (*ConsoleCmdResponse, error)
func (UnimplementedNetemServer) NodeReadConfigFiles ¶ added in v0.3.0
func (UnimplementedNetemServer) NodeReadConfigFiles(context.Context, *NodeRequest) (*ConfigFilesResponse, error)
func (UnimplementedNetemServer) NodeRestart ¶ added in v0.3.0
func (UnimplementedNetemServer) NodeRestart(context.Context, *NodeRequest) (*AckResponse, error)
func (UnimplementedNetemServer) NodeSetIfState ¶ added in v0.3.0
func (UnimplementedNetemServer) NodeSetIfState(context.Context, *NodeIfStateRequest) (*AckResponse, error)
func (UnimplementedNetemServer) NodeStart ¶ added in v0.3.0
func (UnimplementedNetemServer) NodeStart(context.Context, *NodeRequest) (*AckResponse, error)
func (UnimplementedNetemServer) NodeStop ¶ added in v0.3.0
func (UnimplementedNetemServer) NodeStop(context.Context, *NodeRequest) (*AckResponse, error)
func (UnimplementedNetemServer) ProjectClose ¶ added in v0.3.0
func (UnimplementedNetemServer) ProjectClose(*ProjectRequest, Netem_ProjectCloseServer) error
func (UnimplementedNetemServer) ProjectGetMany ¶ added in v0.3.0
func (UnimplementedNetemServer) ProjectGetMany(context.Context, *emptypb.Empty) (*PrjListResponse, error)
func (UnimplementedNetemServer) ProjectGetNodeConfigs ¶ added in v0.3.0
func (UnimplementedNetemServer) ProjectGetNodeConfigs(context.Context, *ProjectRequest) (*FileResponse, error)
func (UnimplementedNetemServer) ProjectGetStatus ¶ added in v0.3.0
func (UnimplementedNetemServer) ProjectGetStatus(context.Context, *ProjectRequest) (*StatusResponse, error)
func (UnimplementedNetemServer) ProjectOpen ¶ added in v0.3.0
func (UnimplementedNetemServer) ProjectOpen(context.Context, *OpenRequest) (*PrjOpenResponse, error)
func (UnimplementedNetemServer) ProjectSave ¶ added in v0.3.0
func (UnimplementedNetemServer) ProjectSave(*ProjectRequest, Netem_ProjectSaveServer) error
func (UnimplementedNetemServer) ReadNetworkFile ¶
func (UnimplementedNetemServer) ReadNetworkFile(context.Context, *ProjectRequest) (*FileResponse, error)
func (UnimplementedNetemServer) ServerCleanContainers ¶ added in v0.3.0
func (UnimplementedNetemServer) ServerCleanContainers(context.Context, *emptypb.Empty) (*AckResponse, error)
func (UnimplementedNetemServer) ServerGetVersion ¶ added in v0.3.0
func (UnimplementedNetemServer) ServerGetVersion(context.Context, *emptypb.Empty) (*VersionResponse, error)
func (UnimplementedNetemServer) ServerPullImages ¶ added in v0.3.0
func (UnimplementedNetemServer) ServerPullImages(*emptypb.Empty, Netem_ServerPullImagesServer) error
func (UnimplementedNetemServer) TopologyCheck ¶ added in v0.3.0
func (UnimplementedNetemServer) TopologyCheck(context.Context, *ProjectRequest) (*AckResponse, error)
func (UnimplementedNetemServer) TopologyReload ¶ added in v0.3.0
func (UnimplementedNetemServer) TopologyReload(*ProjectRequest, Netem_TopologyReloadServer) error
func (UnimplementedNetemServer) TopologyRun ¶ added in v0.3.0
func (UnimplementedNetemServer) TopologyRun(*ProjectRequest, Netem_TopologyRunServer) error
func (UnimplementedNetemServer) TopologyStartAll ¶ added in v0.3.0
func (UnimplementedNetemServer) TopologyStartAll(context.Context, *ProjectRequest) (*AckResponse, error)
func (UnimplementedNetemServer) TopologyStopAll ¶ added in v0.3.0
func (UnimplementedNetemServer) TopologyStopAll(context.Context, *ProjectRequest) (*AckResponse, error)
func (UnimplementedNetemServer) WriteNetworkFile ¶
func (UnimplementedNetemServer) WriteNetworkFile(context.Context, *WNetworkRequest) (*AckResponse, error)
type UnsafeNetemServer ¶
type UnsafeNetemServer interface {
// contains filtered or unexported methods
}
UnsafeNetemServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetemServer will result in compilation errors.
type VersionResponse ¶
type VersionResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetStatus ¶
func (x *VersionResponse) GetStatus() *Status
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string
type WNetworkRequest ¶
type WNetworkRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*WNetworkRequest) Descriptor
deprecated
func (*WNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use WNetworkRequest.ProtoReflect.Descriptor instead.
func (*WNetworkRequest) GetData ¶
func (x *WNetworkRequest) GetData() []byte
func (*WNetworkRequest) GetId ¶
func (x *WNetworkRequest) GetId() string
func (*WNetworkRequest) ProtoMessage ¶
func (*WNetworkRequest) ProtoMessage()
func (*WNetworkRequest) ProtoReflect ¶
func (x *WNetworkRequest) ProtoReflect() protoreflect.Message
func (*WNetworkRequest) Reset ¶
func (x *WNetworkRequest) Reset()
func (*WNetworkRequest) String ¶
func (x *WNetworkRequest) String() string