Sha256: 0e0482cf94c0ecf2b0c4fb1afde8ca2f8f7908f0b004fb97a9642300ee9c350b

Contents?: true

Size: 500 Bytes

Versions: 8

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

require 'ostruct'

module Uffizzi
  def self.configuration
    @configuration ||= OpenStruct.new
  end

  def self.configure
    yield(configuration)
  end

  configure do |config|
    config.hostname = 'http://web:7000'
    config.credential_types = {
      dockerhub: 'UffizziCore::Credential::DockerHub',
      azure: 'UffizziCore::Credential::Azure',
      google: 'UffizziCore::Credential::Google',
      amazon: 'UffizziCore::Credential::Amazon',
    }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
uffizzi-cli-0.4.0 config/uffizzi.rb
uffizzi-cli-0.3.8 config/uffizzi.rb
uffizzi-cli-0.3.7 config/uffizzi.rb
uffizzi-cli-0.3.6 config/uffizzi.rb
uffizzi-cli-0.3.5 config/uffizzi.rb
uffizzi-cli-0.3.4 config/uffizzi.rb
uffizzi-cli-0.3.3 config/uffizzi.rb
uffizzi-cli-0.3.2 config/uffizzi.rb