struct

ECS::LogEntry::Package

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

architecture(new_value : String)

A chainable setter for architecture

Source
architecture

package.architecture

Package architecture.

Level: Extended Type: Keyword Example:

x86_64
Source
architecture=(architecture : String | Nil)

package.architecture

Package architecture.

Level: Extended Type: Keyword Example:

x86_64
Source
build_version(new_value : String)

A chainable setter for build_version

Source
build_version

package.build_version

Additional information about the build version of the installed package.

For example use the commit SHA of a non-released package.

Level: Extended Type: Keyword Example:

36f4f7e89dd61b0988b12ee000b98966867710cd
Source
build_version=(build_version : String | Nil)

package.build_version

Additional information about the build version of the installed package.

For example use the commit SHA of a non-released package.

Level: Extended Type: Keyword Example:

36f4f7e89dd61b0988b12ee000b98966867710cd
Source
checksum(new_value : String)

A chainable setter for checksum

Source
checksum

package.checksum

Checksum of the installed package for verification.

Level: Extended Type: Keyword Example:

68b329da9893e34099c7d8ad5cb9c940
Source
checksum=(checksum : String | Nil)

package.checksum

Checksum of the installed package for verification.

Level: Extended Type: Keyword Example:

68b329da9893e34099c7d8ad5cb9c940
Source
description(new_value : String)

A chainable setter for description

Source
description

package.description

Description of the package.

Level: Extended Type: Keyword Example:

Open source programming language to build simple/reliable/efficient software.
Source
description=(description : String | Nil)

package.description

Description of the package.

Level: Extended Type: Keyword Example:

Open source programming language to build simple/reliable/efficient software.
Source
install_scope(new_value : String)

A chainable setter for install_scope

Source
install_scope

package.install_scope

Indicating how the package was installed, e.g. user-local, global.

Level: Extended Type: Keyword Example:

global
Source
install_scope=(install_scope : String | Nil)

package.install_scope

Indicating how the package was installed, e.g. user-local, global.

Level: Extended Type: Keyword Example:

global
Source
installed(new_value : Time)

A chainable setter for installed

Source
installed

package.installed

Time when package was installed.

Level: Extended Type: Date

Source
installed=(installed : Time | Nil)

package.installed

Time when package was installed.

Level: Extended Type: Date

Source
license(new_value : String)

A chainable setter for license

Source
license

package.license

License under which the package was released.

Use a short name, e.g. the license identifier from SPDX License List where possible (https://spdx.org/licenses/).

Level: Extended Type: Keyword Example:

Apache License 2.0
Source
license=(license : String | Nil)

package.license

License under which the package was released.

Use a short name, e.g. the license identifier from SPDX License List where possible (https://spdx.org/licenses/).

Level: Extended Type: Keyword Example:

Apache License 2.0
Source
name(new_value : String)

A chainable setter for name

Source
name

package.name

Package name

Level: Extended Type: Keyword Example:

go
Source
name=(name : String | Nil)

package.name

Package name

Level: Extended Type: Keyword Example:

go
Source
path(new_value : String)

A chainable setter for path

Source
path

package.path

Path where the package is installed.

Level: Extended Type: Keyword Example:

/usr/local/Cellar/go/1.12.9/
Source
path=(path : String | Nil)

package.path

Path where the package is installed.

Level: Extended Type: Keyword Example:

/usr/local/Cellar/go/1.12.9/
Source
reference(new_value : String)

A chainable setter for reference

Source
reference

package.reference

Home page or reference URL of the software in this package, if available.

Level: Extended Type: Keyword Example:

https://golang.org
Source
reference=(reference : String | Nil)

package.reference

Home page or reference URL of the software in this package, if available.

Level: Extended Type: Keyword Example:

https://golang.org
Source
size(new_value : UInt64)

A chainable setter for size

Source
size

package.size

Package size in bytes.

Level: Extended Type: Long Example:

62231
Source
size=(size : UInt64 | Nil)

package.size

Package size in bytes.

Level: Extended Type: Long Example:

62231
Source
type(new_value : String)

A chainable setter for type

Source
type

package.type

Type of package.

This should contain the package file type, rather than the package manager name. Examples: rpm, dpkg, brew, npm, gem, nupkg, jar.

Level: Extended Type: Keyword Example:

rpm
Source
type=(type : String | Nil)

package.type

Type of package.

This should contain the package file type, rather than the package manager name. Examples: rpm, dpkg, brew, npm, gem, nupkg, jar.

Level: Extended Type: Keyword Example:

rpm
Source
version(new_value : String)

A chainable setter for version

Source
version

package.version

Package version

Level: Extended Type: Keyword Example:

1.12.9
Source
version=(version : String | Nil)

package.version

Package version

Level: Extended Type: Keyword Example:

1.12.9
Source