connect

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MPL-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	*base.Command

	Func string
	// contains filtered or unexported fields
}

func (*Command) AutocompleteArgs

func (c *Command) AutocompleteArgs() complete.Predictor

func (*Command) AutocompleteFlags

func (c *Command) AutocompleteFlags() complete.Flags

func (*Command) Flags

func (c *Command) Flags() *base.FlagSets

func (*Command) Help

func (c *Command) Help() string

func (*Command) Run

func (c *Command) Run(args []string) (retCode int)

func (*Command) Synopsis

func (c *Command) Synopsis() string

type ConnectionInfo

type ConnectionInfo struct {
	ConnectionsLeft int32 `json:"connections_left"`
}

type SessionInfo

type SessionInfo struct {
	Address         string                       `json:"address"`
	Port            int                          `json:"port"`
	Protocol        string                       `json:"protocol"`
	Expiration      time.Time                    `json:"expiration"`
	ConnectionLimit int32                        `json:"connection_limit"`
	SessionId       string                       `json:"session_id"`
	Credentials     []*targets.SessionCredential `json:"credentials,omitempty"`
}

type TerminationInfo

type TerminationInfo struct {
	Reason string `json:"termination_reason"`
}

Jump to

Keyboard shortcuts

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