Documentation
¶
Overview ¶
Package bazel provides utilities for parsing BUILD.bazel files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config holds configuration extracted from a googleapis BUILD.bazel file.
func Parse ¶
Parse reads a BUILD.bazel file from the given directory and extracts the relevant configuration from the java_gapic_library rule.
func (*Config) GRPCServiceConfig ¶
GRPCServiceConfig is name of the gRPC service config JSON file.
func (*Config) GapicYAML ¶
GapicYAML is the GAPIC config file in the API version directory in googleapis.
func (*Config) HasRESTNumericEnums ¶
HasRESTNumericEnums indicates whether the generated client should support numeric enums.
func (*Config) ServiceYAML ¶
ServiceYAML is the client config file in the API version directory in googleapis.
Click to show internal directories.
Click to hide internal directories.