mocks

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL