Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
Connector holds a map of Connections
func (*Connector) Open ¶ added in v1.5.0
func (c *Connector) Open(host kubeoneapi.HostConfig) (executor.Interface, error)
Open to the node
func (*Connector) Tunnel ¶ added in v1.0.0
func (c *Connector) Tunnel(host kubeoneapi.HostConfig) (executor.Tunneler, error)
Tunnel returns established SSH tunnel
type Opts ¶
type Opts struct { Context context.Context Username string Password string Hostname string Port int PrivateKey string KeyFile string HostPublicKey []byte AgentSocket string Timeout time.Duration Bastion string BastionPort int BastionUser string BastionHostPublicKey []byte }
Opts represents all the possible options for connecting to a remote server via SSH.
Click to show internal directories.
Click to hide internal directories.