commands

package
v2.7.0-test.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandRequiresSession = "cobra.telepresence.io/with-session"
)

Variables

This section is empty.

Functions

func GetCommands

func GetCommands() cliutil.CommandGroups

GetCommands will return all commands implemented by the connector daemon.

func GetCommandsForLocal

func GetCommandsForLocal(err error) cliutil.CommandGroups

GetCommandsForLocal will return the same commands as GetCommands but in a non-runnable state that reports the error given. Should be used to build help strings even if it's not possible to connect to the connector daemon.

func GetCwd added in v2.7.0

func GetCwd(ctx context.Context) string

func PushTraces

func PushTraces() *cobra.Command

func TraceCommand

func TraceCommand() *cobra.Command

func WithCwd added in v2.7.0

func WithCwd(ctx context.Context, cwd string) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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