forward

package
v0.12.0-beta4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ForwardCommand = &cobra.Command{
	Use:          "forward",
	Short:        "Create and manage network forwarding sessions",
	RunE:         forwardMain,
	SilenceUsage: true,
}

ForwardCommand is the forward command.

Functions

func CreateWithSpecification

func CreateWithSpecification(
	daemonConnection *grpc.ClientConn,
	specification *forwardingsvc.CreationSpecification,
) (string, error)

CreateWithSpecification is an orchestration convenience method that performs a create operation using the provided daemon connection and session specification.

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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL