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
Click to show internal directories.
Click to hide internal directories.