processes

package
v0.0.0-...-fa22197 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootstrapEnv

func BootstrapEnv(appconf *config.AppConfig)

func CheckIAMPolicies

func CheckIAMPolicies() error

func FetchPackage

func FetchPackage(meta *marketplace.MarketplaceMetadata, appConfig *config.AppConfig) (string, error)

func InstallMarketplaceApplication

func InstallMarketplaceApplication(conn *websocket.WebSocketManager, userid string, appConfig *config.AppConfig, meta *marketplace.MarketplaceMetadata, location string, install *marketplace.Install, db database.Datastore) error

func ProcessSimpleMessage

func ProcessSimpleMessage(message *marketplace.SimpleMessage, conf *config.AppConfig, store database.Datastore, wsmgr *websocket.WebSocketManager, userid string) ([]byte, error)

func ReapplyApplication

func ReapplyApplication(payload string, conf *config.AppConfig, store database.Datastore, wsmgr *websocket.WebSocketManager, userid string) error

func RunSync

func RunSync()

func TriggerInstall

func TriggerInstall(wsManager *websocket.WebSocketManager, userid string, store database.Datastore, received *marketplace.Install, conf *config.AppConfig) error

func TriggerUninstall

func TriggerUninstall(wsManager *websocket.WebSocketManager, userid string, store database.Datastore, received *marketplace.Uninstall, conf *config.AppConfig) error

func UninstallAll

func UninstallAll(conf *config.AppConfig, conn *websocket.WebSocketManager, userid string) error

func UninstallApplication

func UninstallApplication(appname string, deploymentname string, displayname string, conf *config.AppConfig, store database.Datastore, conn *websocket.WebSocketManager, userid string) error

func UpdateCoreConfig

func UpdateCoreConfig(appConfig *config.AppConfig, db database.Datastore, websocketmgr *websocket.WebSocketManager, userid string) error

func UpdateParameters

func UpdateParameters(params *marketplace.Parameters, store database.Datastore, appconf *config.AppConfig, wsmgr *websocket.WebSocketManager, userid string)

func ValidateMarketplaceInstallation

func ValidateMarketplaceInstallation(name string, version string, appConfig *config.AppConfig) (bool, marketplace.MarketplaceMetadata, error)

Types

type UninstallPayload

type UninstallPayload struct {
	Application        string
	DisplayName        string
	ApplicationPackage string
	Deployment         string
}

Jump to

Keyboard shortcuts

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