Documentation
¶
Index ¶
- type Runtime
- func (r *Runtime) GetClientForToken(token string) (*client.Client, error)
- func (r *Runtime) GetHomeDir() string
- func (r *Runtime) GetPublicMux() *http.ServeMux
- func (r *Runtime) GetRootApiKey() string
- func (r *Runtime) Run() error
- func (r *Runtime) Stop()
- func (r *Runtime) Wait()
- func (r *Runtime) WithExtension(rp core.Extension) *Runtime
- func (r *Runtime) WithExtensions(rps ...core.Extension) *Runtime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime manages the execution of insid, handling configuration, signal processing, and the lifecycle of node instances.
func New ¶
New creates a new Runtime instance. It initializes the application context, sets up signal handling, parses command-line flags, and loads the cluster configuration.
func (*Runtime) GetClientForToken ¶
func (*Runtime) GetHomeDir ¶
func (*Runtime) GetPublicMux ¶
func (*Runtime) GetRootApiKey ¶
func (*Runtime) Run ¶
Run executes the runtime based on the parsed flags, either running as a single node or as a host managing multiple nodes.
func (*Runtime) Stop ¶
func (r *Runtime) Stop()
Stop gracefully shuts down the runtime by canceling its context.
Click to show internal directories.
Click to hide internal directories.