debian-forge-composer/internal/osbuild2
Achilleas Koutsou 756d5b063f osbuild2: new schema types: stages, inputs, sources
Adding new types and adapting copies of all the old types to match the
new Manifest schema:

New types:
- Stages
    - org.osbuild.ostree.init
    - org.osbuild.ostree.pull
    - org.osbuild.ostree.preptree (replaces org.osbuild.rpm-ostree)
    - org.osbuild.curl
- Converted from assemblers
    The concept of a Build and Assembler stage in gone now. Instead they
    are regular Stages like any other.
    - org.osbuild.oci-archive
    - org.osbuild.ostree.commit
- Sources
    - org.osbuild.curl
    - org.osbuild.ostree
- Inputs
    - org.osbuild.files
    - org.osbuild.ostree

Types with changes:
- Stages
    - org.osbuild.rpm:
        - New input structure for defining packages
        - New options

Basically copies:
- The rest simply rename the `Name` field to `Type`

Decoding types with interface fields:
Types that contain interfaces with multiple implementations implement
their own UnmarshalJSON method.  In these cases, we use a JSON decoder
with the `DisallowUnknownFields` option to catch errors during the
deserialization while trying to determine which implementation matches
the data.

Copied tests for copied types are adapted accordingly.
2021-03-17 18:12:17 +00:00
..
chrony_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
chrony_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
curl_source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
files_input.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
firewall_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
firewall_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
first_boot_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
first_boot_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fix_bls_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fix_bls_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fstab_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fstab_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
groups_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
groups_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
grub2_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
grub2_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
hostname_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
hostname_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
kernel_cmdline_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
kernel_cmdline_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
keymap_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
keymap_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
locale_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
locale_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
oci_archive_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
osbuild.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
osbuild_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_commit_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_init_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_input.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_preptree_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_pull_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
result.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
result_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
rhsm_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
rhsm_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
rpm_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
rpm_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
script_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
script_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
selinux_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
selinux_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
source_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sysconfig_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sysconfig_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
systemd_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
systemd_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
timezone_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
timezone_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
tree_input.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
users_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
users_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
zipl_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
zipl_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00