gcloud

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package gcloud provides gcloud-specific functionality for librarian.

Unlike the surfer tool, which reads its command surface configuration from a gcloud.yaml file, this package drives generation directly from the APIs declared in librarian.yaml and the protos and service configs that live beside them in googleapis.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoProtosFound = errors.New("no .proto files found")

ErrNoProtosFound is returned when no .proto files are found in the API directory.

Functions

func Generate

func Generate(ctx context.Context, library *config.Library, srcs *sources.Sources) error

Generate generates gcloud command YAML files for a library.

It parses the protos and service config for each API in the library, builds a gcloud command tree, and writes the resulting YAML to the library's output directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL