Sha256: e128ff4786a5d4a7b7bcdc66dbfa5591b53b9c09c75b7630f095fd76eb7a5fe9

Contents?: true

Size: 619 Bytes

Versions: 9

Compression:

Stored size: 619 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.server = 'http://web:7000'
    config.credential_types = {
      dockerhub: 'UffizziCore::Credential::DockerHub',
      azure: 'UffizziCore::Credential::Azure',
      google: 'UffizziCore::Credential::Google',
      amazon: 'UffizziCore::Credential::Amazon',
      github_registry: 'UffizziCore::Credential::GithubContainerRegistry',
    }
    config.default_server = 'app.uffizzi.com'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
uffizzi-cli-0.11.5 config/uffizzi.rb
uffizzi-cli-0.11.4 config/uffizzi.rb
uffizzi-cli-0.11.3 config/uffizzi.rb
uffizzi-cli-0.11.2 config/uffizzi.rb
uffizzi-cli-0.11.1 config/uffizzi.rb
uffizzi-cli-0.11.0 config/uffizzi.rb
uffizzi-cli-0.10.1 config/uffizzi.rb
uffizzi-cli-0.10.0 config/uffizzi.rb
uffizzi-cli-0.9.0 config/uffizzi.rb