SnapPart¶
-
class
starlark_tugger.SnapPart¶ The
SnapParttype represents a part entry in asnapcraft.yamlfile. Specifically, this type represents the values ofparts.<part-name>keys.See https://snapcraft.io/docs/snapcraft-yaml-reference for more documentation.
Instances of
SnapPartexpose attributes that map to the keys withinparts.<part-name>entries insnapcraft.yamlconfiguration files.Currently the attributes are write only.
Setting an attribute value to
Nonehas the side-effect of removing that attribute from the serializedsnapcraft.yamlfile.See https://snapcraft.io/docs/snapcraft-yaml-reference for detailed documentation about what each attribute means.
-
__init__() → SnapPart¶ SnapPart()creates an empty instance. It accepts no arguments.
-
after¶ (
Optional[list[str]])
-
build_attributes¶ (
Optional[list[str]])
-
build_environment¶ (
Optional[list[dict[str, str]]])
-
build_packages¶ (
Optional[list[str]])
-
build_snaps¶ (
Optional[list[str]])
-
filesets¶ (
Optional[dict[str, list[str]]])
-
organize¶ (
Optional[dict[str, str]])
-
override_build¶ (
Optional[str])
-
override_prime¶ (
Optional[str])
-
override_pull¶ (
Optional[str])
-
override_stage¶ (
Optional[str])
-
parse_info¶ (
Optional[str])
-
plugin¶ (
Optional[str])
-
prime¶ (
Optional[list[str]])
-
source_branch¶ (
Optional[str])
-
source_checksum¶ (
Optional[str])
-
source_commit¶ (
Optional[str])
-
source_depth¶ (
Optional[int])
-
source_subdir¶ (
Optional[str])
-
source_tag¶ (
Optional[str])
-
source_type¶ (
Optional[str])
-
source¶ (
Optional[str])
-
stage_packages¶ (
Optional[list[str]])
-
stage_snaps¶ (
Optional[list[str]])
-
stage¶ (
Optional[list[str]])
-