registry

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectProtoFilesInDirs

func CollectProtoFilesInDirs(dirs []string) ([]*v1.ProtoFile, error)

func NewInsecureClient

func NewInsecureClient(config *model.Config, netrcAuth *netrc.Netrc) v1.RegistryClient

NewInsecureClient generates insecure grpc client

func NewSecureClient added in v0.3.0

func NewSecureClient(config *model.Config, netrcAuth *netrc.Netrc) v1.RegistryClient

NewSecureClient generates secure grpc client Should use TLS to secure the connection

func VendorRegistryModule

func VendorRegistryModule(module *model.Module, client v1.RegistryClient, patchers []patcher.Patcher) error

VendorRegistryModule function that iterate over the modules and vendor proto files from PBUF registry

Types

This section is empty.

Jump to

Keyboard shortcuts

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