apps

package module
v0.0.0-...-4c89809 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultProperties is a map of all valid apps properties with corresponding default property values
	DefaultProperties = map[string]string{
		"deploy-source":          "",
		"deploy-source-metadata": "",
	}

	// GlobalProperties is a map of all valid global apps properties
	GlobalProperties = map[string]bool{
		"deploy-source":          true,
		"deploy-source-metadata": true,
	}
)

Functions

func CommandClone

func CommandClone(oldAppName string, newAppName string, skipDeploy bool, ignoreExisting bool) error

CommandClone clones an app

func CommandCreate

func CommandCreate(appName string) error

CommandCreate creates app via command line

func CommandDestroy

func CommandDestroy(appName string, force bool) error

CommandDestroy destroys an app

func CommandExists

func CommandExists(appName string) error

CommandExists checks if an app exists

func CommandList

func CommandList() error

CommandList lists all apps

func CommandLock

func CommandLock(appName string) error

CommandLock locks an app for deployment

func CommandLocked

func CommandLocked(appName string) error

CommandLocked checks if an app is locked for deployment

func CommandRename

func CommandRename(oldAppName string, newAppName string, skipDeploy bool) error

CommandRename renames an app

func CommandReport

func CommandReport(appName string, format string, infoFlag string) error

CommandReport displays an app report for one or more apps

func CommandUnlock

func CommandUnlock(appName string) error

CommandUnlock unlocks an app for deployment

func ReportSingleApp

func ReportSingleApp(appName string, format string, infoFlag string) error

ReportSingleApp is an internal function that displays the app report for one or more apps

func TriggerAppCreate

func TriggerAppCreate(appName string) error

TriggerAppCreate is a trigger to create an app

func TriggerAppDestroy

func TriggerAppDestroy(appName string) error

TriggerAppDestroy is a trigger to destroy an app

func TriggerAppExists

func TriggerAppExists(appName string) error

TriggerAppExists is a trigger to check if an app exists

func TriggerAppMaybeCreate

func TriggerAppMaybeCreate(appName string) error

TriggerAppMaybeCreate is a trigger to allow gated app creation

func TriggerDeploySourceSet

func TriggerDeploySourceSet(appName string, sourceType string, sourceMetadata string) error

TriggerDeploySourceSet sets the current deploy source

func TriggerInstall

func TriggerInstall() error

TriggerInstall runs the install step for the apps plugin

func TriggerPostAppCloneSetup

func TriggerPostAppCloneSetup(oldAppName string, newAppName string) error

TriggerPostAppCloneSetup creates new apps files

func TriggerPostAppRename

func TriggerPostAppRename(oldAppName string, newAppName string) error

TriggerPostAppRename removes the old app data

func TriggerPostAppRenameSetup

func TriggerPostAppRenameSetup(oldAppName string, newAppName string) error

TriggerPostAppRenameSetup renames apps files

func TriggerPostCreate

func TriggerPostCreate(appName string) error

TriggerPostCreate ensures apps have the correct data directory structure

func TriggerPostDelete

func TriggerPostDelete(appName string) error

TriggerPostDelete destroys the apps data for a given app container

Types

This section is empty.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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