Skip to main content

AppKindEnum

The AppKindEnum is used to categorize the type of an application version.

class AppKindEnum(enum.Enum):
Native = "native"
Kubernetes = "kubernetes"
Analysis = "analysis"
Data = "data"

# Initialize version
version = AppVersion(
app_id="my-app-id",
version="1.0.0",
title="My Application Title",
description="This Is An Example Edge Application",
icon=ICON,
kind=AppKindEnum.Native,
link="quay.io/enthought/YOUR_IMAGE_NAME_HERE:TAG",
recommended_profile="edge.medium"
)

# Create version
edge.applications.add_app_version(version)

Values

AppKindEnum.Native

The application's version kind is native. Native Applications will use the specified Docker Image when launched.

AppKindEnum.Kubernetes

The application's version kind is kubernetes. Kubernetes Apps are traditional web applications that run in a dedicated namespace on the Edge Kubernetes cluster. They can leverage all the features of the Kubernetes cluster and resources from the underlying cloud provider.

AppKindEnum.Analysis

The application's version kind is Analysis. Built-in application.

AppKindEnum.Data

The application's version kind is Data. Built-in application.