Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.54 KB

File metadata and controls

34 lines (25 loc) · 1.54 KB

ComposeApplication

Properties

Name Type Description Notes
name str The application name must be 1–253 characters long, start with a letter or number, and contain no whitespace. [optional]
app_type AppType
env_vars Dict[str, str] Environment variable key-value pairs, injected during runtime. The key and value each must be between 1 and 253 characters. [optional]
volumes List[ApplicationVolume] List of application volumes. [optional]
image str Reference to the OCI image or artifact for the application package.
inline List[ApplicationContent] A list of application content.

Example

from flightctl.models.compose_application import ComposeApplication

# TODO update the JSON string below
json = "{}"
# create an instance of ComposeApplication from a JSON string
compose_application_instance = ComposeApplication.from_json(json)
# print the JSON string representation of the object
print(ComposeApplication.to_json())

# convert the object into a dict
compose_application_dict = compose_application_instance.to_dict()
# create an instance of ComposeApplication from a dict
compose_application_from_dict = ComposeApplication.from_dict(compose_application_dict)

[Back to Model list] [Back to API list] [Back to README]