Documentation
¶
Index ¶
- func NewDeployCmd() *cobra.Command
- func RunActivate(opts *Options, args []string) error
- func RunFetch(opts *Options, args []string) error
- func RunPrepare(opts *Options, args []string) (err error)
- func RunUpload(opts *Options, args []string) error
- type ActivateResult
- type CmdType
- type Options
- type PrepareResult
- type UploadResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeployCmd ¶
func RunActivate ¶
func RunPrepare ¶
Types ¶
type ActivateResult ¶
type ActivateResult struct { Deploy struct { From string `json:"from"` Timestamp int64 `json:"timestamp"` InternalRedeploy bool `json:"internalRedeploy"` } `json:"deploy"` Application struct { ID string `json:"id"` Checksum string `json:"checksum"` Generation int `json:"generation"` PreviousActiveGeneration int `json:"previousActiveGeneration"` } `json:"application"` Tenant string `json:"tenant"` SessionID string `json:"session-id"` Message string `json:"message"` URL string `json:"url"` ErrorCode string `json:"error-code"` }
type Options ¶
type PrepareResult ¶
type PrepareResult struct { Log []struct { Time int64 `json:"time"` Level string `json:"level"` Message string `json:"message"` ApplicationPackage bool `json:"applicationPackage"` } `json:"log"` Tenant string `json:"tenant"` SessionID string `json:"session-id"` Activate string `json:"activate"` Message string `json:"message"` ErrorCode string `json:"error-code"` }
type UploadResult ¶
type UploadResult struct { Log []struct { Time int64 `json:"time"` Level string `json:"level"` Message string `json:"message"` ApplicationPackage bool `json:"applicationPackage"` } `json:"log"` Tenant string `json:"tenant"` SessionID string `json:"session-id"` Prepared string `json:"prepared"` Content string `json:"content"` Message string `json:"message"` ErrorCode string `json:"error-code"` }
Click to show internal directories.
Click to hide internal directories.