appcatalog

package
v0.0.0-...-4e1b13b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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.

func SubmitToCatalog

func SubmitToCatalog(submitURI string, timeout int, appManifestFile string, zapFile string, verbose bool, config config.Config, logger *appixLogger.Logger) (acceptanceQueryURL string, err error)

SubmitToCatalog submits the specified app to the AppCatalog.

func UploadToFrontend

func UploadToFrontend(uploadURI string, zapFile string, appName string, sessionID string, verbose bool) (pollURI string, err error)

UploadToFrontend uploads the app package to the frontend for bundling.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL