Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteDeployment(deploymentName string) *deleteDeployMock
- func Deploy() *deployMock
- func Errand(deploymentName, errandName string) *errandMock
- func GetDeployment(deploymentName string) *manifestMock
- func GetDeployments() *getDeploymentMock
- func Info() *infoMock
- func Manifest(deploymentName string) *manifestMock
- func New() *mockhttp.Server
- func NewTLS() *mockhttp.Server
- func NewTLSWithCert(cert tls.Certificate) *mockhttp.Server
- func StartSSHSession(deploymentName string) *sshMock
- func Task(taskID int) *taskMock
- func TaskEvent(taskId int) *taskOutputMock
- func TaskOutput(taskId int) *taskOutputMock
- func Tasks(deploymentName string) *tasksMock
- func VMsForDeployment(deploymentName string) *vmsForDeploymentMock
- type VMsOutput
Constants ¶
View Source
const ( TaskQueued = "queued" TaskProcessing = "processing" TaskDone = "done" TaskError = "error" )
Variables ¶
View Source
var CleanupSSHSession = StartSSHSession
Functions ¶
func DeleteDeployment ¶
func DeleteDeployment(deploymentName string) *deleteDeployMock
func GetDeployment ¶
func GetDeployment(deploymentName string) *manifestMock
func GetDeployments ¶
func GetDeployments() *getDeploymentMock
func NewTLSWithCert ¶
func NewTLSWithCert(cert tls.Certificate) *mockhttp.Server
func StartSSHSession ¶
func StartSSHSession(deploymentName string) *sshMock
func TaskOutput ¶
func TaskOutput(taskId int) *taskOutputMock
func VMsForDeployment ¶
func VMsForDeployment(deploymentName string) *vmsForDeploymentMock
Types ¶
Click to show internal directories.
Click to hide internal directories.