RepositorySpec describes a configuration repository.
| Name | Type | Description | Notes |
|---|---|---|---|
| url | str | The HTTP URL to call. | |
| type | str | The repository type discriminator. | |
| http_config | HttpConfig | [optional] | |
| ssh_config | SshConfig | [optional] | |
| validation_suffix | str | URL suffix used only for validating access to the repository. Users might use the URL field as a root URL to be used by config sources adding suffixes. This will help with the validation of the http endpoint. | [optional] |
| 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'] |
| 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] |
from flightctl.models.repository_spec import RepositorySpec
# TODO update the JSON string below
json = "{}"
# create an instance of RepositorySpec from a JSON string
repository_spec_instance = RepositorySpec.from_json(json)
# print the JSON string representation of the object
print(RepositorySpec.to_json())
# convert the object into a dict
repository_spec_dict = repository_spec_instance.to_dict()
# create an instance of RepositorySpec from a dict
repository_spec_from_dict = RepositorySpec.from_dict(repository_spec_dict)