Red Hat Training

A Red Hat training course is available for Red Hat Satellite

11.14. getEncodedFileRevision

名前
getEncodedFileRevision
説明
指定された設定ファイルのバージョンを取得し、base64 エンコード化したコンテンツを送信します。
パラメーター
  • string sessionKey
  • string configChannelLabel - ルックアップする設定チャンネルのラベル
  • string filePath - 調べる設定ファイルのパス
  • int revision - 調べる設定ファイルのバージョン
戻り値
  • 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 - 設定ファイルのマクロ終了区切り文字。テキストファイルにのみ存在。