Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // ExecuteNodeCommands executes a command on a node. ExecuteNodeCommands(ctx context.Context, nodeName string, commands []string) error // NodeUpload uploads a file to a node. NodeUpload(ctx context.Context, nodeName string, remoteFileDir string, fileUploadRequest *api.FileUploadRequest) error }
Client is an interface for performing SSH requests against the Proxmox Nodes.
type NodeResolver ¶
type NodeResolver interface {
Resolve(ctx context.Context, nodeName string) (ProxmoxNode, error)
}
NodeResolver is an interface for resolving node names to IP addresses to use for SSH connection.
type ProxmoxNode ¶ added in v0.31.0
ProxmoxNode represents node address and port for SSH connection.
Click to show internal directories.
Click to hide internal directories.