Sha256: 7c43784ab608321d2cdfa869921bd2d523046dc077730cf8c9e9235d9db03f20

Contents?: true

Size: 1.26 KB

Versions: 7

Compression:

Stored size: 1.26 KB

Contents

# frozen_string_literal: true

# Standard Library requirements
require "base64"
require "resolv"
require "securerandom"
require "time"
require "logger"

# External requirements
require "sinatra/base"
require "sinatra/custom_logger"

# The top-level module for Metatron
module Metatron
  class Error < StandardError; end
  class ConfigError < Error; end

  LOGGER = Logger.new($stdout)

  # Set up log level
  LOGGER.level = ENV.fetch("LOG_LEVEL", :warn)
end

# Internal requirements
require "metatron/version"
require "metatron/template"
require "metatron/templates/concerns/annotated"
require "metatron/templates/concerns/namespaced"
require "metatron/templates/concerns/pod_producer"
require "metatron/templates/container"
require "metatron/templates/job"
require "metatron/templates/cron_job"
require "metatron/templates/pod"
require "metatron/templates/persistent_volume_claim"
require "metatron/templates/deployment"
require "metatron/templates/ingress"
require "metatron/templates/namespace"
require "metatron/templates/replica_set"
require "metatron/templates/config_map"
require "metatron/templates/secret"
require "metatron/templates/service"
require "metatron/templates/stateful_set"
require "metatron/controller"
require "metatron/sync_controller"
require "metatron/controllers/ping"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
metatron-0.2.6 lib/metatron.rb
metatron-0.2.5 lib/metatron.rb
metatron-0.2.4 lib/metatron.rb
metatron-0.2.3 lib/metatron.rb
metatron-0.2.2 lib/metatron.rb
metatron-0.2.1 lib/metatron.rb
metatron-0.2.0 lib/metatron.rb