fx

package
v0.0.0-...-e70f483 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package fx provides the fx module for the ipc component

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ModuleInsecure

func ModuleInsecure() fxutil.Module

ModuleInsecure provides fx options for the IPC component suitable for specific commands (like 'flare' or 'diagnose') that must function even when the main Agent isn't running or IPC artifacts (like auth tokens) are missing or invalid.

The component constructor provided by this module *always* succeeds, unlike ModuleReadWrite or ModuleReadOnly which might fail if artifacts are absent or incorrect. However, the resulting IPC component instance might be non-functional or only partially functional, potentially leading to failures later, such as rejected connections during the IPC handshake if communication with the core Agent is attempted.

WARNING: This module is intended *only* for edge cases like diagnostics and flare generation. Using it in standard agent processes or commands that rely on stable IPC communication will likely lead to unexpected runtime errors or security issues.

func ModuleReadOnly

func ModuleReadOnly() fxutil.Module

ModuleReadOnly defines the fx options for this component for the one-shot commands. It will try to read the auth artifacts from the configured location. If they are not found, it will fail.

func ModuleReadWrite

func ModuleReadWrite() fxutil.Module

ModuleReadWrite defines the fx options for this component for the daemon commands. It will try to read the auth artifacts from the configured location. If they are not found, it will create them.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL