mutagen: github.com/mutagen-io/mutagen/cmd/mutagen/forward Index | Files

package forward

import "github.com/mutagen-io/mutagen/cmd/mutagen/forward"

Index

Package Files

create.go list.go list_monitor_common.go main.go monitor.go pause.go resume.go terminate.go

Variables

var RootCommand = &cobra.Command{
    Use:          "forward",
    Short:        "Create and manage forwarding sessions",
    RunE:         rootMain,
    SilenceUsage: true,
}

func CreateWithSpecification Uses

func CreateWithSpecification(
    service forwardingsvc.ForwardingClient,
    specification *forwardingsvc.CreationSpecification,
) (string, 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 ListWithLabelSelector Uses

func ListWithLabelSelector(labelSelector string, long bool) error

ListWithLabelSelector is an orchestration convenience method that invokes the list command using the specified label selector.

func PauseWithLabelSelector Uses

func PauseWithLabelSelector(labelSelector string) error

PauseWithLabelSelector is an orchestration convenience method invokes the pause command using the specified label selector.

func ResumeWithLabelSelector Uses

func ResumeWithLabelSelector(labelSelector string) error

ResumeWithLabelSelector is an orchestration convenience method invokes the resume command using the specified label selector.

func TerminateWithLabelSelector Uses

func TerminateWithLabelSelector(labelSelector string) error

TerminateWithLabelSelector is an orchestration convenience method invokes the terminate command using the specified label selector.

Package forward imports 17 packages (graph) and is imported by 4 packages. Updated 2020-02-20. Refresh now. Tools for package owners.