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: 0

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