struct

RailsApp::Directories

Inherits YAML::Serializable / JSON::Serializable / Kubernetes::Serializable / Struct / Value / Object

Create directories on the container's filesystem

directories:
  - path: /containing/path
    name: config
    files:
      - filename: app.yml
        content: |
          production:
            database: postgres://user:password@host/db_name
            redis: redis://redis

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
new(*, name : String, path : String, files : Nil | Array(RailsApp::Directories::Files) = nil, persistent_storage : RailsApp::Directories::PersistentStorage | Nil = nil)
Source

Instance methods

files
name
path
persistent_storage

Nested types