sshtunnel

package
v1.4.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCDialer

func NewGRPCDialer(connector *ssh.Connector, target kubeoneapi.HostConfig) (grpc.DialOption, error)

NewGRPCDialer initialize gRPC dialer that will use ssh tunnel as transport

func NewHTTPTransport

func NewHTTPTransport(connector *ssh.Connector, target kubeoneapi.HostConfig, tlsConfig *tls.Config) (http.RoundTripper, error)

NewHTTPTransport initialize net/http Transport that will use SSH tunnel as transport

Types

This section is empty.

Jump to

Keyboard shortcuts

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