connect

package
v2.12.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoUserDaemon     = errors.New("telepresence user daemon is not running")
	ErrNoRootDaemon     = errors.New("telepresence root daemon is not running")
	ErrNoTrafficManager = errors.New("telepresence traffic manager is not connected")
)

Functions

func CommandInitializer

func CommandInitializer(cmd *cobra.Command) (err error)

func Disconnect

func Disconnect(ctx context.Context, quitDaemons bool) error

Disconnect shuts down a session in the root daemon. When it shuts down, it will tell the connector to shut down.

func InitCommand

func InitCommand(cmd *cobra.Command) (err error)

func RunConnect

func RunConnect(cmd *cobra.Command, args []string) error

func UserDaemonDisconnect

func UserDaemonDisconnect(ctx context.Context, quitDaemons bool) (err error)

func WithCommandInitializer

func WithCommandInitializer(ctx context.Context, cmdInit func(cmd *cobra.Command) error) 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