package
0.0.0-20241009102611-39055d018f10
Repository: https://github.com/carbynestack/ephemeral.git
Documentation: pkg.go.dev

# Packages

Copyright (c) 2021-2023 - for information on the respective copyright owner see the NOTICE file and/or the repository https://github.com/carbynestack/ephemeral.
No description provided by the author

# Functions

Assert subscribes for a topic in the message bus, waits until the 'event' received, executes the assertions and signals to the done channel once finished.
GenerateEvents id is a helper method to generate a list of events produced by discovery clients.
No description provided by the author
No description provided by the author
NewGame returns an instance of Game.
NewIstioNetworker creates a new IstioNetworker.
No description provided by the author
NewPublisher returns a new publisher.
NewServiceNG returns a new instance of discovery service.
NewStatesAsserter creates a new StatesAsserter that checks the provided states slice.
WaitDoneOrTimeout waits until either something came from the done channel or a timeout occured.

# Variables

BasePort is the base for the port number that is used by the proxy.

# Structs

No description provided by the author
No description provided by the author
Event is a generic message sent between clients and discovery service.
No description provided by the author
FakeDClient is used in the tests.
No description provided by the author
No description provided by the author
No description provided by the author
Game is a single execution of MPC.
GameCallbacker contains methods to react on game events.
GamesWithBus is tuple of Game and MessageBus.
IstioNetworker is an implementation of Networker interface which creates new networks backed by Istio configuration.
No description provided by the author
Publisher sends an event to the message bus.
ServiceNG is a new generation of discovery service.
StatesAsserter allows checking for returned states from a Game more easily.

# Interfaces

FSMWithBus is a Finate State Machine coupled with message bus.
Networker is an interface that allows to retrieve ports and create network config for MPC apps.

# Type aliases

PlayerID is the id of the MPC player.