-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: carve out compute module (#5273)
This will be tagged: - v0.100.2 - compute/v0.1.0
- Loading branch information
Showing
7 changed files
with
271 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Changes | ||
|
||
## v0.1.0 | ||
|
||
This is the first tag to carve out compute as its own module. See | ||
[Add a module to a multi-module repository](https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Compute API | ||
|
||
[![Go Reference](https://pkg.go.dev/badge/cloud.google.com/go/compute.svg)](https://pkg.go.dev/cloud.google.com/go/compute) | ||
|
||
Go Client Library for Compute API. | ||
|
||
## Install | ||
|
||
```bash | ||
go get cloud.google.com/go/compute | ||
``` | ||
|
||
## Stability | ||
|
||
The stability of this module is indicated by SemVer. | ||
|
||
However, a `v1+` module may have breaking changes in two scenarios: | ||
|
||
* Packages with `alpha` or `beta` in the import path | ||
* The GoDoc has an explicit stability disclaimer (for example, for an experimental feature). | ||
|
||
## Go Version Support | ||
|
||
See the [Go Versions Supported](https://github.com/googleapis/google-cloud-go#go-versions-supported) | ||
section in the root directory's README. | ||
|
||
## Authorization | ||
|
||
See the [Authorization](https://github.com/googleapis/google-cloud-go#authorization) | ||
section in the root directory's README. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome. Please, see the [CONTRIBUTING](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md) | ||
document for details. | ||
|
||
Please note that this project is released with a Contributor Code of Conduct. | ||
By participating in this project you agree to abide by its terms. See | ||
[Contributor Code of Conduct](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md#contributor-code-of-conduct) | ||
for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module cloud.google.com/go/compute | ||
|
||
go 1.11 | ||
|
||
require ( | ||
cloud.google.com/go v0.100.2 | ||
github.com/google/go-cmp v0.5.6 | ||
github.com/googleapis/gax-go/v2 v2.1.1 | ||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 | ||
google.golang.org/api v0.63.0 | ||
google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c | ||
google.golang.org/grpc v1.40.1 | ||
google.golang.org/protobuf v1.27.1 | ||
) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright 2022 Google LLC | ||
// | ||
// 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. | ||
|
||
// This file, and the cloud.google.com/go import, won't actually become part of | ||
// the resultant binary. | ||
//go:build modhack | ||
// +build modhack | ||
|
||
package compute | ||
|
||
// Necessary for safely adding multi-module repo. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository | ||
import _ "cloud.google.com/go" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters