class Greitspitz::Context

Overview

Providers details about the environment and which switches were used when starting the server.

Defined in:

greitspitz/context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def bind_address #

[View source]
def bind_address=(bind_address : String | Nil) #

Allows


[View source]
def log_level : String | Nil #

Returns the log level for the process or Nil when it wasn't explicitly set.


[View source]
def log_level=(log_level : String | Nil) #

Returns the log level for the process or Nil when it wasn't explicitly set.


[View source]
def run=(run : Bool) #

Returns false when the CLI should not run any commands (eg. when printing usage info).


[View source]
def run? : Bool #

Returns false when the CLI should not run any commands (eg. when printing usage info).


[View source]
def storage_access_key_id #

[View source]
def storage_client #

[View source]
def storage_endpoint #

[View source]
def storage_host #

[View source]
def storage_secret_access_key #

[View source]