Documentation ¶
Index ¶
- func RegisterBelugactldManageServer(s *grpc.Server, srv BelugactldManageServer)
- func RegisterBelugactldServer(s *grpc.Server, srv BelugactldServer)
- type BelugactldClient
- type BelugactldManageClient
- type BelugactldManageServer
- type BelugactldServer
- type DeleteNodeInfoReply
- func (*DeleteNodeInfoReply) Descriptor() ([]byte, []int)
- func (*DeleteNodeInfoReply) ProtoMessage()
- func (m *DeleteNodeInfoReply) Reset()
- func (m *DeleteNodeInfoReply) String() string
- func (m *DeleteNodeInfoReply) XXX_DiscardUnknown()
- func (m *DeleteNodeInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteNodeInfoReply) XXX_Merge(src proto.Message)
- func (m *DeleteNodeInfoReply) XXX_Size() int
- func (m *DeleteNodeInfoReply) XXX_Unmarshal(b []byte) error
- type DeleteNodeInfoRequest
- func (*DeleteNodeInfoRequest) Descriptor() ([]byte, []int)
- func (m *DeleteNodeInfoRequest) GetResource() string
- func (m *DeleteNodeInfoRequest) GetXpname() string
- func (*DeleteNodeInfoRequest) ProtoMessage()
- func (m *DeleteNodeInfoRequest) Reset()
- func (m *DeleteNodeInfoRequest) String() string
- func (m *DeleteNodeInfoRequest) XXX_DiscardUnknown()
- func (m *DeleteNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteNodeInfoRequest) XXX_Merge(src proto.Message)
- func (m *DeleteNodeInfoRequest) XXX_Size() int
- func (m *DeleteNodeInfoRequest) XXX_Unmarshal(b []byte) error
- type HardCycleReply
- func (*HardCycleReply) Descriptor() ([]byte, []int)
- func (*HardCycleReply) ProtoMessage()
- func (m *HardCycleReply) Reset()
- func (m *HardCycleReply) String() string
- func (m *HardCycleReply) XXX_DiscardUnknown()
- func (m *HardCycleReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HardCycleReply) XXX_Merge(src proto.Message)
- func (m *HardCycleReply) XXX_Size() int
- func (m *HardCycleReply) XXX_Unmarshal(b []byte) error
- type HardCycleRequest
- func (*HardCycleRequest) Descriptor() ([]byte, []int)
- func (m *HardCycleRequest) GetNodeids() []string
- func (*HardCycleRequest) ProtoMessage()
- func (m *HardCycleRequest) Reset()
- func (m *HardCycleRequest) String() string
- func (m *HardCycleRequest) XXX_DiscardUnknown()
- func (m *HardCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HardCycleRequest) XXX_Merge(src proto.Message)
- func (m *HardCycleRequest) XXX_Size() int
- func (m *HardCycleRequest) XXX_Unmarshal(b []byte) error
- type NodeStatus
- func (*NodeStatus) Descriptor() ([]byte, []int)
- func (m *NodeStatus) GetResource() string
- func (m *NodeStatus) GetStatus() string
- func (m *NodeStatus) GetXpname() string
- func (*NodeStatus) ProtoMessage()
- func (m *NodeStatus) Reset()
- func (m *NodeStatus) String() string
- func (m *NodeStatus) XXX_DiscardUnknown()
- func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeStatus) XXX_Merge(src proto.Message)
- func (m *NodeStatus) XXX_Size() int
- func (m *NodeStatus) XXX_Unmarshal(b []byte) error
- type PowerOffReply
- func (*PowerOffReply) Descriptor() ([]byte, []int)
- func (*PowerOffReply) ProtoMessage()
- func (m *PowerOffReply) Reset()
- func (m *PowerOffReply) String() string
- func (m *PowerOffReply) XXX_DiscardUnknown()
- func (m *PowerOffReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PowerOffReply) XXX_Merge(src proto.Message)
- func (m *PowerOffReply) XXX_Size() int
- func (m *PowerOffReply) XXX_Unmarshal(b []byte) error
- type PowerOffRequest
- func (*PowerOffRequest) Descriptor() ([]byte, []int)
- func (m *PowerOffRequest) GetNodeids() []string
- func (*PowerOffRequest) ProtoMessage()
- func (m *PowerOffRequest) Reset()
- func (m *PowerOffRequest) String() string
- func (m *PowerOffRequest) XXX_DiscardUnknown()
- func (m *PowerOffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PowerOffRequest) XXX_Merge(src proto.Message)
- func (m *PowerOffRequest) XXX_Size() int
- func (m *PowerOffRequest) XXX_Unmarshal(b []byte) error
- type PowerOnReply
- func (*PowerOnReply) Descriptor() ([]byte, []int)
- func (*PowerOnReply) ProtoMessage()
- func (m *PowerOnReply) Reset()
- func (m *PowerOnReply) String() string
- func (m *PowerOnReply) XXX_DiscardUnknown()
- func (m *PowerOnReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PowerOnReply) XXX_Merge(src proto.Message)
- func (m *PowerOnReply) XXX_Size() int
- func (m *PowerOnReply) XXX_Unmarshal(b []byte) error
- type PowerOnRequest
- func (*PowerOnRequest) Descriptor() ([]byte, []int)
- func (m *PowerOnRequest) GetNodeids() []string
- func (*PowerOnRequest) ProtoMessage()
- func (m *PowerOnRequest) Reset()
- func (m *PowerOnRequest) String() string
- func (m *PowerOnRequest) XXX_DiscardUnknown()
- func (m *PowerOnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PowerOnRequest) XXX_Merge(src proto.Message)
- func (m *PowerOnRequest) XXX_Size() int
- func (m *PowerOnRequest) XXX_Unmarshal(b []byte) error
- type SetNodeInfoReply
- func (*SetNodeInfoReply) Descriptor() ([]byte, []int)
- func (*SetNodeInfoReply) ProtoMessage()
- func (m *SetNodeInfoReply) Reset()
- func (m *SetNodeInfoReply) String() string
- func (m *SetNodeInfoReply) XXX_DiscardUnknown()
- func (m *SetNodeInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetNodeInfoReply) XXX_Merge(src proto.Message)
- func (m *SetNodeInfoReply) XXX_Size() int
- func (m *SetNodeInfoReply) XXX_Unmarshal(b []byte) error
- type SetNodeInfoRequest
- func (*SetNodeInfoRequest) Descriptor() ([]byte, []int)
- func (m *SetNodeInfoRequest) GetResource() string
- func (m *SetNodeInfoRequest) GetXpname() string
- func (*SetNodeInfoRequest) ProtoMessage()
- func (m *SetNodeInfoRequest) Reset()
- func (m *SetNodeInfoRequest) String() string
- func (m *SetNodeInfoRequest) XXX_DiscardUnknown()
- func (m *SetNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetNodeInfoRequest) XXX_Merge(src proto.Message)
- func (m *SetNodeInfoRequest) XXX_Size() int
- func (m *SetNodeInfoRequest) XXX_Unmarshal(b []byte) error
- type SoftCycleReply
- func (*SoftCycleReply) Descriptor() ([]byte, []int)
- func (*SoftCycleReply) ProtoMessage()
- func (m *SoftCycleReply) Reset()
- func (m *SoftCycleReply) String() string
- func (m *SoftCycleReply) XXX_DiscardUnknown()
- func (m *SoftCycleReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SoftCycleReply) XXX_Merge(src proto.Message)
- func (m *SoftCycleReply) XXX_Size() int
- func (m *SoftCycleReply) XXX_Unmarshal(b []byte) error
- type SoftCycleRequest
- func (*SoftCycleRequest) Descriptor() ([]byte, []int)
- func (m *SoftCycleRequest) GetNodeids() []string
- func (*SoftCycleRequest) ProtoMessage()
- func (m *SoftCycleRequest) Reset()
- func (m *SoftCycleRequest) String() string
- func (m *SoftCycleRequest) XXX_DiscardUnknown()
- func (m *SoftCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SoftCycleRequest) XXX_Merge(src proto.Message)
- func (m *SoftCycleRequest) XXX_Size() int
- func (m *SoftCycleRequest) XXX_Unmarshal(b []byte) error
- type StatusReply
- func (*StatusReply) Descriptor() ([]byte, []int)
- func (m *StatusReply) GetStatus() []*NodeStatus
- func (*StatusReply) ProtoMessage()
- func (m *StatusReply) Reset()
- func (m *StatusReply) String() string
- func (m *StatusReply) XXX_DiscardUnknown()
- func (m *StatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusReply) XXX_Merge(src proto.Message)
- func (m *StatusReply) XXX_Size() int
- func (m *StatusReply) XXX_Unmarshal(b []byte) error
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)
- func (m *StatusRequest) GetNodeids() []string
- func (*StatusRequest) ProtoMessage()
- func (m *StatusRequest) Reset()
- func (m *StatusRequest) String() string
- func (m *StatusRequest) XXX_DiscardUnknown()
- func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusRequest) XXX_Merge(src proto.Message)
- func (m *StatusRequest) XXX_Size() int
- func (m *StatusRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedBelugactldManageServer
- type UnimplementedBelugactldServer
- func (*UnimplementedBelugactldServer) HardCycle(ctx context.Context, req *HardCycleRequest) (*HardCycleReply, error)
- func (*UnimplementedBelugactldServer) PowerOff(ctx context.Context, req *PowerOffRequest) (*PowerOffReply, error)
- func (*UnimplementedBelugactldServer) PowerOn(ctx context.Context, req *PowerOnRequest) (*PowerOnReply, error)
- func (*UnimplementedBelugactldServer) SoftCycle(ctx context.Context, req *SoftCycleRequest) (*SoftCycleReply, error)
- func (*UnimplementedBelugactldServer) Status(ctx context.Context, req *StatusRequest) (*StatusReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBelugactldManageServer ¶
func RegisterBelugactldManageServer(s *grpc.Server, srv BelugactldManageServer)
func RegisterBelugactldServer ¶
func RegisterBelugactldServer(s *grpc.Server, srv BelugactldServer)
Types ¶
type BelugactldClient ¶
type BelugactldClient interface { SoftCycle(ctx context.Context, in *SoftCycleRequest, opts ...grpc.CallOption) (*SoftCycleReply, error) HardCycle(ctx context.Context, in *HardCycleRequest, opts ...grpc.CallOption) (*HardCycleReply, error) PowerOn(ctx context.Context, in *PowerOnRequest, opts ...grpc.CallOption) (*PowerOnReply, error) PowerOff(ctx context.Context, in *PowerOffRequest, opts ...grpc.CallOption) (*PowerOffReply, error) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusReply, error) }
BelugactldClient is the client API for Belugactld service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBelugactldClient ¶
func NewBelugactldClient(cc grpc.ClientConnInterface) BelugactldClient
type BelugactldManageClient ¶
type BelugactldManageClient interface { // Tell Belugactld that this node is in it's materialzation. SetNodeInfo(ctx context.Context, in *SetNodeInfoRequest, opts ...grpc.CallOption) (*SetNodeInfoReply, error) DeleteNodeInfo(ctx context.Context, in *DeleteNodeInfoRequest, opts ...grpc.CallOption) (*DeleteNodeInfoReply, error) }
BelugactldManageClient is the client API for BelugactldManage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBelugactldManageClient ¶
func NewBelugactldManageClient(cc grpc.ClientConnInterface) BelugactldManageClient
type BelugactldManageServer ¶
type BelugactldManageServer interface { // Tell Belugactld that this node is in it's materialzation. SetNodeInfo(context.Context, *SetNodeInfoRequest) (*SetNodeInfoReply, error) DeleteNodeInfo(context.Context, *DeleteNodeInfoRequest) (*DeleteNodeInfoReply, error) }
BelugactldManageServer is the server API for BelugactldManage service.
type BelugactldServer ¶
type BelugactldServer interface { SoftCycle(context.Context, *SoftCycleRequest) (*SoftCycleReply, error) HardCycle(context.Context, *HardCycleRequest) (*HardCycleReply, error) PowerOn(context.Context, *PowerOnRequest) (*PowerOnReply, error) PowerOff(context.Context, *PowerOffRequest) (*PowerOffReply, error) Status(context.Context, *StatusRequest) (*StatusReply, error) }
BelugactldServer is the server API for Belugactld service.
type DeleteNodeInfoReply ¶
type DeleteNodeInfoReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteNodeInfoReply) Descriptor ¶
func (*DeleteNodeInfoReply) Descriptor() ([]byte, []int)
func (*DeleteNodeInfoReply) ProtoMessage ¶
func (*DeleteNodeInfoReply) ProtoMessage()
func (*DeleteNodeInfoReply) Reset ¶
func (m *DeleteNodeInfoReply) Reset()
func (*DeleteNodeInfoReply) String ¶
func (m *DeleteNodeInfoReply) String() string
func (*DeleteNodeInfoReply) XXX_DiscardUnknown ¶
func (m *DeleteNodeInfoReply) XXX_DiscardUnknown()
func (*DeleteNodeInfoReply) XXX_Marshal ¶
func (m *DeleteNodeInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteNodeInfoReply) XXX_Merge ¶
func (m *DeleteNodeInfoReply) XXX_Merge(src proto.Message)
func (*DeleteNodeInfoReply) XXX_Size ¶
func (m *DeleteNodeInfoReply) XXX_Size() int
func (*DeleteNodeInfoReply) XXX_Unmarshal ¶
func (m *DeleteNodeInfoReply) XXX_Unmarshal(b []byte) error
type DeleteNodeInfoRequest ¶
type DeleteNodeInfoRequest struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Xpname string `protobuf:"bytes,2,opt,name=xpname,proto3" json:"xpname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteNodeInfoRequest) Descriptor ¶
func (*DeleteNodeInfoRequest) Descriptor() ([]byte, []int)
func (*DeleteNodeInfoRequest) GetResource ¶
func (m *DeleteNodeInfoRequest) GetResource() string
func (*DeleteNodeInfoRequest) GetXpname ¶
func (m *DeleteNodeInfoRequest) GetXpname() string
func (*DeleteNodeInfoRequest) ProtoMessage ¶
func (*DeleteNodeInfoRequest) ProtoMessage()
func (*DeleteNodeInfoRequest) Reset ¶
func (m *DeleteNodeInfoRequest) Reset()
func (*DeleteNodeInfoRequest) String ¶
func (m *DeleteNodeInfoRequest) String() string
func (*DeleteNodeInfoRequest) XXX_DiscardUnknown ¶
func (m *DeleteNodeInfoRequest) XXX_DiscardUnknown()
func (*DeleteNodeInfoRequest) XXX_Marshal ¶
func (m *DeleteNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteNodeInfoRequest) XXX_Merge ¶
func (m *DeleteNodeInfoRequest) XXX_Merge(src proto.Message)
func (*DeleteNodeInfoRequest) XXX_Size ¶
func (m *DeleteNodeInfoRequest) XXX_Size() int
func (*DeleteNodeInfoRequest) XXX_Unmarshal ¶
func (m *DeleteNodeInfoRequest) XXX_Unmarshal(b []byte) error
type HardCycleReply ¶
type HardCycleReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HardCycleReply) Descriptor ¶
func (*HardCycleReply) Descriptor() ([]byte, []int)
func (*HardCycleReply) ProtoMessage ¶
func (*HardCycleReply) ProtoMessage()
func (*HardCycleReply) Reset ¶
func (m *HardCycleReply) Reset()
func (*HardCycleReply) String ¶
func (m *HardCycleReply) String() string
func (*HardCycleReply) XXX_DiscardUnknown ¶
func (m *HardCycleReply) XXX_DiscardUnknown()
func (*HardCycleReply) XXX_Marshal ¶
func (m *HardCycleReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HardCycleReply) XXX_Merge ¶
func (m *HardCycleReply) XXX_Merge(src proto.Message)
func (*HardCycleReply) XXX_Size ¶
func (m *HardCycleReply) XXX_Size() int
func (*HardCycleReply) XXX_Unmarshal ¶
func (m *HardCycleReply) XXX_Unmarshal(b []byte) error
type HardCycleRequest ¶
type HardCycleRequest struct { Nodeids []string `protobuf:"bytes,1,rep,name=nodeids,proto3" json:"nodeids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Hard cycle is power off, wait for a time, power on.
func (*HardCycleRequest) Descriptor ¶
func (*HardCycleRequest) Descriptor() ([]byte, []int)
func (*HardCycleRequest) GetNodeids ¶
func (m *HardCycleRequest) GetNodeids() []string
func (*HardCycleRequest) ProtoMessage ¶
func (*HardCycleRequest) ProtoMessage()
func (*HardCycleRequest) Reset ¶
func (m *HardCycleRequest) Reset()
func (*HardCycleRequest) String ¶
func (m *HardCycleRequest) String() string
func (*HardCycleRequest) XXX_DiscardUnknown ¶
func (m *HardCycleRequest) XXX_DiscardUnknown()
func (*HardCycleRequest) XXX_Marshal ¶
func (m *HardCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HardCycleRequest) XXX_Merge ¶
func (m *HardCycleRequest) XXX_Merge(src proto.Message)
func (*HardCycleRequest) XXX_Size ¶
func (m *HardCycleRequest) XXX_Size() int
func (*HardCycleRequest) XXX_Unmarshal ¶
func (m *HardCycleRequest) XXX_Unmarshal(b []byte) error
type NodeStatus ¶
type NodeStatus struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Xpname string `protobuf:"bytes,2,opt,name=xpname,proto3" json:"xpname,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeStatus) Descriptor ¶
func (*NodeStatus) Descriptor() ([]byte, []int)
func (*NodeStatus) GetResource ¶
func (m *NodeStatus) GetResource() string
func (*NodeStatus) GetStatus ¶
func (m *NodeStatus) GetStatus() string
func (*NodeStatus) GetXpname ¶
func (m *NodeStatus) GetXpname() string
func (*NodeStatus) ProtoMessage ¶
func (*NodeStatus) ProtoMessage()
func (*NodeStatus) Reset ¶
func (m *NodeStatus) Reset()
func (*NodeStatus) String ¶
func (m *NodeStatus) String() string
func (*NodeStatus) XXX_DiscardUnknown ¶
func (m *NodeStatus) XXX_DiscardUnknown()
func (*NodeStatus) XXX_Marshal ¶
func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeStatus) XXX_Merge ¶
func (m *NodeStatus) XXX_Merge(src proto.Message)
func (*NodeStatus) XXX_Size ¶
func (m *NodeStatus) XXX_Size() int
func (*NodeStatus) XXX_Unmarshal ¶
func (m *NodeStatus) XXX_Unmarshal(b []byte) error
type PowerOffReply ¶
type PowerOffReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PowerOffReply) Descriptor ¶
func (*PowerOffReply) Descriptor() ([]byte, []int)
func (*PowerOffReply) ProtoMessage ¶
func (*PowerOffReply) ProtoMessage()
func (*PowerOffReply) Reset ¶
func (m *PowerOffReply) Reset()
func (*PowerOffReply) String ¶
func (m *PowerOffReply) String() string
func (*PowerOffReply) XXX_DiscardUnknown ¶
func (m *PowerOffReply) XXX_DiscardUnknown()
func (*PowerOffReply) XXX_Marshal ¶
func (m *PowerOffReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PowerOffReply) XXX_Merge ¶
func (m *PowerOffReply) XXX_Merge(src proto.Message)
func (*PowerOffReply) XXX_Size ¶
func (m *PowerOffReply) XXX_Size() int
func (*PowerOffReply) XXX_Unmarshal ¶
func (m *PowerOffReply) XXX_Unmarshal(b []byte) error
type PowerOffRequest ¶
type PowerOffRequest struct { Nodeids []string `protobuf:"bytes,1,rep,name=nodeids,proto3" json:"nodeids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PowerOffRequest) Descriptor ¶
func (*PowerOffRequest) Descriptor() ([]byte, []int)
func (*PowerOffRequest) GetNodeids ¶
func (m *PowerOffRequest) GetNodeids() []string
func (*PowerOffRequest) ProtoMessage ¶
func (*PowerOffRequest) ProtoMessage()
func (*PowerOffRequest) Reset ¶
func (m *PowerOffRequest) Reset()
func (*PowerOffRequest) String ¶
func (m *PowerOffRequest) String() string
func (*PowerOffRequest) XXX_DiscardUnknown ¶
func (m *PowerOffRequest) XXX_DiscardUnknown()
func (*PowerOffRequest) XXX_Marshal ¶
func (m *PowerOffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PowerOffRequest) XXX_Merge ¶
func (m *PowerOffRequest) XXX_Merge(src proto.Message)
func (*PowerOffRequest) XXX_Size ¶
func (m *PowerOffRequest) XXX_Size() int
func (*PowerOffRequest) XXX_Unmarshal ¶
func (m *PowerOffRequest) XXX_Unmarshal(b []byte) error
type PowerOnReply ¶
type PowerOnReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PowerOnReply) Descriptor ¶
func (*PowerOnReply) Descriptor() ([]byte, []int)
func (*PowerOnReply) ProtoMessage ¶
func (*PowerOnReply) ProtoMessage()
func (*PowerOnReply) Reset ¶
func (m *PowerOnReply) Reset()
func (*PowerOnReply) String ¶
func (m *PowerOnReply) String() string
func (*PowerOnReply) XXX_DiscardUnknown ¶
func (m *PowerOnReply) XXX_DiscardUnknown()
func (*PowerOnReply) XXX_Marshal ¶
func (m *PowerOnReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PowerOnReply) XXX_Merge ¶
func (m *PowerOnReply) XXX_Merge(src proto.Message)
func (*PowerOnReply) XXX_Size ¶
func (m *PowerOnReply) XXX_Size() int
func (*PowerOnReply) XXX_Unmarshal ¶
func (m *PowerOnReply) XXX_Unmarshal(b []byte) error
type PowerOnRequest ¶
type PowerOnRequest struct { Nodeids []string `protobuf:"bytes,1,rep,name=nodeids,proto3" json:"nodeids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PowerOnRequest) Descriptor ¶
func (*PowerOnRequest) Descriptor() ([]byte, []int)
func (*PowerOnRequest) GetNodeids ¶
func (m *PowerOnRequest) GetNodeids() []string
func (*PowerOnRequest) ProtoMessage ¶
func (*PowerOnRequest) ProtoMessage()
func (*PowerOnRequest) Reset ¶
func (m *PowerOnRequest) Reset()
func (*PowerOnRequest) String ¶
func (m *PowerOnRequest) String() string
func (*PowerOnRequest) XXX_DiscardUnknown ¶
func (m *PowerOnRequest) XXX_DiscardUnknown()
func (*PowerOnRequest) XXX_Marshal ¶
func (m *PowerOnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PowerOnRequest) XXX_Merge ¶
func (m *PowerOnRequest) XXX_Merge(src proto.Message)
func (*PowerOnRequest) XXX_Size ¶
func (m *PowerOnRequest) XXX_Size() int
func (*PowerOnRequest) XXX_Unmarshal ¶
func (m *PowerOnRequest) XXX_Unmarshal(b []byte) error
type SetNodeInfoReply ¶
type SetNodeInfoReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetNodeInfoReply) Descriptor ¶
func (*SetNodeInfoReply) Descriptor() ([]byte, []int)
func (*SetNodeInfoReply) ProtoMessage ¶
func (*SetNodeInfoReply) ProtoMessage()
func (*SetNodeInfoReply) Reset ¶
func (m *SetNodeInfoReply) Reset()
func (*SetNodeInfoReply) String ¶
func (m *SetNodeInfoReply) String() string
func (*SetNodeInfoReply) XXX_DiscardUnknown ¶
func (m *SetNodeInfoReply) XXX_DiscardUnknown()
func (*SetNodeInfoReply) XXX_Marshal ¶
func (m *SetNodeInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetNodeInfoReply) XXX_Merge ¶
func (m *SetNodeInfoReply) XXX_Merge(src proto.Message)
func (*SetNodeInfoReply) XXX_Size ¶
func (m *SetNodeInfoReply) XXX_Size() int
func (*SetNodeInfoReply) XXX_Unmarshal ¶
func (m *SetNodeInfoReply) XXX_Unmarshal(b []byte) error
type SetNodeInfoRequest ¶
type SetNodeInfoRequest struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Xpname string `protobuf:"bytes,2,opt,name=xpname,proto3" json:"xpname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Management Service interface. Called by site facing processes to manage the Belugactld instance.
func (*SetNodeInfoRequest) Descriptor ¶
func (*SetNodeInfoRequest) Descriptor() ([]byte, []int)
func (*SetNodeInfoRequest) GetResource ¶
func (m *SetNodeInfoRequest) GetResource() string
func (*SetNodeInfoRequest) GetXpname ¶
func (m *SetNodeInfoRequest) GetXpname() string
func (*SetNodeInfoRequest) ProtoMessage ¶
func (*SetNodeInfoRequest) ProtoMessage()
func (*SetNodeInfoRequest) Reset ¶
func (m *SetNodeInfoRequest) Reset()
func (*SetNodeInfoRequest) String ¶
func (m *SetNodeInfoRequest) String() string
func (*SetNodeInfoRequest) XXX_DiscardUnknown ¶
func (m *SetNodeInfoRequest) XXX_DiscardUnknown()
func (*SetNodeInfoRequest) XXX_Marshal ¶
func (m *SetNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetNodeInfoRequest) XXX_Merge ¶
func (m *SetNodeInfoRequest) XXX_Merge(src proto.Message)
func (*SetNodeInfoRequest) XXX_Size ¶
func (m *SetNodeInfoRequest) XXX_Size() int
func (*SetNodeInfoRequest) XXX_Unmarshal ¶
func (m *SetNodeInfoRequest) XXX_Unmarshal(b []byte) error
type SoftCycleReply ¶
type SoftCycleReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SoftCycleReply) Descriptor ¶
func (*SoftCycleReply) Descriptor() ([]byte, []int)
func (*SoftCycleReply) ProtoMessage ¶
func (*SoftCycleReply) ProtoMessage()
func (*SoftCycleReply) Reset ¶
func (m *SoftCycleReply) Reset()
func (*SoftCycleReply) String ¶
func (m *SoftCycleReply) String() string
func (*SoftCycleReply) XXX_DiscardUnknown ¶
func (m *SoftCycleReply) XXX_DiscardUnknown()
func (*SoftCycleReply) XXX_Marshal ¶
func (m *SoftCycleReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SoftCycleReply) XXX_Merge ¶
func (m *SoftCycleReply) XXX_Merge(src proto.Message)
func (*SoftCycleReply) XXX_Size ¶
func (m *SoftCycleReply) XXX_Size() int
func (*SoftCycleReply) XXX_Unmarshal ¶
func (m *SoftCycleReply) XXX_Unmarshal(b []byte) error
type SoftCycleRequest ¶
type SoftCycleRequest struct { Nodeids []string `protobuf:"bytes,1,rep,name=nodeids,proto3" json:"nodeids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Belugactld API - control experiment node power. nodeid can be either experiment node name or site node name
This is the client (end user facing) API.
func (*SoftCycleRequest) Descriptor ¶
func (*SoftCycleRequest) Descriptor() ([]byte, []int)
func (*SoftCycleRequest) GetNodeids ¶
func (m *SoftCycleRequest) GetNodeids() []string
func (*SoftCycleRequest) ProtoMessage ¶
func (*SoftCycleRequest) ProtoMessage()
func (*SoftCycleRequest) Reset ¶
func (m *SoftCycleRequest) Reset()
func (*SoftCycleRequest) String ¶
func (m *SoftCycleRequest) String() string
func (*SoftCycleRequest) XXX_DiscardUnknown ¶
func (m *SoftCycleRequest) XXX_DiscardUnknown()
func (*SoftCycleRequest) XXX_Marshal ¶
func (m *SoftCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SoftCycleRequest) XXX_Merge ¶
func (m *SoftCycleRequest) XXX_Merge(src proto.Message)
func (*SoftCycleRequest) XXX_Size ¶
func (m *SoftCycleRequest) XXX_Size() int
func (*SoftCycleRequest) XXX_Unmarshal ¶
func (m *SoftCycleRequest) XXX_Unmarshal(b []byte) error
type StatusReply ¶
type StatusReply struct { Status []*NodeStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusReply) Descriptor ¶
func (*StatusReply) Descriptor() ([]byte, []int)
func (*StatusReply) GetStatus ¶
func (m *StatusReply) GetStatus() []*NodeStatus
func (*StatusReply) ProtoMessage ¶
func (*StatusReply) ProtoMessage()
func (*StatusReply) Reset ¶
func (m *StatusReply) Reset()
func (*StatusReply) String ¶
func (m *StatusReply) String() string
func (*StatusReply) XXX_DiscardUnknown ¶
func (m *StatusReply) XXX_DiscardUnknown()
func (*StatusReply) XXX_Marshal ¶
func (m *StatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusReply) XXX_Merge ¶
func (m *StatusReply) XXX_Merge(src proto.Message)
func (*StatusReply) XXX_Size ¶
func (m *StatusReply) XXX_Size() int
func (*StatusReply) XXX_Unmarshal ¶
func (m *StatusReply) XXX_Unmarshal(b []byte) error
type StatusRequest ¶
type StatusRequest struct { Nodeids []string `protobuf:"bytes,1,rep,name=nodeids,proto3" json:"nodeids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusRequest) Descriptor ¶
func (*StatusRequest) Descriptor() ([]byte, []int)
func (*StatusRequest) GetNodeids ¶
func (m *StatusRequest) GetNodeids() []string
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) Reset ¶
func (m *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (m *StatusRequest) String() string
func (*StatusRequest) XXX_DiscardUnknown ¶
func (m *StatusRequest) XXX_DiscardUnknown()
func (*StatusRequest) XXX_Marshal ¶
func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusRequest) XXX_Merge ¶
func (m *StatusRequest) XXX_Merge(src proto.Message)
func (*StatusRequest) XXX_Size ¶
func (m *StatusRequest) XXX_Size() int
func (*StatusRequest) XXX_Unmarshal ¶
func (m *StatusRequest) XXX_Unmarshal(b []byte) error
type UnimplementedBelugactldManageServer ¶
type UnimplementedBelugactldManageServer struct { }
UnimplementedBelugactldManageServer can be embedded to have forward compatible implementations.
func (*UnimplementedBelugactldManageServer) DeleteNodeInfo ¶
func (*UnimplementedBelugactldManageServer) DeleteNodeInfo(ctx context.Context, req *DeleteNodeInfoRequest) (*DeleteNodeInfoReply, error)
func (*UnimplementedBelugactldManageServer) SetNodeInfo ¶
func (*UnimplementedBelugactldManageServer) SetNodeInfo(ctx context.Context, req *SetNodeInfoRequest) (*SetNodeInfoReply, error)
type UnimplementedBelugactldServer ¶
type UnimplementedBelugactldServer struct { }
UnimplementedBelugactldServer can be embedded to have forward compatible implementations.
func (*UnimplementedBelugactldServer) HardCycle ¶
func (*UnimplementedBelugactldServer) HardCycle(ctx context.Context, req *HardCycleRequest) (*HardCycleReply, error)
func (*UnimplementedBelugactldServer) PowerOff ¶
func (*UnimplementedBelugactldServer) PowerOff(ctx context.Context, req *PowerOffRequest) (*PowerOffReply, error)
func (*UnimplementedBelugactldServer) PowerOn ¶
func (*UnimplementedBelugactldServer) PowerOn(ctx context.Context, req *PowerOnRequest) (*PowerOnReply, error)
func (*UnimplementedBelugactldServer) SoftCycle ¶
func (*UnimplementedBelugactldServer) SoftCycle(ctx context.Context, req *SoftCycleRequest) (*SoftCycleReply, error)
func (*UnimplementedBelugactldServer) Status ¶
func (*UnimplementedBelugactldServer) Status(ctx context.Context, req *StatusRequest) (*StatusReply, error)