SnapApp
¶
-
class
starlark_tugger.
SnapApp
¶ The
SnapApp
type represents an application entry in asnapcraft.yaml
file. Specifically, this type represents the values ofapps.<app-name>
keys.See https://snapcraft.io/docs/snapcraft-yaml-reference for more documentation.
Instances of
SnapApp
expose attributes that map to the keys withinapps.<app-name>
entries insnapcraft.yaml
configuration files.Currently the attributes are write only.
Setting an attribute value to
None
has the side-effect of removing that attribute from the serializedsnapcraft.yaml
file.See https://snapcraft.io/docs/snapcraft-yaml-reference for detailed documentation about what each attribute means.
-
__init__
() → SnapApp¶ SnapApp()
creates an empty instance. It accepts no arguments.
-
adapter
¶ (
Optional[str]
)
-
autostart
¶ (
Optional[str]
)
-
command_chain
¶ (
Optional[list[str]]
)
-
command
¶ (
Optional[str]
)
-
common_id
¶ (
Optional[str]
)
-
daemon
¶ (
Optional[str]
)
-
desktop
¶ (
Optional[str]
)
-
environment
¶ (
Optional[list[str]]
)
-
extensions
¶ (
Optional[list[str]]
)
-
listen_stream
¶ (
Optional[str]
)
-
passthrough
¶ (
Optional[dict[str, str]]
)
-
plugs
¶ (
Optional[list[str]]
)
-
post_stop_command
¶ (
Optional[str]
)
-
restart_condition
¶ (
Optional[str]
)
-
slots
¶ (
Optional[list[str]]
)
-
stop_command
¶ (
Optional[str]
)
-
stop_timeout
¶ (
Optional[str]
)
-
timer
¶ (
Optional[str]
)
-
socket_mode
¶ (
Optional[int]
)
-
socket
¶ (
Optional[dict[str]]
)
-