edgeapp

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CMDDeploy        = "DEPLOY"
	CMDStopService   = "STOP"
	CMDResumeService = "RESUME"
	CMDUndeploy      = "UNDEPLOY"
	CMDRemove        = "REMOVE"
)

Variables

This section is empty.

Functions

func CompareEdgeAppStatus

func CompareEdgeAppStatus(edgeApps []com.EdgeAppMsg) ([]com.EdgeAppMsg, bool, error)

func DeployEdgeApp

func DeployEdgeApp(man manifest.Manifest) error

func GetEdgeAppLogs

func GetEdgeAppLogs(uniqueID model.ManifestUniqueID, since string, until string) ([]com.ContainerLogMsg, error)

func GetEdgeAppLogsMsg

func GetEdgeAppLogsMsg(manif manifest.ManifestRecord, until string) (com.EdgeAppLogMsg, error)

func GetEdgeAppStatus

func GetEdgeAppStatus() ([]com.EdgeAppMsg, error)

func GetStatusMessage

func GetStatusMessage() (com.StatusMsg, error)

func ReadDeployManifestLocal

func ReadDeployManifestLocal(manifestPath string) error

Read local manifest file provided and deploy it

func RemoveAll

func RemoveAll() error

func RemoveEdgeApp

func RemoveEdgeApp(manifestUniqueID model.ManifestUniqueID, keepImages []string) error

func ResumeEdgeApp

func ResumeEdgeApp(manifestUniqueID model.ManifestUniqueID) error

func SendEdgeAppLogs

func SendEdgeAppLogs(manif manifest.ManifestRecord, until string) error

func SendStatus

func SendStatus() error

func SetNodeStatus

func SetNodeStatus(status string)

func StopEdgeApp

func StopEdgeApp(manifestUniqueID model.ManifestUniqueID) error

func UndeployEdgeApp

func UndeployEdgeApp(manifestUniqueID model.ManifestUniqueID) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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