Documentation ¶
Index ¶
- Variables
- func RegisterShenzhenGoServer(s *grpc.Server, srv ShenzhenGoServer)
- type ActionRequest
- func (*ActionRequest) Descriptor() ([]byte, []int)
- func (m *ActionRequest) GetAction() ActionRequest_Action
- func (m *ActionRequest) GetGraph() string
- func (*ActionRequest) ProtoMessage()
- func (m *ActionRequest) Reset()
- func (m *ActionRequest) String() string
- func (m *ActionRequest) XXX_DiscardUnknown()
- func (m *ActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ActionRequest) XXX_Merge(src proto.Message)
- func (m *ActionRequest) XXX_Size() int
- func (m *ActionRequest) XXX_Unmarshal(b []byte) error
- type ActionRequest_Action
- type ActionResponse
- func (*ActionResponse) Descriptor() ([]byte, []int)
- func (m *ActionResponse) GetOutput() string
- func (*ActionResponse) ProtoMessage()
- func (m *ActionResponse) Reset()
- func (m *ActionResponse) String() string
- func (m *ActionResponse) XXX_DiscardUnknown()
- func (m *ActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ActionResponse) XXX_Merge(src proto.Message)
- func (m *ActionResponse) XXX_Size() int
- func (m *ActionResponse) XXX_Unmarshal(b []byte) error
- type ChannelConfig
- func (*ChannelConfig) Descriptor() ([]byte, []int)
- func (m *ChannelConfig) GetCap() uint64
- func (m *ChannelConfig) GetName() string
- func (m *ChannelConfig) GetPins() []*NodePin
- func (*ChannelConfig) ProtoMessage()
- func (m *ChannelConfig) Reset()
- func (m *ChannelConfig) String() string
- func (m *ChannelConfig) XXX_DiscardUnknown()
- func (m *ChannelConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ChannelConfig) XXX_Merge(src proto.Message)
- func (m *ChannelConfig) XXX_Size() int
- func (m *ChannelConfig) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Input
- func (*Input) Descriptor() ([]byte, []int)
- func (m *Input) GetGraph() string
- func (m *Input) GetIn() string
- func (*Input) ProtoMessage()
- func (m *Input) Reset()
- func (m *Input) String() string
- func (m *Input) XXX_DiscardUnknown()
- func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Input) XXX_Merge(src proto.Message)
- func (m *Input) XXX_Size() int
- func (m *Input) XXX_Unmarshal(b []byte) error
- type NodeConfig
- func (*NodeConfig) Descriptor() ([]byte, []int)
- func (m *NodeConfig) GetComment() string
- func (m *NodeConfig) GetEnabled() bool
- func (m *NodeConfig) GetMultiplicity() string
- func (m *NodeConfig) GetName() string
- func (m *NodeConfig) GetPartCfg() []byte
- func (m *NodeConfig) GetPartType() string
- func (m *NodeConfig) GetWait() bool
- func (m *NodeConfig) GetX() float64
- func (m *NodeConfig) GetY() float64
- func (*NodeConfig) ProtoMessage()
- func (m *NodeConfig) Reset()
- func (m *NodeConfig) String() string
- func (m *NodeConfig) XXX_DiscardUnknown()
- func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodeConfig) XXX_Merge(src proto.Message)
- func (m *NodeConfig) XXX_Size() int
- func (m *NodeConfig) XXX_Unmarshal(b []byte) error
- type NodePin
- func (*NodePin) Descriptor() ([]byte, []int)
- func (m *NodePin) GetNode() string
- func (m *NodePin) GetPin() string
- func (*NodePin) ProtoMessage()
- func (m *NodePin) Reset()
- func (m *NodePin) String() string
- func (m *NodePin) XXX_DiscardUnknown()
- func (m *NodePin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodePin) XXX_Merge(src proto.Message)
- func (m *NodePin) XXX_Size() int
- func (m *NodePin) XXX_Unmarshal(b []byte) error
- type Output
- func (*Output) Descriptor() ([]byte, []int)
- func (m *Output) GetErr() string
- func (m *Output) GetOut() string
- func (*Output) ProtoMessage()
- func (m *Output) Reset()
- func (m *Output) String() string
- func (m *Output) XXX_DiscardUnknown()
- func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Output) XXX_Merge(src proto.Message)
- func (m *Output) XXX_Size() int
- func (m *Output) XXX_Unmarshal(b []byte) error
- type SetChannelRequest
- func (*SetChannelRequest) Descriptor() ([]byte, []int)
- func (m *SetChannelRequest) GetChannel() string
- func (m *SetChannelRequest) GetConfig() *ChannelConfig
- func (m *SetChannelRequest) GetGraph() string
- func (*SetChannelRequest) ProtoMessage()
- func (m *SetChannelRequest) Reset()
- func (m *SetChannelRequest) String() string
- func (m *SetChannelRequest) XXX_DiscardUnknown()
- func (m *SetChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetChannelRequest) XXX_Merge(src proto.Message)
- func (m *SetChannelRequest) XXX_Size() int
- func (m *SetChannelRequest) XXX_Unmarshal(b []byte) error
- type SetGraphPropertiesRequest
- func (*SetGraphPropertiesRequest) Descriptor() ([]byte, []int)
- func (m *SetGraphPropertiesRequest) GetGraph() string
- func (m *SetGraphPropertiesRequest) GetIsCommand() bool
- func (m *SetGraphPropertiesRequest) GetName() string
- func (m *SetGraphPropertiesRequest) GetPackagePath() string
- func (*SetGraphPropertiesRequest) ProtoMessage()
- func (m *SetGraphPropertiesRequest) Reset()
- func (m *SetGraphPropertiesRequest) String() string
- func (m *SetGraphPropertiesRequest) XXX_DiscardUnknown()
- func (m *SetGraphPropertiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetGraphPropertiesRequest) XXX_Merge(src proto.Message)
- func (m *SetGraphPropertiesRequest) XXX_Size() int
- func (m *SetGraphPropertiesRequest) XXX_Unmarshal(b []byte) error
- type SetNodeRequest
- func (*SetNodeRequest) Descriptor() ([]byte, []int)
- func (m *SetNodeRequest) GetConfig() *NodeConfig
- func (m *SetNodeRequest) GetGraph() string
- func (m *SetNodeRequest) GetNode() string
- func (*SetNodeRequest) ProtoMessage()
- func (m *SetNodeRequest) Reset()
- func (m *SetNodeRequest) String() string
- func (m *SetNodeRequest) XXX_DiscardUnknown()
- func (m *SetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetNodeRequest) XXX_Merge(src proto.Message)
- func (m *SetNodeRequest) XXX_Size() int
- func (m *SetNodeRequest) XXX_Unmarshal(b []byte) error
- type SetPositionRequest
- func (*SetPositionRequest) Descriptor() ([]byte, []int)
- func (m *SetPositionRequest) GetGraph() string
- func (m *SetPositionRequest) GetNode() string
- func (m *SetPositionRequest) GetX() float64
- func (m *SetPositionRequest) GetY() float64
- func (*SetPositionRequest) ProtoMessage()
- func (m *SetPositionRequest) Reset()
- func (m *SetPositionRequest) String() string
- func (m *SetPositionRequest) XXX_DiscardUnknown()
- func (m *SetPositionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetPositionRequest) XXX_Merge(src proto.Message)
- func (m *SetPositionRequest) XXX_Size() int
- func (m *SetPositionRequest) XXX_Unmarshal(b []byte) error
- type ShenzhenGoClient
- type ShenzhenGoServer
- type ShenzhenGo_ActionClient
- type ShenzhenGo_ActionServer
- type ShenzhenGo_RunClient
- type ShenzhenGo_RunServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionRequest_Action_name = map[int32]string{
0: "SAVE",
1: "REVERT",
2: "GENERATE",
3: "BUILD",
4: "INSTALL",
}
View Source
var ActionRequest_Action_value = map[string]int32{
"SAVE": 0,
"REVERT": 1,
"GENERATE": 2,
"BUILD": 3,
"INSTALL": 4,
}
Functions ¶
func RegisterShenzhenGoServer ¶
func RegisterShenzhenGoServer(s *grpc.Server, srv ShenzhenGoServer)
Types ¶
type ActionRequest ¶
type ActionRequest struct { Graph string `protobuf:"bytes,1,opt,name=graph,proto3" json:"graph,omitempty"` Action ActionRequest_Action `protobuf:"varint,2,opt,name=action,proto3,enum=proto.ActionRequest_Action" json:"action,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActionRequest) Descriptor ¶
func (*ActionRequest) Descriptor() ([]byte, []int)
func (*ActionRequest) GetAction ¶
func (m *ActionRequest) GetAction() ActionRequest_Action
func (*ActionRequest) GetGraph ¶
func (m *ActionRequest) GetGraph() string
func (*ActionRequest) ProtoMessage ¶
func (*ActionRequest) ProtoMessage()
func (*ActionRequest) Reset ¶
func (m *ActionRequest) Reset()
func (*ActionRequest) String ¶
func (m *ActionRequest) String() string
func (*ActionRequest) XXX_DiscardUnknown ¶
func (m *ActionRequest) XXX_DiscardUnknown()
func (*ActionRequest) XXX_Marshal ¶
func (m *ActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionRequest) XXX_Merge ¶
func (dst *ActionRequest) XXX_Merge(src proto.Message)
func (*ActionRequest) XXX_Size ¶
func (m *ActionRequest) XXX_Size() int
func (*ActionRequest) XXX_Unmarshal ¶
func (m *ActionRequest) XXX_Unmarshal(b []byte) error
type ActionRequest_Action ¶
type ActionRequest_Action int32
const ( ActionRequest_SAVE ActionRequest_Action = 0 ActionRequest_REVERT ActionRequest_Action = 1 ActionRequest_GENERATE ActionRequest_Action = 2 ActionRequest_BUILD ActionRequest_Action = 3 ActionRequest_INSTALL ActionRequest_Action = 4 )
func (ActionRequest_Action) EnumDescriptor ¶
func (ActionRequest_Action) EnumDescriptor() ([]byte, []int)
func (ActionRequest_Action) String ¶
func (x ActionRequest_Action) String() string
type ActionResponse ¶
type ActionResponse struct { Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActionResponse) Descriptor ¶
func (*ActionResponse) Descriptor() ([]byte, []int)
func (*ActionResponse) GetOutput ¶
func (m *ActionResponse) GetOutput() string
func (*ActionResponse) ProtoMessage ¶
func (*ActionResponse) ProtoMessage()
func (*ActionResponse) Reset ¶
func (m *ActionResponse) Reset()
func (*ActionResponse) String ¶
func (m *ActionResponse) String() string
func (*ActionResponse) XXX_DiscardUnknown ¶
func (m *ActionResponse) XXX_DiscardUnknown()
func (*ActionResponse) XXX_Marshal ¶
func (m *ActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionResponse) XXX_Merge ¶
func (dst *ActionResponse) XXX_Merge(src proto.Message)
func (*ActionResponse) XXX_Size ¶
func (m *ActionResponse) XXX_Size() int
func (*ActionResponse) XXX_Unmarshal ¶
func (m *ActionResponse) XXX_Unmarshal(b []byte) error
type ChannelConfig ¶
type ChannelConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Cap uint64 `protobuf:"varint,2,opt,name=cap,proto3" json:"cap,omitempty"` Pins []*NodePin `protobuf:"bytes,3,rep,name=pins,proto3" json:"pins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChannelConfig) Descriptor ¶
func (*ChannelConfig) Descriptor() ([]byte, []int)
func (*ChannelConfig) GetCap ¶
func (m *ChannelConfig) GetCap() uint64
func (*ChannelConfig) GetName ¶
func (m *ChannelConfig) GetName() string
func (*ChannelConfig) GetPins ¶
func (m *ChannelConfig) GetPins() []*NodePin
func (*ChannelConfig) ProtoMessage ¶
func (*ChannelConfig) ProtoMessage()
func (*ChannelConfig) Reset ¶
func (m *ChannelConfig) Reset()
func (*ChannelConfig) String ¶
func (m *ChannelConfig) String() string
func (*ChannelConfig) XXX_DiscardUnknown ¶
func (m *ChannelConfig) XXX_DiscardUnknown()
func (*ChannelConfig) XXX_Marshal ¶
func (m *ChannelConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelConfig) XXX_Merge ¶
func (dst *ChannelConfig) XXX_Merge(src proto.Message)
func (*ChannelConfig) XXX_Size ¶
func (m *ChannelConfig) XXX_Size() int
func (*ChannelConfig) XXX_Unmarshal ¶
func (m *ChannelConfig) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type Input ¶
type Input struct { Graph string `protobuf:"bytes,1,opt,name=graph,proto3" json:"graph,omitempty"` In string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Input) Descriptor ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) XXX_DiscardUnknown ¶
func (m *Input) XXX_DiscardUnknown()
func (*Input) XXX_Marshal ¶
func (*Input) XXX_Unmarshal ¶
type NodeConfig ¶
type NodeConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` Multiplicity string `protobuf:"bytes,4,opt,name=multiplicity,proto3" json:"multiplicity,omitempty"` Wait bool `protobuf:"varint,5,opt,name=wait,proto3" json:"wait,omitempty"` PartCfg []byte `protobuf:"bytes,6,opt,name=part_cfg,json=partCfg,proto3" json:"part_cfg,omitempty"` PartType string `protobuf:"bytes,7,opt,name=part_type,json=partType,proto3" json:"part_type,omitempty"` X float64 `protobuf:"fixed64,8,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,9,opt,name=y,proto3" json:"y,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeConfig) Descriptor ¶
func (*NodeConfig) Descriptor() ([]byte, []int)
func (*NodeConfig) GetComment ¶
func (m *NodeConfig) GetComment() string
func (*NodeConfig) GetEnabled ¶
func (m *NodeConfig) GetEnabled() bool
func (*NodeConfig) GetMultiplicity ¶
func (m *NodeConfig) GetMultiplicity() string
func (*NodeConfig) GetName ¶
func (m *NodeConfig) GetName() string
func (*NodeConfig) GetPartCfg ¶
func (m *NodeConfig) GetPartCfg() []byte
func (*NodeConfig) GetPartType ¶
func (m *NodeConfig) GetPartType() string
func (*NodeConfig) GetWait ¶
func (m *NodeConfig) GetWait() bool
func (*NodeConfig) GetX ¶
func (m *NodeConfig) GetX() float64
func (*NodeConfig) GetY ¶
func (m *NodeConfig) GetY() float64
func (*NodeConfig) ProtoMessage ¶
func (*NodeConfig) ProtoMessage()
func (*NodeConfig) Reset ¶
func (m *NodeConfig) Reset()
func (*NodeConfig) String ¶
func (m *NodeConfig) String() string
func (*NodeConfig) XXX_DiscardUnknown ¶
func (m *NodeConfig) XXX_DiscardUnknown()
func (*NodeConfig) XXX_Marshal ¶
func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeConfig) XXX_Merge ¶
func (dst *NodeConfig) XXX_Merge(src proto.Message)
func (*NodeConfig) XXX_Size ¶
func (m *NodeConfig) XXX_Size() int
func (*NodeConfig) XXX_Unmarshal ¶
func (m *NodeConfig) XXX_Unmarshal(b []byte) error
type NodePin ¶
type NodePin struct { Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodePin) Descriptor ¶
func (*NodePin) ProtoMessage ¶
func (*NodePin) ProtoMessage()
func (*NodePin) XXX_DiscardUnknown ¶
func (m *NodePin) XXX_DiscardUnknown()
func (*NodePin) XXX_Marshal ¶
func (*NodePin) XXX_Unmarshal ¶
type Output ¶
type Output struct { Out string `protobuf:"bytes,1,opt,name=out,proto3" json:"out,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Output) Descriptor ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) XXX_DiscardUnknown ¶
func (m *Output) XXX_DiscardUnknown()
func (*Output) XXX_Marshal ¶
func (*Output) XXX_Unmarshal ¶
type SetChannelRequest ¶
type SetChannelRequest struct { Graph string `protobuf:"bytes,1,opt,name=graph,proto3" json:"graph,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` Config *ChannelConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetChannelRequest) Descriptor ¶
func (*SetChannelRequest) Descriptor() ([]byte, []int)
func (*SetChannelRequest) GetChannel ¶
func (m *SetChannelRequest) GetChannel() string
func (*SetChannelRequest) GetConfig ¶
func (m *SetChannelRequest) GetConfig() *ChannelConfig
func (*SetChannelRequest) GetGraph ¶
func (m *SetChannelRequest) GetGraph() string
func (*SetChannelRequest) ProtoMessage ¶
func (*SetChannelRequest) ProtoMessage()
func (*SetChannelRequest) Reset ¶
func (m *SetChannelRequest) Reset()
func (*SetChannelRequest) String ¶
func (m *SetChannelRequest) String() string
func (*SetChannelRequest) XXX_DiscardUnknown ¶
func (m *SetChannelRequest) XXX_DiscardUnknown()
func (*SetChannelRequest) XXX_Marshal ¶
func (m *SetChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetChannelRequest) XXX_Merge ¶
func (dst *SetChannelRequest) XXX_Merge(src proto.Message)
func (*SetChannelRequest) XXX_Size ¶
func (m *SetChannelRequest) XXX_Size() int
func (*SetChannelRequest) XXX_Unmarshal ¶
func (m *SetChannelRequest) XXX_Unmarshal(b []byte) error
type SetGraphPropertiesRequest ¶
type SetGraphPropertiesRequest struct { Graph string `protobuf:"bytes,1,opt,name=graph,proto3" json:"graph,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` PackagePath string `protobuf:"bytes,3,opt,name=package_path,json=packagePath,proto3" json:"package_path,omitempty"` IsCommand bool `protobuf:"varint,4,opt,name=is_command,json=isCommand,proto3" json:"is_command,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetGraphPropertiesRequest) Descriptor ¶
func (*SetGraphPropertiesRequest) Descriptor() ([]byte, []int)
func (*SetGraphPropertiesRequest) GetGraph ¶
func (m *SetGraphPropertiesRequest) GetGraph() string
func (*SetGraphPropertiesRequest) GetIsCommand ¶
func (m *SetGraphPropertiesRequest) GetIsCommand() bool
func (*SetGraphPropertiesRequest) GetName ¶
func (m *SetGraphPropertiesRequest) GetName() string
func (*SetGraphPropertiesRequest) GetPackagePath ¶
func (m *SetGraphPropertiesRequest) GetPackagePath() string
func (*SetGraphPropertiesRequest) ProtoMessage ¶
func (*SetGraphPropertiesRequest) ProtoMessage()
func (*SetGraphPropertiesRequest) Reset ¶
func (m *SetGraphPropertiesRequest) Reset()
func (*SetGraphPropertiesRequest) String ¶
func (m *SetGraphPropertiesRequest) String() string
func (*SetGraphPropertiesRequest) XXX_DiscardUnknown ¶
func (m *SetGraphPropertiesRequest) XXX_DiscardUnknown()
func (*SetGraphPropertiesRequest) XXX_Marshal ¶
func (m *SetGraphPropertiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetGraphPropertiesRequest) XXX_Merge ¶
func (dst *SetGraphPropertiesRequest) XXX_Merge(src proto.Message)
func (*SetGraphPropertiesRequest) XXX_Size ¶
func (m *SetGraphPropertiesRequest) XXX_Size() int
func (*SetGraphPropertiesRequest) XXX_Unmarshal ¶
func (m *SetGraphPropertiesRequest) XXX_Unmarshal(b []byte) error
type SetNodeRequest ¶
type SetNodeRequest struct { Graph string `protobuf:"bytes,1,opt,name=graph,proto3" json:"graph,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` Config *NodeConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetNodeRequest) Descriptor ¶
func (*SetNodeRequest) Descriptor() ([]byte, []int)
func (*SetNodeRequest) GetConfig ¶
func (m *SetNodeRequest) GetConfig() *NodeConfig
func (*SetNodeRequest) GetGraph ¶
func (m *SetNodeRequest) GetGraph() string
func (*SetNodeRequest) GetNode ¶
func (m *SetNodeRequest) GetNode() string
func (*SetNodeRequest) ProtoMessage ¶
func (*SetNodeRequest) ProtoMessage()
func (*SetNodeRequest) Reset ¶
func (m *SetNodeRequest) Reset()
func (*SetNodeRequest) String ¶
func (m *SetNodeRequest) String() string
func (*SetNodeRequest) XXX_DiscardUnknown ¶
func (m *SetNodeRequest) XXX_DiscardUnknown()
func (*SetNodeRequest) XXX_Marshal ¶
func (m *SetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetNodeRequest) XXX_Merge ¶
func (dst *SetNodeRequest) XXX_Merge(src proto.Message)
func (*SetNodeRequest) XXX_Size ¶
func (m *SetNodeRequest) XXX_Size() int
func (*SetNodeRequest) XXX_Unmarshal ¶
func (m *SetNodeRequest) XXX_Unmarshal(b []byte) error
type SetPositionRequest ¶
type SetPositionRequest struct { Graph string `protobuf:"bytes,1,opt,name=graph,proto3" json:"graph,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` X float64 `protobuf:"fixed64,3,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,4,opt,name=y,proto3" json:"y,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetPositionRequest) Descriptor ¶
func (*SetPositionRequest) Descriptor() ([]byte, []int)
func (*SetPositionRequest) GetGraph ¶
func (m *SetPositionRequest) GetGraph() string
func (*SetPositionRequest) GetNode ¶
func (m *SetPositionRequest) GetNode() string
func (*SetPositionRequest) GetX ¶
func (m *SetPositionRequest) GetX() float64
func (*SetPositionRequest) GetY ¶
func (m *SetPositionRequest) GetY() float64
func (*SetPositionRequest) ProtoMessage ¶
func (*SetPositionRequest) ProtoMessage()
func (*SetPositionRequest) Reset ¶
func (m *SetPositionRequest) Reset()
func (*SetPositionRequest) String ¶
func (m *SetPositionRequest) String() string
func (*SetPositionRequest) XXX_DiscardUnknown ¶
func (m *SetPositionRequest) XXX_DiscardUnknown()
func (*SetPositionRequest) XXX_Marshal ¶
func (m *SetPositionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPositionRequest) XXX_Merge ¶
func (dst *SetPositionRequest) XXX_Merge(src proto.Message)
func (*SetPositionRequest) XXX_Size ¶
func (m *SetPositionRequest) XXX_Size() int
func (*SetPositionRequest) XXX_Unmarshal ¶
func (m *SetPositionRequest) XXX_Unmarshal(b []byte) error
type ShenzhenGoClient ¶
type ShenzhenGoClient interface { // Action performs an action (save, generate, install/build, etc). Action(ctx context.Context, in *ActionRequest, opts ...grpc.CallOption) (ShenzhenGo_ActionClient, error) // Run runs the program. Run(ctx context.Context, opts ...grpc.CallOption) (ShenzhenGo_RunClient, error) // SetNode either creates a new channel (name == "", config != nil) // changes existing channel data such as name and attached pins (name is found, config != nil), // or deletes a channel (name is found, config == nil). SetChannel(ctx context.Context, in *SetChannelRequest, opts ...grpc.CallOption) (*Empty, error) // SetGraphProperties changes metdata such as name and package path. SetGraphProperties(ctx context.Context, in *SetGraphPropertiesRequest, opts ...grpc.CallOption) (*Empty, error) // SetNode either creates a new node (name == "", config != nil) // changes existing node such as name and multiplicity (name is found, config != nil), // or deletes a node (name is found, config == nil). SetNode(ctx context.Context, in *SetNodeRequest, opts ...grpc.CallOption) (*Empty, error) // SetPosition changes the node position in the diagram. SetPosition(ctx context.Context, in *SetPositionRequest, opts ...grpc.CallOption) (*Empty, error) }
ShenzhenGoClient is the client API for ShenzhenGo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewShenzhenGoClient ¶
func NewShenzhenGoClient(cc *grpc.ClientConn) ShenzhenGoClient
type ShenzhenGoServer ¶
type ShenzhenGoServer interface { // Action performs an action (save, generate, install/build, etc). Action(*ActionRequest, ShenzhenGo_ActionServer) error // Run runs the program. Run(ShenzhenGo_RunServer) error // SetNode either creates a new channel (name == "", config != nil) // changes existing channel data such as name and attached pins (name is found, config != nil), // or deletes a channel (name is found, config == nil). SetChannel(context.Context, *SetChannelRequest) (*Empty, error) // SetGraphProperties changes metdata such as name and package path. SetGraphProperties(context.Context, *SetGraphPropertiesRequest) (*Empty, error) // SetNode either creates a new node (name == "", config != nil) // changes existing node such as name and multiplicity (name is found, config != nil), // or deletes a node (name is found, config == nil). SetNode(context.Context, *SetNodeRequest) (*Empty, error) // SetPosition changes the node position in the diagram. SetPosition(context.Context, *SetPositionRequest) (*Empty, error) }
ShenzhenGoServer is the server API for ShenzhenGo service.
type ShenzhenGo_ActionClient ¶
type ShenzhenGo_ActionClient interface { Recv() (*ActionResponse, error) grpc.ClientStream }
type ShenzhenGo_ActionServer ¶
type ShenzhenGo_ActionServer interface { Send(*ActionResponse) error grpc.ServerStream }
type ShenzhenGo_RunClient ¶
type ShenzhenGo_RunServer ¶
Click to show internal directories.
Click to hide internal directories.