Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.56 KB

File metadata and controls

36 lines (27 loc) · 1.56 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]

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]