ssh

package
v22.11.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultConnectorType

func GetDefaultConnectorType() (string, fail.Error)

func NewConnector

func NewConnector(conf sshapi.Config, options ...Option) (sshapi.Connector, fail.Error)

NewConnector creates a connector using the factory

func SetCustomConnectorFactory

func SetCustomConnectorFactory(custom func(sshapi.Config) (sshapi.Connector, fail.Error))

Types

type Option

type Option func(connector sshapi.Connector, conf sshapi.Config) (sshapi.Connector, fail.Error)

func ConnectorWithCli

func ConnectorWithCli() Option

func ConnectorWithLib

func ConnectorWithLib() Option

Jump to

Keyboard shortcuts

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