class MU::Config::Log

Basket of Kittens config schema and parser logic. See modules/mu/providers/*/log.rb

Public Class Methods

schema() click to toggle source

Base configuration schema for a Log @return [Hash]

# File modules/mu/config/log.rb, line 22
def self.schema
  {
    "type" => "object",
    "additionalProperties" => false,
    "description" => "Log events using a cloud provider's log service.",
    "properties" => {
      "name" => {
        "type" => "string"
      },
      "tags" => MU::Config.tags_primitive,
      "optional_tags" => MU::Config.optional_tags_primitive,
      "region" => MU::Config.region_primitive,
    }
  }
end
validate(_log, _configurator) click to toggle source

Generic pre-processing of {MU::Config::BasketofKittens::logs}, bare and unvalidated. @param _log [Hash]: The resource to process and validate @param _configurator [MU::Config]: The overall deployment configurator of which this resource is a member @return [Boolean]: True if validation succeeded, False otherwise

# File modules/mu/config/log.rb, line 42
def self.validate(_log, _configurator)
  ok = true
  ok
end