package
0.0.0-20220225214001-f628d08dd6c9
Repository: https://github.com/cloudor-io/cloudctl.git
Documentation: pkg.go.dev
# Functions
AddJobStatus add a stage to job's runtime info.
GetCloudor issues a Get to ServerURL.
GetJobDuration gets the elapsed time in second between finished/failed to started.
GetMD5 returns a md5 of a file.
GetStatusTs returns the unix time in second for a status.
LastStatus gets the last stage's status.
LoginHandler handles login requets.
PostCloudor issues a POST to ServerURL.
No description provided by the author
# Structs
No description provided by the author
CreateRequest defines the create request.
CreditSchema defines the credit interface.
Instance specifies instance features.
No description provided by the author
No description provided by the author
JobStatus is used for streaming job status to the client.
No description provided by the author
No description provided by the author
LoginResponse defines the body from login request.
RunJobMessage is the structured data structure for communication.
RunJobRequest defines the request for running a job.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SupportedOSArch defines a supported os/arch pairs.
TransInfo defines a transaction.
TransSchema defines the json returned from transaction list.
# Type aliases
Vendors defines a multi-level map of vendor instances vendor_name -> region -> instance_type -> Instance.