參數

參數名字 描述
id
必填

軟體庫 ID

Validations:

  • Must be a number.

name
選填

Validations:

  • String

url
選填

軟體庫來源的網址

Validations:

  • String

gpg_key_id
選填

要指定給新軟體庫的GPG 金鑰之 ID

Validations:

  • Must be a number.

ssl_ca_cert_id
選填

Idenifier of the SSL CA Cert

Validations:

  • Must be a number.

ssl_client_cert_id
選填

Identifier of the SSL Client Cert

Validations:

  • Must be a number.

ssl_client_key_id
選填

Identifier of the SSL Client Key

Validations:

  • Must be a number.

unprotected
選填

如果此軟體庫可以透過 HTTP 出版,設為真

Validations:

  • Must be one of: true, false, 1, 0

checksum_type
選填

checksum of the repository, currently 'sha1' & 'sha256' are supported.

Validations:

  • String

docker_upstream_name
選填

上游 docker 軟體庫的名稱

Validations:

  • String

download_policy
選填

download policy for yum repos (either 'immediate', 'on_demand', or 'background')

Validations:

  • Must be one of: immediate, on_demand, background.

mirror_on_sync
選填

true if this repository when synced has to be mirrored from the source and stale rpms removed.

Validations:

  • Must be one of: true, false, 1, 0

verify_ssl_on_sync
選填

if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA.

Validations:

  • Must be one of: true, false, 1, 0

upstream_username
選填

Username of the upstream repository user used for authentication

Validations:

  • String

upstream_password
選填

Password of the upstream repository user used for authentication

Validations:

  • String

ostree_upstream_sync_policy
選填

policies for syncing upstream ostree repositories.

Validations:

  • Must be one of: latest, all, custom.

ostree_upstream_sync_depth
選填

if a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided.

Validations:

  • Must be a number.

deb_releases
選填

comma separated list of releases to be synched from deb-archive

Validations:

  • String

deb_components
選填

comma separated list of repo components to be synched from deb-archive

Validations:

  • String

deb_architectures
選填

comma separated list of architectures to be synched from deb-archive

Validations:

  • String

ignore_global_proxy
選填

if true, will ignore the globally configured proxy when syncing.

Validations:

  • Must be one of: true, false, 1, 0

ignorable_content
選填

List of content units to ignore while syncing a yum repository. Must be subset of rpm,drpm,srpm,distribution,erratum

Validations:

  • Must be an array of any type