Red Hat Training

A Red Hat training course is available for Red Hat Satellite

11.21. lookupFileInfo

名前
lookupFileInfo
説明
パスとチャンネルのリストを指定すると、最新バージョンのパスの詳細を返します。
利用可能バージョン: 10.2 以降
パラメーター
  • string sessionKey
  • string channelLabel - ルックアップする設定チャンネルのラベル
  • array:
    • string - 調べるパスの一覧
戻り値
  • array:
    • struct - Configuration Revision information
      • string type
        • file
        • directory
        • symlink
      • string path - ファイルのパス
      • string target_path - シンボリックリンクのターゲットファイルパス。シンボリックリンクにのみ存在。
      • string channel - チャンネル名
      • string contents - ファイルコンテンツ (contents_enc64 属性に従った base64 エンコード化)
      • boolean contents_enc64 - base64 でエンコード化されたコンテンツを特定
      • int revision - ファイル改訂
      • dateTime.iso8601 creation - 作成日
      • dateTime.iso8601 modified - 最終修正日
      • string owner - ファイル所有者。ファイルまたはディレクトリーにのみ存在。
      • string group - ファイルグループ。ファイルまたはディレクトリーにのみ存在。
      • int permissions - ファイルのパーミッション (廃止予定)。ファイルまたはディレクトリーにのみ存在。
      • string permissions_mode - ファイルのパーミッション。ファイルまたはディレクトリーにのみ存在。
      • string selinux_ctx - SELinux コンテキスト (オプション)。
      • boolean binary - true/false、ファイルにのみ存在。
      • string sha256 - ファイルの sha256 署名。ファイルにのみ存在。
      • string macro-start-delimiter - 設定ファイルのマクロ開始区切り文字。テキストファイルにのみ存在。
      • string macro-end-delimiter - 設定ファイルのマクロ終了区切り文字。テキストファイルにのみ存在。