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

Configuration settings base class. More...

#include <Schauer/AbstractConfiguration>

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

Public Member Functions

 AbstractConfiguration (QObject *parent=nullptr)
 Constructs a new AbstractConfiguration object with the given parent. More...
 
 ~AbstractConfiguration () override
 Destroys the AbstractConfiguration object. More...
 
virtual QString host () const
 Returns the host to connect to. The default implementation returns "localhost". More...
 
virtual bool ignoreSslErrors () const
 Returns true if SSL/TLS errors should be ignored, otherwise returns false. The default implementation return false. More...
 
virtual QString password () const
 Returns the password needed for authentication. The default implementation returns an empty string. More...
 
virtual int port () const
 Returns the port the Docker daemon is listening on. The default implementation returns 2375. More...
 
virtual QString username () const
 Returns the username needed for authentication. The default implementation returns an empty string. More...
 
virtual bool useSsl () const
 Returns true if the connection should use SSL/TLS, otherwise returns false. The default implementation returns false. More...
 

Detailed Description

Configuration settings base class.

Reimplement this class to provide configuration for accessing the Docker daemon REST API.

See also

Constructor & Destructor Documentation

◆ AbstractConfiguration()

AbstractConfiguration::AbstractConfiguration ( QObject parent = nullptr)
explicit

Constructs a new AbstractConfiguration object with the given parent.

◆ ~AbstractConfiguration()

AbstractConfiguration::~AbstractConfiguration ( )
overridedefault

Destroys the AbstractConfiguration object.

Member Function Documentation

◆ host()

QString AbstractConfiguration::host ( ) const
virtual

Returns the host to connect to. The default implementation returns "localhost".

◆ ignoreSslErrors()

bool AbstractConfiguration::ignoreSslErrors ( ) const
virtual

Returns true if SSL/TLS errors should be ignored, otherwise returns false. The default implementation return false.

◆ password()

QString AbstractConfiguration::password ( ) const
virtual

Returns the password needed for authentication. The default implementation returns an empty string.

◆ port()

int AbstractConfiguration::port ( ) const
virtual

Returns the port the Docker daemon is listening on. The default implementation returns 2375.

◆ username()

QString AbstractConfiguration::username ( ) const
virtual

Returns the username needed for authentication. The default implementation returns an empty string.

◆ useSsl()

bool AbstractConfiguration::useSsl ( ) const
virtual

Returns true if the connection should use SSL/TLS, otherwise returns false. The default implementation returns false.


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