libschauer  0.0.1
Qt based library to access the Docker HTTP API.
Properties | Public Member Functions | Protected Member Functions | List of all members
Schauer::AbstractVersionModel Class Reference

Base class for models providing version information. More...

#include <abstractversionmodel.h>

Inheritance diagram for Schauer::AbstractVersionModel:
Inheritance graph
[legend]

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...
 
AbstractConfigurationconfiguration () 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...
 

Detailed Description

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.

See also
VersionListModel

Property Documentation

◆ apiVersion

QString AbstractVersionModel::apiVersion
read

API version of the Docker daemon.

Access functions
Notifier signal

◆ arch

QString AbstractVersionModel::arch
read

Architecture the Docker daemon runs on.

Access functions
Notifier signal

◆ buildTime

QDateTime AbstractVersionModel::buildTime
read

Build time of the Docker daemon.

Access functions
Notifier signal

◆ gitCommit

QString AbstractVersionModel::gitCommit
read

Git commit hash of the Docker daemon.

Access functions
Notifier signal

◆ goVersion

QString AbstractVersionModel::goVersion
read

Go version the Docker daemon has been built with.

Access functions
Notifier signal

◆ kernelVersion

QString AbstractVersionModel::kernelVersion
read

Kernel version of the host system the Docker daemon runs on.

Access functions
Notifier signal

◆ minApiVersion

QString AbstractVersionModel::minApiVersion
read

The minimum API version supported by this Docker daemon.

Access functions
Notifier signal

◆ os

QString AbstractVersionModel::os
read

The host operating system the Docker daemon runs on.

Access functions
Notifier signal

◆ platformName

QString AbstractVersionModel::platformName
read

Name of the platform the Docker daemon runs on.

Access functions
Notifier signal

◆ version

QString AbstractVersionModel::version
read

Version of the Docker daemon.

Access functions
Notifier signal

Constructor & Destructor Documentation

◆ AbstractVersionModel()

AbstractVersionModel::AbstractVersionModel ( QObject parent = nullptr)
explicit

Constructs a new AbstractVersionModel with the given parent.

◆ ~AbstractVersionModel()

AbstractVersionModel::~AbstractVersionModel ( )
overridedefault

Destroys the AbstractVersionModel object.

Member Function Documentation

◆ apiVersion()

QString Schauer::AbstractVersionModel::apiVersion ( ) const

Returns the API version of the Docker daemon.

◆ arch()

QString Schauer::AbstractVersionModel::arch ( ) const

Returns the architecture the Docker daemon runs on.

◆ buildTime()

QDateTime Schauer::AbstractVersionModel::buildTime ( ) const

Returns the build time of the Docker daemon.

◆ clear()

void AbstractVersionModel::clear ( )
overrideprotectedvirtual

Clears the model data.

The default implementation dos nothing.

Reimplemented from Schauer::AbstractBaseModel.

◆ gitCommit()

QString Schauer::AbstractVersionModel::gitCommit ( ) const

Returns the Git commit of the Docker daemon.

◆ goVersion()

QString Schauer::AbstractVersionModel::goVersion ( ) const

Returns the Go version the Docker daemon has been built with.

◆ kernelVersion()

QString Schauer::AbstractVersionModel::kernelVersion ( ) const

Returns the kernel version of the host system the Docker daemon runs on.

◆ minApiVersion()

QString Schauer::AbstractVersionModel::minApiVersion ( ) const

Returns the minimum API version supported by this Docker daemon.

◆ os()

QString Schauer::AbstractVersionModel::os ( ) const

Returns the host operating systemd the Docker daemon runs on.

◆ platformName()

QString Schauer::AbstractVersionModel::platformName ( ) const

Returns the name of the platform the Docker daemon runs on.

◆ version()

QString Schauer::AbstractVersionModel::version ( ) const

Returns the version of the Docker daemon.


The documentation for this class was generated from the following files: