Documentation
¶
Index ¶
- Variables
- func CreateWithSpecification(service forwardingsvc.ForwardingClient, ...) error
- func ListWithLabelSelector(labelSelector string, long bool) error
- func PauseWithLabelSelector(labelSelector string) error
- func ResumeWithLabelSelector(labelSelector string) error
- func TerminateWithLabelSelector(labelSelector string) error
Constants ¶
This section is empty.
Variables ¶
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 ¶
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 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.