deploymentService

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2017 License: MIT Imports: 25 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	MANIFEST_FILE_NAME = "manifest.json"
	CONTENTS_NAME      = "contents"

	BUNDLE_IOS     = "main.jsbundle"
	BUNDLE_ANDROID = "android.bundle"
	PATCH_FILE_EXT = ".patch"

	PACKAGE_TYPE_IOS = iota + 1
	PACKAGE_TYPE_ANDROID
)

Variables

This section is empty.

Functions

func AddDeployment

func AddDeployment(user *model.User, appName, deploymentName string) (*dto.Deployment, error)

func DeleteDeployment

func DeleteDeployment(uid uint64, appName, deploymentName string) error

func DeleteDeploymentHistory

func DeleteDeploymentHistory(uid uint64, appName, deploymentName string) error

func GetDeploymentHistories

func GetDeploymentHistories(uid uint64, appName, deploymentName string) ([]*dto.Package, error)

func GetDeploymentMetrics

func GetDeploymentMetrics(uid uint64, appName, deploymentName string) (map[string]*dto.PackageMetrics, error)

func GetDeployments

func GetDeployments(uid uint64, appName string) ([]*dto.Deployment, error)

func PromoteDeployment

func PromoteDeployment(user *model.User, cache cache.Cache, appName, sourceDeploymentName, destDeploymentName string) error

func ReleaseDeployment

func ReleaseDeployment(user *model.User,
	cache cache.Cache,
	appName,
	deploymentName,
	fileType,
	fileName string,
	packageFile io.Reader,
	packageInfo *forms.PackageInfo) error

func RenameDeployment

func RenameDeployment(uid uint64, appName, deploymentName, newDeploymentName string) error

func RollbackDeployment

func RollbackDeployment(user *model.User, cache cache.Cache, appName, deploymentName, targetLabel string) error

func UpdateDeploymentPackage

func UpdateDeploymentPackage(uid uint64, appName, deploymentName string, packageInfo *forms.PackageInfo) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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