aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/http/context.cpp
blob: a2e59c0fd8cc4853ec7a11cdf70e74547b7e58a1 (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
#include "context.h"

namespace NYT {

////////////////////////////////////////////////////////////////////////////////

bool operator==(const TClientContext& lhs, const TClientContext& rhs)
{
    return lhs.ServerName == rhs.ServerName &&
           lhs.Token == rhs.Token &&
           lhs.ImpersonationUser == rhs.ImpersonationUser &&
           lhs.ServiceTicketAuth == rhs.ServiceTicketAuth &&
           lhs.HttpClient == rhs.HttpClient &&
           lhs.UseTLS == rhs.UseTLS &&
           lhs.TvmOnly == rhs.TvmOnly &&
           lhs.ProxyAddress == rhs.ProxyAddress &&
           lhs.RpcProxyRole == rhs.RpcProxyRole &&
           lhs.ProxyUnixDomainSocket == rhs.ProxyUnixDomainSocket;
}

////////////////////////////////////////////////////////////////////////////////

} // namespace NYT