class MU::Config::NoSQLDB
Basket of Kittens config schema and parser logic. See modules/mu/providers/*/nosqldb.rb
Public Class Methods
schema()
click to toggle source
Base configuration schema for a Bucket
@return [Hash]
# File modules/mu/config/nosqldb.rb, line 22 def self.schema { "type" => "object", "additionalProperties" => false, "description" => "A simple storage bucket, like Google Cloud Storage or Amazon S3.", "properties" => { "name" => { "type" => "string" }, "region" => MU::Config.region_primitive, "credentials" => MU::Config.credentials_primitive } } end
validate(_db, _configurator)
click to toggle source
Generic pre-processing of {MU::Config::BasketofKittens::nosqldbs}, bare and unvalidated. @param _db [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/nosqldb.rb, line 41 def self.validate(_db, _configurator) ok = true ok end