class Docr::Types::SystemVersion

Included Modules

Defined in:

docr/types/system_version.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def api_version : String #

The default (and highest) API version that is supported by the daemon


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

The default (and highest) API version that is supported by the daemon


[View source]
def arch : String #

The architecture that the daemon is running on


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

The architecture that the daemon is running on


[View source]
def build_time : String #

The date and time that the daemon was compiled.


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

The date and time that the daemon was compiled.


[View source]
def components : Array(ComponentVersion) #

Information about system components


[View source]
def components=(components : Array(ComponentVersion)) #

Information about system components


[View source]
def experimental : Bool | Nil #

Indicates if the daemon is started with experimental features enabled.


[View source]
def experimental=(experimental : Bool | Nil) #

Indicates if the daemon is started with experimental features enabled.


[View source]
def git_commit : String #

The Git commit of the source code that was used to build the daemon


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

The Git commit of the source code that was used to build the daemon


[View source]
def go_version : String #

The version Go used to compile the daemon, and the version of the Go runtime in use.


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

The version Go used to compile the daemon, and the version of the Go runtime in use.


[View source]
def kernel_version : String #

The kernel version (uname -r) that the daemon is running on.


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

The kernel version (uname -r) that the daemon is running on.


[View source]
def min_api_version : String #

The minimum API version that is supported by the daemon


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

The minimum API version that is supported by the daemon


[View source]
def os : String #

The operating system that the daemon is running on ("linux" or "windows")


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

The operating system that the daemon is running on ("linux" or "windows")


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

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

[View source]
def version : String #

The version of the daemon


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

The version of the daemon


[View source]