aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/buildsremoteprojectstore.h
blob: 60b6caef785414c9e4279b7372f2fd1da68edb2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include "remoteprojectstore.h"

namespace zen {

class AuthMgr;

struct BuildsRemoteStoreOptions : RemoteStoreOptions
{
	std::string			  Url;
	std::string			  Namespace;
	std::string			  Bucket;
	Oid					  BuildId;
	std::string			  OpenIdProvider;
	std::string			  AccessToken;
	AuthMgr&			  AuthManager;
	std::filesystem::path OidcExePath;
	bool				  ForceDisableBlocks	 = false;
	bool				  ForceDisableTempBlocks = false;
	bool				  AssumeHttp2			 = false;
	IoBuffer			  MetaData;
};

std::shared_ptr<RemoteProjectStore> CreateJupiterBuildsRemoteStore(const BuildsRemoteStoreOptions& Options,
																   const std::filesystem::path&	   TempFilePath,
																   bool							   Quiet);

}  // namespace zen