class Configuration::Models::DatastoreConfig::Etcd

Included Modules

Defined in:

configuration/models/datastore_config/etcd.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(snapshot_retention : Int64 = 24, snapshot_schedule_cron : String = "0 * * * *", s3_enabled : Bool = false, s3_endpoint : String = "", s3_region : String = "", s3_bucket : String = "", s3_folder : String = "", s3_access_key : String = "", s3_secret_key : String = "", s3_force_path_style : Bool = false) #

[View source]

Instance Method Detail

def generate_etcd_args : String #

[View source]
def s3_access_key : String #

[View source]
def s3_access_key_with_env_fallback : String #

[View source]
def s3_bucket : String #

[View source]
def s3_bucket_with_env_fallback : String #

[View source]
def s3_configured? : Bool #

[View source]
def s3_enabled : Bool #

[View source]
def s3_endpoint : String #

[View source]
def s3_endpoint_with_env_fallback : String #

[View source]
def s3_folder : String #

[View source]
def s3_force_path_style : Bool #

[View source]
def s3_region : String #

[View source]
def s3_region_with_env_fallback : String #

[View source]
def s3_secret_key : String #

[View source]
def s3_secret_key_with_env_fallback : String #

[View source]
def snapshot_retention : Int64 #

[View source]
def snapshot_schedule_cron : String #

[View source]