Documentation ¶
Index ¶
- func AuthUser(c *cli.Context) (http.Client, string, error)
- func CliError(err error) *cli.ExitError
- func ConfluenceWaitForBackupReadyness(client http.Client, host string) (string, error)
- func JiraWaitForBackupReadyness(client http.Client, id string, host string) (string, error)
- type BackupBody
- type PassThru
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CliError ¶
CliError formats provided error into Red colored string and returns cli.NewExitError
func ConfluenceWaitForBackupReadyness ¶
ConfluenceWaitForBackupReadyness check status of a backup and loops until it's ready
Types ¶
type BackupBody ¶
type BackupBody struct { CbAttachments string `json:"cbAttachments"` ExportToCloud string `json:"exportToCloud"` }
BackupBody is a struct for a JSON sent to JIRA/Confluence backup endpoint
Click to show internal directories.
Click to hide internal directories.