Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.64 KB

ImageSpec.md

File metadata and controls

32 lines (23 loc) · 1.64 KB

ImageSpec

Reference to an OCI image or artifact with tag.

Properties

Name Type Description Notes
image str Reference to an OCI image or artifact with tag.
delta_image str Optional hint: a reference to a delta artifact for the main image. Set by the control plane when a successful delta generation record exists for the current-to-target digest transition. Read-only: generated by the control plane and only present in the rendered application spec delivered to the agent. [optional] [readonly]
delta_images List[ImageDeltaHint] Optional hints for nested images within this application (e.g. service images in a compose app, OCI volume images). Each entry identifies a target image reference and digest and names its delta artifact reference. Read-only: generated by the control plane and only present in the rendered application spec delivered to the agent. [optional] [readonly]

Example

from flightctl.models.image_spec import ImageSpec

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

# convert the object into a dict
image_spec_dict = image_spec_instance.to_dict()
# create an instance of ImageSpec from a dict
image_spec_from_dict = ImageSpec.from_dict(image_spec_dict)

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