参数

参数名字 描述
name
必填

Validations:

  • String

label
选填

Validations:

  • String

product_id
必填

所生成库属于

Validations:

  • number.

content_type
必填

type of repo (either 'yum', 'deb', 'puppet', 'docker', or 'ostree')

Validations:

  • Must be one of: docker, ostree, yum, puppet, file, deb.

url
选填

库源 url

Validations:

  • String

gpg_key_id
选填

要为新库分配的 gpg 密钥 id

Validations:

  • number.

unprotected
选填

如果可通过 HTTP 发布则为 true

Validations:

  • boolean

checksum_type
选填

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

Validations:

  • String

docker_upstream_name
选填

upstream 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:

  • boolean

verify_ssl_on_sync
选填

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

Validations:

  • boolean

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:

  • 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:

  • boolean