package
0.0.0-20240731152050-6dcdff4c9dd7
Repository: https://github.com/omniviewdev/plugin-sdk.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewManager initializes a new Manager instance.
NewOutputBuffer initializes an OutputBuffer with a specified capacity.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
while close isn't a signal, it's used to close the stream.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Handler handles performs running commands and creating sessions for a resource.
Manager manages the lifecycle of the terminal sessions.
OutputBuffer stores terminal output lines, providing a fixed-size cyclic buffer.
No description provided by the author
No description provided by the author
PluginOpts contains the options for the exec plugin.
No description provided by the author
Session represents an individual terminal session (shell session with a tty).
SessionOptions contains options for creating a new terminal session.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Provider is the interface satisfied by the plugin server and client to provide the exec functionality.

# Type aliases

CommandHandler is the expected signature for the non-tty handler.
SessionHandler is the expected signature for a function that creates a new session.
No description provided by the author
No description provided by the author
TTYHandler is the expected signature for a function that creates a new session with a TTY.