pyanaconda.modules.payloads.source.source_base_interface

Classes

PayloadSourceBaseInterface

Base class for all the payload source module interfaces.

RepositorySourceInterface

DBus interface for sources that provide access to a repository.

Module Contents

class pyanaconda.modules.payloads.source.source_base_interface.PayloadSourceBaseInterface[source]

Bases: pyanaconda.modules.common.base.base_template.ModuleInterfaceTemplate

Base class for all the payload source module interfaces.

This object contains API shared by all the sources. Everything in this object has to be implemented by a source to be used.

property Type: Str[source]

The type of this source.

Return type:

Str

property Description: Str[source]

The description of this source.

Return type:

Str

class pyanaconda.modules.payloads.source.source_base_interface.RepositorySourceInterface[source]

Bases: PayloadSourceBaseInterface

DBus interface for sources that provide access to a repository.

connect_signals()[source]

Connect the signals.

property Configuration: Structure[source]

The source configuration.

This configuration will be used to set up the source and generate a configuration of the available repository.

Returns:

a structure of the type RepoConfigurationData

Return type:

Structure