class ProjectConfig

Overview

The ProjectConfig class represents the configuration for a project. A project is a collection of events that trigger deployments and are run on a schedule. It includes properties for the project's name, type, location, path, and events.

Included Modules

Defined in:

runway/models/config.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def deployment : DeploymentConfig #

[View source]
def deployment=(deployment : DeploymentConfig) #

[View source]
def events : Array(Event) #

@return [Array(Event)] The array of events for the project.


[View source]
def events=(events : Array(Event)) #

@return [Array(Event)] The array of events for the project.


[View source]
def name : String #

@return [String] The name of the project.


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

@return [String] The name of the project.


[View source]
def uuid : String | Nil #

@return [String, nil] The UUID for the project, or nil if not specified. The application will generate a UUID for the event if one is not provided.


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

@return [String, nil] The UUID for the project, or nil if not specified. The application will generate a UUID for the event if one is not provided.


[View source]