Sha256: c55af9153f5d35eb858c2815e4eec3f369f957e93b753fd05f9ea4779bbd5069

Contents?: true

Size: 1021 Bytes

Versions: 5

Compression:

Stored size: 1021 Bytes

Contents

//
//
// Copyright 2018 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//

#include <grpc/support/port_platform.h>

#if !defined(GPR_LINUX) && !defined(GPR_WINDOWS)

#include "absl/log/log.h"

#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/security/credentials/alts/check_gcp_environment.h"

bool grpc_alts_is_running_on_gcp() {
  VLOG(2) << "ALTS: Platforms other than Linux and Windows are not supported";
  return false;
}

#endif  // !defined(LINUX) && !defined(GPR_WINDOWS)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grpc-1.67.0 src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc
grpc-1.67.0.pre1 src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc
grpc-1.66.0 src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc
grpc-1.66.0.pre5 src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc
grpc-1.66.0.pre3 src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc