Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.66 KB

DeviceOsSpec.md

File metadata and controls

32 lines (23 loc) · 1.66 KB

DeviceOsSpec

Either a specific OCI image reference, or a reference to a catalog item version that can be resolved to an OCI image ref.

Properties

Name Type Description Notes
image str Reference to an OCI image or artifact with tag. [optional]
catalog_item_ref CatalogItemRefSpec [optional]
delta_image str Optional hint: a reference to a delta artifact the control plane's generation records indicate may be applicable to reach `image` from this device's current image. Absent does not imply no delta exists — the device independently discovers candidate delta artifacts (e.g. deltas published by a customer's own CI) regardless of this field, and falls back to a full pull only if none is usable. Read-only: generated by the control plane and only present in the rendered device spec delivered to the agent. [optional] [readonly]

Example

from flightctl.models.device_os_spec import DeviceOsSpec

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

# convert the object into a dict
device_os_spec_dict = device_os_spec_instance.to_dict()
# create an instance of DeviceOsSpec from a dict
device_os_spec_from_dict = DeviceOsSpec.from_dict(device_os_spec_dict)

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