Categorygithub.com/nayarsystems/idefix-go
modulepackage
0.3.0
Repository: https://github.com/nayarsystems/idefix-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BenchmarkBstates measures and compares the sizes of BstatesBlob against different compression pipelines.
ExitToUpdate sends an update command to the given address to initiate a graceful exit and update process.
FileCopy sends a request to copy a file from srcPath to dstPath on the remote system.
FileRead retrieves the contents of a file located at the specified path on the remote system.
FileSHA256 computes the SHA256 hash of a file located at the specified path on the remote system.
FileSHA256Hex computes the SHA256 hash of a file located at the specified path on the remote system and returns it as a hex-encoded string.
FileWrite uploads data to a file at the specified path on the remote system.
GetBstates retrieves bstates events from cloud based on the provided parameters.
GetDeltaStates processes a slice of Bstate objects and retrieves the delta states represented as a slice of maps.
GetFree requests the available free space for a given path from the remote address.
ListDir sends a request to the specified address to list the contents of the directory at the given path.
MenhirStorageRead retrieves a file's data from the Menhir storage system.
MenhirStorageRemove removes a file from the Menhir storage system.
MenhirStorageStat retrieves the metadata of a file from the Menhir storage system.
MenhirStorageStats retrieves filesystem statistics from the Menhir storage system.
MenhirStorageWrite uploads a file to the Menhir storage system.
Move sends a request to move a file or directory from srcPath to dstPath on the remote system.
NewClient returns a new [Client] with the options and the context given.
NewClientFromFile returns a new [Client] with the context given and the options readen from a config file given.
Given an address, this method will return a valid address.
ReadConfig function reads the config from the filename given and returns the [ClientOptions] struct with the config data added.
Remove sends a request to delete a file or directory at the specified path on the remote system.
UpdateConfig updates the configuration of the specified client.

# Constants

No description provided by the author
No description provided by the author
These constants represent file types used in the Menhir storage system.
These constants represent file types used in the Menhir storage system.
These constants define topic suffixes used for sending various commands trough Idefix to Menhir.
These constants define topic suffixes used for sending various commands trough Idefix to Menhir.
These constants define topic suffixes used for sending various commands trough Idefix to Menhir.
These constants define topic suffixes used for sending various commands trough Idefix to Menhir.
These constants define topic suffixes used for sending various commands trough Idefix to Menhir.
These constants define topic suffixes used for sending various commands trough Idefix to Menhir.
These constants define topic suffixes used for sending various commands trough Idefix to Menhir.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.
The following constants define command topics for inter-system communication regarding file operations and other commands in the operating system context.

# Structs

Bstate represents a single snapshot of the state of a device at a specific point in time.
BstatesBlob represents a collection of Bstates along with associated metadata.
BstatesSource represents a source of Bstates that includes metadata and a collection of BstatesBlob instances.
Client represents a connection to Idefix, providing methods to interact with.
ClientOptions defines the configuration options for initializing a Client.
GetBstatesParams defines the parameters used to retrieve a list of Bstates from the remote system.
MenhirStorageFileInfo represents metadata information about a file stored in the Menhir storage system.
MenhirStorageFSStats contains statistics about the file system in the Menhir storage system, related to block storage usage.
PublisherStream represents a stream for publishing messages to a specific topic.
SubscriberStream manages the state and operations for a subscription to a message stream.

# Type aliases

ConnectionStatus represents the current connection state of the Client.
ConnectionStatusHandler is a function type that defines a handler for connection status changes in the [Client].
GetBstatesResult represents the result of retrieving bstate information from the Idefix system.