|
libschauer
0.0.1
Qt based library to access the Docker HTTP API.
|
Base class for models providing version information. More...
#include <abstractversionmodel.h>

Properties | |
| QString | apiVersion |
| API version of the Docker daemon. More... | |
| QString | arch |
| Architecture the Docker daemon runs on. More... | |
| QDateTime | buildTime |
| Build time of the Docker daemon. More... | |
| QString | gitCommit |
| Git commit hash of the Docker daemon. More... | |
| QString | goVersion |
| Go version the Docker daemon has been built with. More... | |
| QString | kernelVersion |
| Kernel version of the host system the Docker daemon runs on. More... | |
| QString | minApiVersion |
| The minimum API version supported by this Docker daemon. More... | |
| QString | os |
| The host operating system the Docker daemon runs on. More... | |
| QString | platformName |
| Name of the platform the Docker daemon runs on. More... | |
| QString | version |
| Version of the Docker daemon. More... | |
Properties inherited from Schauer::AbstractBaseModel | |
| Schauer::AbstractConfiguration | configuration |
| Pointer to an object providing configuration data. More... | |
| int | error |
| Error code. More... | |
| QString | errorString |
| Human-readable error message. More... | |
| bool | isLoading |
| Indicates loading state. More... | |
Public Member Functions | |
| AbstractVersionModel (QObject *parent=nullptr) | |
| Constructs a new AbstractVersionModel with the given parent. More... | |
| ~AbstractVersionModel () override | |
| Destroys the AbstractVersionModel object. More... | |
| QString | apiVersion () const |
| Returns the API version of the Docker daemon. More... | |
| QString | arch () const |
| Returns the architecture the Docker daemon runs on. More... | |
| QDateTime | buildTime () const |
| Returns the build time of the Docker daemon. More... | |
| QString | gitCommit () const |
| Returns the Git commit of the Docker daemon. More... | |
| QString | goVersion () const |
| Returns the Go version the Docker daemon has been built with. More... | |
| QString | kernelVersion () const |
| Returns the kernel version of the host system the Docker daemon runs on. More... | |
| QString | minApiVersion () const |
| Returns the minimum API version supported by this Docker daemon. More... | |
| QString | os () const |
| Returns the host operating systemd the Docker daemon runs on. More... | |
| QString | platformName () const |
| Returns the name of the platform the Docker daemon runs on. More... | |
| QString | version () const |
| Returns the version of the Docker daemon. More... | |
Public Member Functions inherited from Schauer::AbstractBaseModel | |
| AbstractBaseModel (QObject *parent=nullptr) | |
| Constructs a new AbstractBaseModel class with the given parent. More... | |
| ~AbstractBaseModel () override | |
| Destroys the AbstractBaseModel object. More... | |
| AbstractConfiguration * | configuration () const |
| Getter function for the configuraion property. More... | |
| int | error () const |
| Returns the error code, if there has been an error. More... | |
| QString | errorString () const |
| Returns the human-readable error message. More... | |
| bool | isLoading () const |
Returns true while the model is loading, otherwise returns false. More... | |
| void | setConfiguration (AbstractConfiguration *configuration) |
| Setter function for the configuraion property. More... | |
Protected Member Functions | |
| void | clear () override |
| Clears the model data. More... | |
Additional Inherited Members | |
Public Types inherited from Schauer::AbstractBaseModel | |
| enum | LoadMode : int { LoadAsync, LoadSync } |
| Load mode for model. More... | |
Public Slots inherited from Schauer::AbstractBaseModel | |
| bool | load (Schauer::AbstractBaseModel::LoadMode mode=LoadAsync) |
| Loads the model data. More... | |
Signals inherited from Schauer::AbstractBaseModel | |
| void | configurationChanged (Schauer::AbstractConfiguration *configuration) |
| Notifier signal for the configuration property. More... | |
| void | errorChanged (int error) |
| Notifier signal for the error property. More... | |
| void | isLoadingChanged (bool isLoading) |
| Notifier signal for the isLoading property. More... | |
| void | loaded () |
| Emitted to indicate model data loading has been finished. More... | |
Base class for models providing version information.
The properties belonging directly to this model describe the Docker daemon itself. The model content describes subcomponents of the Docker daemon like the engine, containerd, etc.
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
Kernel version of the host system the Docker daemon runs on.
|
read |
The minimum API version supported by this Docker daemon.
|
read |
|
read |
|
read |
|
explicit |
Constructs a new AbstractVersionModel with the given parent.
|
overridedefault |
Destroys the AbstractVersionModel object.
| QString Schauer::AbstractVersionModel::apiVersion | ( | ) | const |
Returns the API version of the Docker daemon.
| QString Schauer::AbstractVersionModel::arch | ( | ) | const |
Returns the architecture the Docker daemon runs on.
| QDateTime Schauer::AbstractVersionModel::buildTime | ( | ) | const |
Returns the build time of the Docker daemon.
|
overrideprotectedvirtual |
Clears the model data.
The default implementation dos nothing.
Reimplemented from Schauer::AbstractBaseModel.
| QString Schauer::AbstractVersionModel::gitCommit | ( | ) | const |
Returns the Git commit of the Docker daemon.
| QString Schauer::AbstractVersionModel::goVersion | ( | ) | const |
Returns the Go version the Docker daemon has been built with.
| QString Schauer::AbstractVersionModel::kernelVersion | ( | ) | const |
Returns the kernel version of the host system the Docker daemon runs on.
| QString Schauer::AbstractVersionModel::minApiVersion | ( | ) | const |
Returns the minimum API version supported by this Docker daemon.
| QString Schauer::AbstractVersionModel::os | ( | ) | const |
Returns the host operating systemd the Docker daemon runs on.
| QString Schauer::AbstractVersionModel::platformName | ( | ) | const |
Returns the name of the platform the Docker daemon runs on.
| QString Schauer::AbstractVersionModel::version | ( | ) | const |
Returns the version of the Docker daemon.
1.8.14