mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 02:31:10 +00:00
17 lines
442 B
Go
17 lines
442 B
Go
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
package ssh
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// NodeResolver is an interface for resolving node names to IP addresses to use for SSH connection.
|
|
type NodeResolver interface {
|
|
Resolve(ctx context.Context, nodeName string) (string, error)
|
|
}
|