class Pod::Config::Container

Included Modules

Direct Known Subclasses

Defined in:

pod/config.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(name : String, image : String) #

[View source]
def self.new(pull : JSON::PullParser) #

Instance Method Detail

def apply_overrides!(detached : Bool | Nil = nil, remote : String | Nil = nil, image : String | Nil = nil, name : String | Nil = nil, autoremove : Bool | Nil = nil, entrypoint : YAML::Any | Nil = nil) #

[View source]
def args : Array(YAML::Any) #

[View source]
def autoremove : Bool #

[View source]
def bind_mounts : Hash(String, String) #

[View source]
def entrypoint : YAML::Any | Nil #

[View source]
def environment : Hash(String, String) #

[View source]

for the container


[View source]
def health : HealthConfig | Nil #

[View source]
def image : String #

[View source]
def interactive : Bool #

options that set other options


[View source]
def labels : Hash(String, YAML::Any) #

[View source]
def name : String #

[View source]
def network : String | Array(String) #

[View source]
def pod_hash(args) #

[View source]
def podman_flags : Pod::Config::KVMapping(String, YAML::Any) #

for podman


[View source]
def ports : Hash(Int32, String) #

[View source]
def pull_latest : Bool #

convenience opts


[View source]
def remote : String | Nil #

[View source]

[View source]

[View source]
def to_command(cmd_args : Enumerable(String) | Nil, include_hash = true) #

[View source]
def volumes : Hash(String, String) #

[View source]