upload

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(paths []string, options map[string]string, endpoint string, timeout int, retries int, overwrite bool,
	apiKey string) error

func BuildUploadOptions

func BuildUploadOptions(apiKey string, uuid string, platform string, overwrite bool, appVersion string, appExtraVersion string) map[string]string

BuildUploadOptions - Builds the upload options for processing dart files

func Dart

func Dart(paths []string, appVersion string, appVersionCode string, appBundleVersion string, iosAppPath string, endpoint string, timeout int, retries int, overwrite bool, apiKey string) error

func DwarfDumpUuid

func DwarfDumpUuid(symbolFile string, dwarfFile string, arch string) (string, error)

DwarfDumpUuid - Gets the UUID/Build ID from the Dwarf debug info of a file for a given Arch

func GetArchFromElfFile

func GetArchFromElfFile(symbolFile string) (string, error)

GetArchFromElfFile - Gets the Arch from the symbol file to help with getting the UUID from the built iOS app

func GetBuildIdFromElfFile

func GetBuildIdFromElfFile(symbolFile string) (string, error)

GetBuildIdFromElfFile - Gets the build ID from the symbol file

func GetIosAppPath

func GetIosAppPath(symbolFile string) (string, error)

GetIosAppPath - Gets the path to the built iOS app relative to the symbol files

func ReadElfFile

func ReadElfFile(symbolFile string) (*elf.File, error)

ReadElfFile - Gets all data from the symbol file

Types

type DartSymbol

type DartSymbol struct {
	Path             utils.UploadPaths `arg:"" name:"path" help:"Path to directory or file to upload" type:"path"`
	AppVersion       string            `help:"(optional) the version of the application."`
	AppVersionCode   string            `help:"(optional) the version code for the application (Android only)."`
	AppBundleVersion string            `help:"(optional) the bundle version for the application (iOS only)."`
	IosAppPath       string            `help:"(optional) the path to the built iOS app."`
}

type DiscoverAndUploadAny

type DiscoverAndUploadAny struct {
	Path          utils.UploadPaths `arg:"" name:"path" help:"Path to directory or file to upload" type:"path"`
	UploadOptions map[string]string `help:"additional arguments to pass to the upload request" mapsep:","`
}

Jump to

Keyboard shortcuts

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