Documentation
¶
Index ¶
- Variables
- func CreateWithSpecification(daemonConnection *grpc.ClientConn, ...) (string, error)
- func FlushWithSelection(daemonConnection *grpc.ClientConn, selection *selection.Selection, ...) error
- func ListWithSelection(daemonConnection *grpc.ClientConn, selection *selection.Selection, long bool) error
- func PauseWithSelection(daemonConnection *grpc.ClientConn, selection *selection.Selection) error
- func ResetWithSelection(daemonConnection *grpc.ClientConn, selection *selection.Selection) error
- func ResumeWithSelection(daemonConnection *grpc.ClientConn, selection *selection.Selection) error
- func TerminateWithSelection(daemonConnection *grpc.ClientConn, selection *selection.Selection) error
Constants ¶
This section is empty.
Variables ¶
var Commands = []*cobra.Command{
createCommand,
listCommand,
monitorCommand,
flushCommand,
pauseCommand,
resumeCommand,
resetCommand,
terminateCommand,
}
Commands are the synchronization session commands that used to exist at the root of the Mutagen command structure. For backward compatibility, we still register them at the root of the command structure (and hide them in help output and shell completion). In order to avoid the need to export the commands, we create a list of them.
var SyncCommand = &cobra.Command{ Use: "sync", Short: "Create and manage file synchronization sessions", RunE: syncMain, SilenceUsage: true, }
SyncCommand is the sync command.
Functions ¶
func CreateWithSpecification ¶
func CreateWithSpecification( daemonConnection *grpc.ClientConn, specification *synchronizationsvc.CreationSpecification, ) (string, error)
CreateWithSpecification is an orchestration convenience method that performs a create operation using the provided daemon connection and session specification.
func FlushWithSelection ¶ added in v0.12.0
func FlushWithSelection( daemonConnection *grpc.ClientConn, selection *selection.Selection, skipWait bool, ) error
FlushWithSelection is an orchestration convenience method that performs a flush operation using the provided daemon connection and session selection.
func ListWithSelection ¶ added in v0.12.0
func ListWithSelection( daemonConnection *grpc.ClientConn, selection *selection.Selection, long bool, ) error
ListWithSelection is an orchestration convenience method that performs a list operation using the provided daemon connection and session selection and then prints status information.
func PauseWithSelection ¶ added in v0.12.0
func PauseWithSelection( daemonConnection *grpc.ClientConn, selection *selection.Selection, ) error
PauseWithSelection is an orchestration convenience method that performs a pause operation using the provided service client and session selection.
func ResetWithSelection ¶ added in v0.12.0
func ResetWithSelection( daemonConnection *grpc.ClientConn, selection *selection.Selection, ) error
ResetWithSelection is an orchestration convenience method that performs a reset operation using the provided daemon connection and session selection.
func ResumeWithSelection ¶ added in v0.12.0
func ResumeWithSelection( daemonConnection *grpc.ClientConn, selection *selection.Selection, ) error
ResumeWithSelection is an orchestration convenience method that performs a resume operation using the provided daemon connection and session selection.
func TerminateWithSelection ¶ added in v0.12.0
func TerminateWithSelection( daemonConnection *grpc.ClientConn, selection *selection.Selection, ) error
TerminateWithSelection is an orchestration convenience method that performs a terminate operation using the provided daemon connection and session selection.
Types ¶
This section is empty.