client

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package client provides the client interface for 'exec'

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecRemoteCommand

func ExecRemoteCommand(ctx context.Context, conn *proxy.Conn, binary string, args ...string) (*pb.ExecResponse, error)

ExecRemoteCommand is a helper function for execing a command on a remote host using a proxy.Conn. If the conn is defined for >1 targets this will return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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