検索

2.69. hammer repository-set

download PDF

サーバーでリポジトリーセットを操作します。

Usage:
    hammer repository-set [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 available-repositories        Get list of available repositories for the repository set
 disable                       Disable a repository from the set
 enable                        Enable a repository from the set
 info, show                    Get info about a repository set
 list, index                   List repository sets.

Options:
 -h, --help                    Print help

2.69.1. hammer repository-set available-repositories

リポジトリーセットの利用可能なリポジトリーの一覧を取得します。

Usage:
    hammer repository-set available-repositories [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID                                 ID of the repository set
 --name NAME                             Repository set name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 ID of a product to list repository sets from
 -h, --help                              Print help

Predefined field sets:
  --------------|-----|---------|-----
  FIELDS        | ALL | DEFAULT | THIN
  --------------|-----|---------|-----
  Name          | x   | x       | x
  Arch          | x   | x       |
  Release       | x   | x       |
  Registry name | x   | x       |
  Enabled       | x   | x       |
  --------------|-----|---------|-----

2.69.2. hammer repository-set disable

セットのリポジトリーを無効にします

Usage:
    hammer repository-set disable [OPTIONS]

Options:
 --basearch BASEARCH                     Basearch to disable
 --id ID                                 ID of the repository set to disable
 --name NAME                             Repository set name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 ID of the product containing the repository set
 --releasever RELEASEVER                 Releasever to disable
 -h, --help                              Print help

2.69.3. hammer repository-set enable

セットのリポジトリーを有効にします

Usage:
    hammer repository-set enable [OPTIONS]

Options:
 --basearch BASEARCH                     Basearch to enable
 --id ID                                 ID of the repository set to enable
 --name NAME                             Repository set name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 ID of the product containing the repository set
 --releasever RELEASEVER                 Releasever to enable
 -h, --help                              Print help

2.69.4. hammer repository-set info

リポジトリーセットの情報を取得します。

Usage:
    hammer repository-set <info|show> [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID                                 ID of the repository set
 --name NAME                             Repository set name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --product PRODUCT_NAME                  Product name to search by
 --product-id PRODUCT_ID                 ID of a product to list repository sets from
 -h, --help                              Print help

Predefined field sets:
  --------------------------|-----|---------|-----
  FIELDS                    | ALL | DEFAULT | THIN
  --------------------------|-----|---------|-----
  Id                        | x   | x       | x
  Name                      | x   | x       | x
  Type                      | x   | x       |
  Url                       | x   | x       |
  Gpg key                   | x   | x       |
  Label                     | x   | x       |
  Enabled repositories/id   | x   | x       |
  Enabled repositories/name | x   | x       |
  --------------------------|-----|---------|-----

2.69.5. hammer repository-set list

リポジトリーセットを一覧で表示します。

Usage:
    hammer repository-set <list|index> [OPTIONS]

Options:
 --activation-key ACTIVATION_KEY_NAME                Activation key name to search by
 --activation-key-id ACTIVATION_KEY_ID               Activation key identifier
 --content-access-mode-all CONTENT_ACCESS_MODE_ALL   Get all content available, not just that provided by subscriptions. Relevant for Activation Keys only
                                                     One of true/false, yes/no, 1/0.
 --content-access-mode-env CONTENT_ACCESS_MODE_ENV   Limit content to just that available in the activation key's content view version. Relevant for Activation Keys only
                                                     One of true/false, yes/no, 1/0.
 --enabled ENABLED                                   If true, only return repository sets that have been enabled. Defaults to false
                                                     One of true/false, yes/no, 1/0.
 --fields FIELDS                                     Show specified fields or predefined field sets only. (See below)
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                     JSON is acceptable and preferred way for complex parameters
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0.
 --host HOST_NAME                                    Host name
 --host-id HOST_ID                                   Id of the host
 --name NAME                                         Repository set name to search on
 --order ORDER                                       Sort field and order, eg. 'id DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization identifier
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --organization-title ORGANIZATION_TITLE             Organization title
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --product PRODUCT_NAME                              Product name to search by
 --product-id PRODUCT_ID                             ID of a product to list repository sets from
 --search SEARCH                                     Search string
 --with-active-subscription WITH_ACTIVE_SUBSCRIPTION If true, only return repository sets that are associated with an active subscriptions
                                                     One of true/false, yes/no, 1/0.
 --with-custom WITH_CUSTOM                           If true, return custom repository sets along with redhat repos
                                                     One of true/false, yes/no, 1/0.
 -h, --help                                          Print help

Predefined field sets:
  -------|-----|---------|-----
  FIELDS | ALL | DEFAULT | THIN
  -------|-----|---------|-----
  Id     | x   | x       | x
  Type   | x   | x       |
  Name   | x   | x       | x
  -------|-----|---------|-----

Search / Order fields:
  content_label       string
  content_type        string
  enabled_by_default  Values: true, false
  label               string
  name                string
  path                string
  product_id          integer
  product_name        string
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.