Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstructOpts ¶
type ConstructOpts struct { // LogEntry is the root logger to use. // If unset, will use a default logger. LogEntry *logrus.Entry // ExtraControllerFactories is a set of extra controller factories to // make available to the daemon. ExtraControllerFactories []func(bus.Bus) controller.Factory }
ConstructOpts are extra options passed to the daemon constructor.
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
Daemon implements the Bifrost daemon.
func NewDaemon ¶
func NewDaemon( ctx context.Context, nodePriv crypto.PrivKey, opts ConstructOpts, ) (*Daemon, error)
NewDaemon constructs a new daemon.
func (*Daemon) GetControllerBus ¶
GetControllerBus returns the controller bus.
func (*Daemon) GetStaticResolver ¶
GetStaticResolver returns the underlying static resolver for controller impl lookups.
Click to show internal directories.
Click to hide internal directories.