Documentation ¶
Index ¶
- func CreateMultiFileUploadRequest(uri string, files map[string]string, rawFields map[string]string, verbose bool) (*http.Request, error)
- func PollUntilDone(pollURI string, waitInSeconds int, openBrowser bool, verbose bool, ...)
- func PushToCatalog(pushURI string, timeout int, appManifestFile string, verbose bool, ...) (uploadURI string, err error)
- func SubmitToCatalog(submitURI string, timeout int, appManifestFile string, zapFile string, ...) (acceptanceQueryURL string, err error)
- func UploadToFrontend(uploadURI string, zapFile string, appName string, sessionID string, ...) (pollURI string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMultiFileUploadRequest ¶
func CreateMultiFileUploadRequest(uri string, files map[string]string, rawFields map[string]string, verbose bool) (*http.Request, error)
Creates a new file upload http request with optional extra params Source: https://matt.aimonetti.net/posts/2013/07/01/golang-multipart-file-upload-example/
func PollUntilDone ¶
func PollUntilDone(pollURI string, waitInSeconds int, openBrowser bool, verbose bool, openURL func(string) error)
PollUntilDone polls the frontend until the bundling is done, failed, or the timeout passed.
func PushToCatalog ¶
func PushToCatalog(pushURI string, timeout int, appManifestFile string, verbose bool, config config.Config, logger *appixLogger.Logger) (uploadURI string, err error)
PushToCatalog pushes the specified app to the AppCatalog.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.