Movatterモバイル変換


[0]ホーム

URL:


internal

package
v0.123.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2025 License:Apache-2.0Imports:6Imported by:0

Details

Repository

github.com/googleapis/google-cloud-go

Links

README

Internal

This directory contains internal code for cloud.google.com/go packages.

.repo-metadata-full.json

.repo-metadata-full.json contains metadata about the packages in this repo. Itis generated byinternal/gapicgen/generator. It's processed by external toolsto build lists of all of the packages.

Don't make breaking changes to the format without consulting with the externaltools.

One day, we may want to create individual.repo-metadata.json files next toeach package, which is the pattern followed by some other languages. Externaltools would then talk to pkg.go.dev or some other service to get the overalllist of packages and use the.repo-metadata.json files to get the additionalmetadata required. For now,.repo-metadata-full.json includes everything.

Updating OwlBot SHA

You may want to manually update the which version of the post-processor will beused -- to do this you need to update the SHA in the OwlBot lock file.

See thepostprocessor/README for detailedinstructions.

Note: OwlBot will eventually open a pull request to update this value if itdiscovers a new version of the container.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcAnnotateadded inv0.17.0

func Annotate(errerror, msgstring)error

Annotate prepends msg to the error message in err, attemptingto preserve other information in err, like an error code.

Annotate panics if err is nil.

Annotate knows about these error types:- "google.golang.org/grpc/status".Status- "google.golang.org/api/googleapi".ErrorIf the error is not one of these types, Annotate behaveslike

fmt.Errorf("%s: %v", msg, err)

funcAnnotatefadded inv0.17.0

func Annotatef(errerror, formatstring, args ...interface{})error

Annotatef uses format and args to format a string, then calls Annotate.

funcRetryadded inv0.5.0

func Retry(ctxcontext.Context, bogax.Backoff, f func() (stopbool, errerror))error

Retry calls the supplied function f repeatedly according to the providedbackoff parameters. It returns when one of the following occurs:When f's first return value is true, Retry immediately returns with f's secondreturn value.When the provided context is done, Retry returns with an error thatincludes both ctx.Error() and the last error returned by f.

Types

This section is empty.

Source Files

View all Source files

Directories

PathSynopsis
aliasfixmodule
aliasgenmodule
Package btree implements in-memory B-Trees of arbitrary degree.
Package btree implements in-memory B-Trees of arbitrary degree.
Package detect is used find information from the environment.
Package detect is used find information from the environment.
examples
fakemodule
mockmodule
Package fields provides a view of the fields of a struct that follows the Go rules, amended to consider tags and case insensitivity.
Package fields provides a view of the fields of a struct that follows the Go rules, amended to consider tags and case insensitivity.
gapicgenmodule
godocfxmodule
Package leakcheck contains functions to check leaked goroutines.
Package leakcheck contains functions to check leaked goroutines.
Package optional provides versions of primitive types that can be nil.
Package optional provides versions of primitive types that can be nil.
Package pretty implements a simple pretty-printer.
Package pretty implements a simple pretty-printer.
Package protostruct supports operations on the protocol buffer Struct message.
Package protostruct supports operations on the protocol buffer Struct message.
stategenmodule
Package testutil contains helper functions for writing tests.
Package testutil contains helper functions for writing tests.
Package tracecontext provides encoders and decoders for Stackdriver Trace contexts.
Package tracecontext provides encoders and decoders for Stackdriver Trace contexts.
Package uid supports generating unique IDs.
Package uid supports generating unique IDs.
Package version contains version information for Google Cloud Client Libraries for Go, as reported in request headers.
Package version contains version information for Google Cloud Client Libraries for Go, as reported in request headers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp