package
0.0.0-20250304205544-71af207b4383
Repository: https://github.com/mongodb/jasper.git
Documentation: pkg.go.dev
# Functions
BuildClientCommand is a convenience function to generate the slice of strings to invoke the Client subcommand.
BuildJasperCommand is a convenience function to generate the slice of strings to invoke the Jasper subcommand.
BuildManagerClearCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager.Clear subcommand.
BuildManagerCloseCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager.Close subcommand.
BuildManagerCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager subcommand.
BuildManagerCreateCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager.CreateCommand subcommand.
BuildManagerCreateProcessCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager.CreateProcess subcommand.
BuildManagerGetCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager.Get subcommand.
BuildManagerGroupCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager.Group subcommand.
BuildManagerIDCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager.ID subcommand.
BuildManagerListCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Manager.List subcommand.
BuildProcessCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process subcommand.
BuildProcessCompleteCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.Complete subcommand.
BuildProcessGetTagsCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.GetTags subcommand.
BuildProcessInfoCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.Info subcommand.
BuildProcessRegisterSignalTriggerIDCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.RegisterSignalTriggerID subcommand.
BuildProcessResetTagsCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.ResetTags subcommand.
BuildProcessRespawnCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.Respawn subcommand.
BuildProcessRunningCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.Running subcommand.
BuildProcessSignalCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.Signal subcommand.
BuildProcessTagCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.Tag subcommand.
BuildProcessWaitCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Process.Wait subcommand.
BuildRemoteCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Remote subcommand.
BuildRemoteConfigureCacheCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Remote.ConfigureCache subcommand.
BuildRemoteDownloadFileCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Remote.DownloadFile subcommand.
BuildRemoteDownloadMongoDBCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Remote.DownloadMongoDB subcommand.
BuildRemoteGetBuildloggerURLsCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Remote.GetBuildloggerURLs subcommand.
BuildRemoteGetLogStreamCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Remote.GetLogStream subcommand.
BuildRemoteSignalEventCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Remote.SignalEvent subcommand.
BuildRemoteWriteFileCommand is a convenience function to generate the slice of strings to invoke the Jasper.Client.Remote.WriteFile subcommand.
BuildServiceCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service subcommand.
BuildServiceForceReinstallCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service.ForceReinstall subcommand.
BuildServiceInstallCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service.Install subcommand.
BuildServiceRestartCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service.Restart subcommand.
BuildServiceRunCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service.Run subcommand.
BuildServiceStartCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service.Start subcommand.
BuildServiceStatusCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service.Status subcommand.
BuildServiceStopCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service.Stop subcommand.
BuildServiceUninstallCommand is a convenience function to generate the slice of strings to invoke the Jasper.Service.Uninstall subcommand.
ErrBufferFull returns an error indicating that a CappedWriter's buffer has reached max capacity.
ExtractBuildloggerURLsResponse unmarshals the input bytes into a BuildloggerURLsResponse and checks if the request was successful.
ExtractCachedLoggerResponse unmarshals the input bytes into a CachedLoggerResponse and checks if the request was successful.
ExtractCompleteResponse unmarshals the input bytes into a CompleteResponse and checks if the request was successful.
ExtractIDResponse unmarshals the input bytes into an IDResponse and checks if the request was successful.
ExtractInfoResponse unmarshals the input bytes into an InfoResponse and checks if the request was successful.
ExtractInfosResponse unmarshals the input bytes into a TagsResponse and checks if the request was successful.
ExtractLoggingCacheLenResponse unmarshals the input bytes into a LoggingCacheLenResponse and checks if the request was successful.
ExtractLogStreamResponse unmarshals the input bytes into a LogStreamResponse and checks if the request was successful.
ExtractOutcomeResponse unmarshals the input bytes into an OutcomeResponse and checks if the request was successful.
ExtractRunningResponse unmarshals the input bytes into a RunningResponse and checks if the request was successful.
ExtractServiceStatusResponse unmarshals the input bytes into a ServiceStatusResponse and checks if the request was successful.
ExtractTagsResponse unmarshals the input bytes into a TagsResponse and checks if the request was successful.
ExtractWaitResponse unmarshals the input bytes into a WaitResponse and checks if the request was successful.
Jasper is the CLI interface to Jasper services.
LoggingCache creates a cli.Command that supports the jasper.LoggingCache interface.
Manager creates a cli.Command that interfaces with a Jasper manager.
NewSSHClient creates a new Jasper manager that connects to a remote machine's Jasper service over SSH using the remote machine's Jasper CLI.
Process creates a cli.Command that interfaces with a Jasper process.
Remote creates a cli.Command that supports the remote-specific methods in the remote.Manager interface except for CloseClient, for which there is no CLI equivalent.
# Constants
Constants representing the Jasper Manager interface as CLI commands.
ClientCommand represents the Jasper client interface as a CLI command.
Constants representing the Jasper Manager interface as CLI commands.
Constants representing the supported Jasper service types.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the remote.Manager interface as CLI commands.
Constants representing the Jasper Manager interface as CLI commands.
Constants representing the Jasper Manager interface as CLI commands.
Constants representing the remote.Manager interface as CLI commands.
Constants representing the remote.Manager interface as CLI commands.
Constants representing the remote.Manager interface as CLI commands.
Constants representing the Jasper Manager interface as CLI commands.
Constants representing the remote.Manager interface as CLI commands.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the Jasper Manager interface as CLI commands.
Constants representing the Jasper Manager interface as CLI commands.
Constants representing the Jasper Process interface as CLI commands.
JasperCommand represents the Jasper interface as a CLI command.
Constants representing the Jasper Manager interface as CLI commands.
Constants representing the jasper.LoggingCache interface as CLI commands.
Constants representing the jasper.LoggingCache interface as CLI commands.
Constants representing the jasper.LoggingCache interface as CLI commands.
Constants representing the jasper.LoggingCache interface as CLI commands.
Constants representing the jasper.LoggingCache interface as CLI commands.
Constants representing the jasper.LoggingCache interface as CLI commands.
Constants representing the jasper.LoggingCache interface as CLI commands.
Constants representing the jasper.LoggingCache interface as CLI commands.
Constants representing the Jasper Manager interface as CLI commands.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the remote.Manager interface as CLI commands.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the supported Jasper service types.
Constants representing the supported Jasper service types.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the remote.Manager interface as CLI commands.
Constants representing the Jasper service interface as a CLI command.
Constants representing the Jasper service interface as a CLI command.
Constants representing the Jasper service interface as a CLI command.
Constants representing the status of the service.
Constants representing the Jasper service interface as a CLI command.
Constants representing the Jasper service interface as a CLI command.
Constants representing the status of the service.
Constants representing the Jasper service interface as a CLI command.
Constants representing the Jasper service interface as a CLI command.
Constants representing the Jasper service interface as a CLI command.
Constants representing the status of the service.
Constants representing the Jasper service interface as a CLI command.
Constants representing the status of the service.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the remote.Manager interface as CLI commands.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the Jasper Process interface as CLI commands.
Constants representing the supported Jasper service types.
Constants representing the Jasper Manager interface as CLI commands.
# Structs
BuildloggerURLsResponse represents CLI-specific output containing the Buildlogger URLs for a process.
CachedLoggerResponse represents CLI-specific output describing the logger that has been cached in the remote service.
CappedWriter implements a buffer that stores up to MaxBytes bytes.
ClientOptions represents the options to connect the CLI client to the Jasper service.
CompleteResponse represents CLI-specific output containing the request outcome and whether the process is complete or not.
EventInput represents the CLI-specific input to signal a named event.
FilterInput represents the CLI-specific input to filter processes.
IDInput represents CLI-specific input representing a single ID (e.g.
IDResponse represents represents CLI-specific output containing the ID of the resources requested (e.g.
InfoResponse represents represents CLI-specific output containing the request outcome and process information.
InfosResponse represents CLI-specific output containing the request outcome and information for multiple processes.
LoggingCacheCreateInput represents CLI-specific input to create a cached logger.
LoggingCacheLenResponse represents CLI-specific output describing the number of cached loggers.
LoggingCachePruneInput represents CLI-specific input to prune the loggers that were accessed before the given time.
LogStreamInput represents the CLI-specific input to stream in-memory logs.
LogStreamResponse represents CLI-specific output containing the log stream data.
OutcomeResponse represents CLI-specific output describing if the request was processed successfully and if not, the associated error message.
RunningResponse represents CLI-specific output containing the request outcome and whether the process is running or not.
ServiceStatusResponse represents CLI-specific output containing the request outcome and the service status.
SignalInput represents CLI-specific input to signal a Jasper process.
SignalTriggerIDInput represents CLI-specific input to attach a signal trigger to a Jasper process.
TagIDInput represents the CLI-specific input for a process with a given tag.
TagInput represents the CLI-specific input for process tags.
TagsResponse represents CLI-specific output containing the request outcome and tags.
WaitResponse represents CLI-specific output containing the request outcome, the wait exit code, and the error from wait.
# Interfaces
Validator represents an input that can be validated.
# Type aliases
ServiceStatus represents the state of the service.