aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/buildsremoteprojectstore.h
blob: 8b2c6c8c8aeca787b7be43da9d52cc6f842e7198 (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
// 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;
	bool		ForceDisableBlocks	   = false;
	bool		ForceDisableTempBlocks = false;
	bool		AssumeHttp2			   = false;
	IoBuffer	MetaData;
};

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

}  // namespace zen