Sha256: 517ad98cdc6f7c0107f01b6851648c5980259c5cf810e4170b2cee7f20b878ff

Contents?: true

Size: 629 Bytes

Versions: 4

Compression:

Stored size: 629 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_container_registry: 'UffizziCore::Credential::GithubContainerRegistry',
    }
    config.default_server = 'app.uffizzi.com'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
uffizzi-cli-0.8.0 config/uffizzi.rb
uffizzi-cli-0.7.3 config/uffizzi.rb
uffizzi-cli-0.7.2 config/uffizzi.rb
uffizzi-cli-0.6.0 config/uffizzi.rb