Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecuteCallbackFunc ¶
type ExecuteCallbackFunc = func() error
type Node ¶ added in v0.4.1
type Node struct {
// contains filtered or unexported fields
}
Node is a struct that allows the developer to compose sequentially multiple SDKs. The struct offers also a service locator that the SDKs can use to register services.
func NewFromConfPath ¶
func (*Node) GetService ¶ added in v0.4.1
func (*Node) InstallSDK ¶ added in v0.4.1
func (*Node) RegisterService ¶ added in v0.4.1
type PostStart ¶
PostStart enables a platform to execute additional tasks after all platforms have started
type SDK ¶ added in v0.4.1
type SDK interface { // Install signals the SDK that it is time to install itself. Install() error // Start signals the SDK that it is time to start any computation/server this SDK offers. Start(ctx context.Context) error }
SDK models an abstract kit that can be installed and started.
Click to show internal directories.
Click to hide internal directories.