Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeServerAssignmentService ¶
func NewFakeServerAssignmentService(ctx context.Context, frontendTarget string) pb.AssignmentServiceServer
NewFakeServerAssignmentService returns a AssignmentServiceServer that makes fake assignments
func NewFakeServerAssignmentServiceWithClient ¶
func NewFakeServerAssignmentServiceWithClient(ctx context.Context, frontendClient pb.FrontendServiceClient) pb.AssignmentServiceServer
NewFakeServerAssignmentServiceWithClient returns a AssignmentServiceServer that makes fake assignments
Types ¶
type FakeServerAssignmentService ¶
type FakeServerAssignmentService struct { pb.UnimplementedAssignmentServiceServer // contains filtered or unexported fields }
FakeServerAssignmentService conforms to the AssignmentServiceServer interface
func (*FakeServerAssignmentService) MakeAssignment ¶
func (s *FakeServerAssignmentService) MakeAssignment(_ context.Context, match *pb.Match) (*pb.Assignment, error)
MakeAssignment returns a fake assignment
Click to show internal directories.
Click to hide internal directories.