connector

package
v0.0.0-...-3c039c4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Copyright 2023 The Chromium Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Copyright 2023 The Chromium Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISSHClientConnector

type ISSHClientConnector interface {
	Connect(ctx context.Context, addr string, config *ssh.ClientConfig) (*ssh.Client, error)
}

type SSHConnector

type SSHConnector struct {
	// contains filtered or unexported fields
}

func New

func New(retry int, retryDelay time.Duration) *SSHConnector

func (*SSHConnector) Connect

func (s *SSHConnector) Connect(ctx context.Context, addr string, config *ssh.ClientConfig) (*ssh.Client, error)

Jump to

Keyboard shortcuts

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