forward

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func CreateWithSpecification

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

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

func PauseWithLabelSelector(labelSelector string) error

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

func ResumeWithLabelSelector

func ResumeWithLabelSelector(labelSelector string) error

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

func TerminateWithLabelSelector

func TerminateWithLabelSelector(labelSelector string) error

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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