Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Counter int
View Source
var Request interface{}
View Source
var Result interface{}
Functions ¶
func Connect ¶
func Connect() (*grpc.ClientConn, rpc.MasterClient)
Types ¶
type MasterClient ¶
type MasterClient struct {
// contains filtered or unexported fields
}
func (*MasterClient) GetIMDData ¶
func (client *MasterClient) GetIMDData(ip string, filename string) []rpc.KV
func (*MasterClient) UpdateIMDInfo ¶
func (client *MasterClient) UpdateIMDInfo(u *rpc.IMDInfo) bool
func (*MasterClient) WorkerRegister ¶
func (client *MasterClient) WorkerRegister(w *rpc.WorkerInfo) (int, error)
Click to show internal directories.
Click to hide internal directories.