struct

ECS::LogEntry::Container

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id(new_value : String)

A chainable setter for id

Source
id

container.id

Unique container id.

Level: Core Type: Keyword

Source
id=(id : String | Nil)

container.id

Unique container id.

Level: Core Type: Keyword

Source
image(value : Image)

A chainable setter for image

Source
image
Source
image

Initialize a new Image, yield it to the block

Source
image=(image : Image | Nil)
Source
labels(new_value : Hash(String, String))

A chainable setter for labels

Source
labels

container.labels

Image labels.

Level: Extended Type: Object Object Type: Keyword

Source
labels=(labels : Hash(String, String) | Nil)

container.labels

Image labels.

Level: Extended Type: Object Object Type: Keyword

Source
name(new_value : String)

A chainable setter for name

Source
name

container.name

Container name.

Level: Extended Type: Keyword

Source
name=(name : String | Nil)

container.name

Container name.

Level: Extended Type: Keyword

Source
runtime(new_value : String)

A chainable setter for runtime

Source
runtime

container.runtime

Runtime managing this container.

Level: Extended Type: Keyword Example:

docker
Source
runtime=(runtime : String | Nil)

container.runtime

Runtime managing this container.

Level: Extended Type: Keyword Example:

docker
Source

Nested types