Sha256: d6d0f125b116e0135983b0933557eab58449178e648c9590b50028c853d36da8

Contents?: true

Size: 580 Bytes

Versions: 17

Compression:

Stored size: 580 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'

      def id
        YumImporter::ID
      end

      def repo_type
        YumImporter::REPO_TYPE
      end

      def config
        as_json
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
runcible-2.7.0 lib/runcible/models/yum_importer.rb
runcible-2.6.0 lib/runcible/models/yum_importer.rb
runcible-2.5.0 lib/runcible/models/yum_importer.rb
runcible-2.4.0 lib/runcible/models/yum_importer.rb
runcible-2.3.0 lib/runcible/models/yum_importer.rb
runcible-2.2.0 lib/runcible/models/yum_importer.rb
runcible-1.12.0 lib/runcible/models/yum_importer.rb
runcible-2.1.0 lib/runcible/models/yum_importer.rb
runcible-2.0.1 lib/runcible/models/yum_importer.rb
runcible-2.0.0 lib/runcible/models/yum_importer.rb
runcible-1.11.0 lib/runcible/models/yum_importer.rb
runcible-1.10.0 lib/runcible/models/yum_importer.rb
runcible-1.9.3 lib/runcible/models/yum_importer.rb
runcible-1.9.2 lib/runcible/models/yum_importer.rb
runcible-1.9.1 lib/runcible/models/yum_importer.rb
runcible-1.9.0 lib/runcible/models/yum_importer.rb
runcible-1.8.0 lib/runcible/models/yum_importer.rb