class DeploymentConfig

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 cmd : Array(String) | Nil #

@return [Array(String)] The arguments to pass to the command.


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

@return [Array(String)] The arguments to pass to the command.


[View source]
def entrypoint : String | Nil #

@return [String] The command/entrypoint to run for the project.


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

@return [String] The command/entrypoint to run for the project.


[View source]
def location : String | Nil #

@return [String] The location of the project.


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

@return [String] The location of the project.


[View source]
def path : String | Nil #

@return [String] The path of the project.


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

@return [String] The path of the project.


[View source]
def remote : RemoteConfig | Nil #

@return [RemoteConfig, nil] The remote configuration for the deployment, or nil if not specified.


[View source]
def remote=(remote : RemoteConfig | Nil) #

@return [RemoteConfig, nil] The remote configuration for the deployment, or nil if not specified.


[View source]
def timeout : Int32 | Nil #

@return [Int32, nil] The timeout for the command, or nil if not specified.


[View source]
def timeout=(timeout : Int32 | Nil) #

@return [Int32, nil] The timeout for the command, or nil if not specified.


[View source]
def type : String #

@return [String] The type of the project.


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

@return [String] The type of the project.


[View source]