host

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthMethod added in v0.1.24

type AuthMethod interface {
	SSHAuthMethod() ssh.AuthMethod
}

AuthMethod represents different authentication methods

type Deployer

type Deployer interface {
	// Deploy deploys the content from localPath and returns a Result
	Deploy(localPath string) (Result, error)
}

Deployer is the interface that wraps the basic Deploy method

type Result added in v0.1.24

type Result interface {
	// GetID returns the unique identifier of the deployment
	GetID() string
	// GetURL returns the URL where the deployment can be accessed
	GetURL() string
	// GetMessage returns any additional information about the deployment
	GetMessage() string
	GetSize() int64
}

Result is the interface that wraps the basic deployment result methods

type SCPDeployer

type SCPDeployer interface {
	Deployer
	Connect() error
	Close() error
	CreateRemoteDirectory(path string) error
	UploadDirectory(localPath string) error
}

SCPDeployer defines the interface for SCP deployment

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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