class AzuCLI::Generate::JoobQ

Overview

JoobQ initializer generator Sets up JoobQ configuration and initializer files for existing projects

Defined in:

azu_cli/generators/joobq.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(project_name : String, redis_url : String = "redis://localhost:6379", default_queue : String = "default", workers : Int32 = 3, create_example_job : Bool = true, example_job_name : String = "ExampleJob") #

[View source]

Instance Method Detail

def ____collect_files(____files) #
Description copied from class Teeplate::FileTree

:nodoc:


[View source]
def __ecr0(____io) #

[View source]
def __ecr2(____io) #

[View source]
def __ecr4(____io) #

[View source]
def __ecr6(____io) #

[View source]
def __ecr8(____io) #

[View source]
def config_file_path : String #

Generate configuration file path


[View source]
def create_example_job : Bool #

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

[View source]
def default_queue : String #

[View source]
def default_queue=(default_queue : String) #

[View source]
def example_job_name : String #

[View source]
def example_job_name=(example_job_name : String) #

[View source]
def initializer_file_path : String #

Generate initializer file path


[View source]
def jobs_directory : String #

Generate jobs directory


[View source]
def project_name : String #

[View source]
def project_name=(project_name : String) #

[View source]
def redis_url : String #

[View source]
def redis_url=(redis_url : String) #

[View source]
def worker_file_path : String #

Generate worker file path


[View source]
def workers : Int32 #

[View source]
def workers=(workers : Int32) #

[View source]