Documentation
¶
Index ¶
- Variables
- func CreateWithSpecification(service synchronizationsvc.SynchronizationClient, ...) error
- func FlushWithLabelSelector(labelSelector string, skipWait bool) error
- func ListWithLabelSelector(labelSelector string, long bool) error
- func PauseWithLabelSelector(labelSelector string) error
- func ResetWithLabelSelector(labelSelector string) error
- func ResumeWithLabelSelector(labelSelector string) error
- func TerminateWithLabelSelector(labelSelector string) 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). In order to avoid the need to export the commands, we create a list of them.
var RootCommand = &cobra.Command{ Use: "sync", Short: "Create and manage synchronization sessions", RunE: rootMain, SilenceUsage: true, }
Functions ¶
func CreateWithSpecification ¶
func CreateWithSpecification( service synchronizationsvc.SynchronizationClient, specification *synchronizationsvc.CreationSpecification, ) error
CreateWithSpecification is an orchestration convenience method invokes the creation using the provided session specification. Unlike other orchestration methods, it requires provision of a client to avoid creating one for each request.
func FlushWithLabelSelector ¶
FlushWithLabelSelector is an orchestration convenience method invokes the flush command using the specified label selector.
func ListWithLabelSelector ¶
ListWithLabelSelector is an orchestration convenience method that invokes the list command using the specified label selector.
func PauseWithLabelSelector ¶
PauseWithLabelSelector is an orchestration convenience method invokes the pause command using the specified label selector.
func ResetWithLabelSelector ¶ added in v0.10.2
ResetWithLabelSelector is an orchestration convenience method invokes the reset command using the specified label selector.
func ResumeWithLabelSelector ¶
ResumeWithLabelSelector is an orchestration convenience method invokes the resume command using the specified label selector.
func TerminateWithLabelSelector ¶
TerminateWithLabelSelector is an orchestration convenience method invokes the terminate command using the specified label selector.
Types ¶
This section is empty.