Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.63 KB

OciRepoSpec.md

File metadata and controls

40 lines (31 loc) · 2.63 KB

OciRepoSpec

OCI container registry specification.

Properties

Name Type Description Notes
registry str The OCI registry hostname, FQDN, or IP address with optional port (e.g., quay.io, registry.redhat.io, myregistry.com:5000, 192.168.1.1:5000, [::1]:5000).
scheme str URL scheme for connecting to the registry. [optional] [default to 'https']
type str The repository type discriminator.
access_mode str Access mode for the registry: "Read" for read-only (pull), "ReadWrite" for read-write (pull and push). [optional] [default to 'Read']
oci_auth DockerAuth [optional]
ca_crt str Base64 encoded root CA. [optional]
skip_server_verification bool Skip remote server verification. [optional]
repository str Optional OCI repository path under spec.registry (e.g. my-org/diffs). When set, this object is that repo (`my-registry.com/my-org/diffs`), not only a registry. Mutually exclusive with namespace. ImageBuild destination imageName must equal this value. [optional]
namespace str Optional org/subpath under spec.registry (e.g. my-org). Concrete names are spec.registry/namespace/<name>. Mutually exclusive with repository. Used by delta push (`{registry}/{namespace}/{imageName}`). Invalid on an ImageBuild or ImageExport destination Repository. [optional]
delta_storage_target bool When true, generated deltas are pushed to this object (at most one per org). Auth is the existing ociAuth / accessMode. Placement follows repository / namespace / registry-only as above. [optional]
base_images List[BaseImageEntry] Curated list of trusted base images available in this registry. When present, the Image Builder source picker surfaces these entries as selectable options. [optional]

Example

from flightctl.models.oci_repo_spec import OciRepoSpec

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

# convert the object into a dict
oci_repo_spec_dict = oci_repo_spec_instance.to_dict()
# create an instance of OciRepoSpec from a dict
oci_repo_spec_from_dict = OciRepoSpec.from_dict(oci_repo_spec_dict)

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