libzypp: zypp/ng/repo/workflows/serviceswf.h Source File

libzypp 17.38.6

serviceswf.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#ifndef ZYPP_NG_SERVICES_WORKFLOW_INCLUDED
10#define ZYPP_NG_SERVICES_WORKFLOW_INCLUDED
11
12#include <zypp-core/ng/base/zyppglobal.h>
13
14#include <zypp-core/ng/async/task.h>
15#include <zypp-core/ng/pipelines/Expected>
16
17#include <zypp/RepoManagerFlags.h>
18#include <zypp/ng/repomanager.h>
19
20#include <zypp/repo/ServiceType.h>
21#include <zypp/ServiceInfo.h>
22
23
24namespace zyppng {
25
26 ZYPP_FWD_DECL_TYPE_WITH_REFS (Context);
27 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProgressObserver);
28
29 namespace RepoServicesWorkflow {
30 MaybeAwaitable<expected<std::pair<zypp::ServiceInfo, RepoInfoList>>> fetchRepoListfromService( ContextRef ctx, zypp::Pathname root_r, ServiceInfo service, ProgressObserverRef myProgress = nullptr );
31
32 MaybeAwaitable<expected<zypp::repo::ServiceType> > probeServiceType( ContextRef ctx, const zypp::Url &url );
33
34 MaybeAwaitable<expected<void>> refreshService ( RepoManagerRef repoMgr, zypp::ServiceInfo info, zypp::RepoManagerFlags::RefreshServiceOptions options );
35 }
36} // namespace zyppng;
37
38
39#endif
RepoManagerFlags.h
ServiceInfo.h
ServiceType.h
zyppng::Context
Definition context.h:27
zyppng::ProgressObserver
Definition progressobserver.h:28
zypp::RepoManagerFlags::RefreshServiceOptions
RefreshServiceFlags RefreshServiceOptions
Options tuning RefreshService.
Definition RepoManagerFlags.h:42
zyppng::RepoServicesWorkflow
Definition serviceswf.cc:31
zyppng::RepoServicesWorkflow::fetchRepoListfromService
MaybeAwaitable< expected< std::pair< zypp::ServiceInfo, RepoInfoList > > > fetchRepoListfromService(ContextRef ctx, zypp::Pathname root_r, ServiceInfo service, ProgressObserverRef myProgress)
Definition serviceswf.cc:220
zyppng::RepoServicesWorkflow::refreshService
MaybeAwaitable< expected< void > > refreshService(RepoManagerRef repoMgr, ServiceInfo info, zypp::RepoManagerFlags::RefreshServiceOptions options)
Definition serviceswf.cc:713
zyppng::RepoServicesWorkflow::probeServiceType
MaybeAwaitable< expected< zypp::repo::ServiceType > > probeServiceType(ContextRef ctx, const zypp::Url &url)
Definition serviceswf.cc:231
zyppng
Definition MediaNetworkRequestExecutor.h:16
zyppng::ServiceInfo
zypp::ServiceInfo ServiceInfo
Definition repomanager.h:41
repomanager.h
zyppglobal.h
ZYPP_FWD_DECL_TYPE_WITH_REFS
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)
Definition zyppglobal.h:119