Sha256: 45f3699947d3fcf4336938f544b199c24ce56391f863296b581813d003dcd5c9

Contents?: true

Size: 598 Bytes

Versions: 11

Compression:

Stored size: 598 Bytes

Contents

module Runcible
  module Models
    class YumImporter < Importer
      ID = 'yum_importer'.freeze
      REPO_TYPE = 'rpm-repo'.freeze
      DOWNLOAD_IMMEDIATE = 'immediate'.freeze
      DOWNLOAD_ON_DEMAND = 'on_demand'.freeze
      DOWNLOAD_BACKGROUND = 'background'.freeze
      DOWNLOAD_POLICIES = [DOWNLOAD_IMMEDIATE, DOWNLOAD_ON_DEMAND, DOWNLOAD_BACKGROUND].freeze

      attr_accessor 'download_policy', 'type_skip_list'

      def id
        YumImporter::ID
      end

      def repo_type
        YumImporter::REPO_TYPE
      end

      def config
        as_json
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
runcible-2.13.1 lib/runcible/models/yum_importer.rb
runcible-2.13.0 lib/runcible/models/yum_importer.rb
runcible-2.12.1 lib/runcible/models/yum_importer.rb
runcible-2.12.0 lib/runcible/models/yum_importer.rb
runcible-2.11.1 lib/runcible/models/yum_importer.rb
runcible-2.11.0 lib/runcible/models/yum_importer.rb
runcible-2.10.1 lib/runcible/models/yum_importer.rb
runcible-2.10.0 lib/runcible/models/yum_importer.rb
runcible-2.9.0 lib/runcible/models/yum_importer.rb
runcible-2.8.1 lib/runcible/models/yum_importer.rb
runcible-2.8.0 lib/runcible/models/yum_importer.rb