registry

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 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 NewInsecureConn added in v0.6.0

func NewInsecureConn(config *model.Config, netrcAuth *netrc.Netrc) *grpc.ClientConn

NewInsecureConn creates an insecure gRPC connection to registry.

func NewInsecureUserServiceClient added in v0.6.0

func NewInsecureUserServiceClient(config *model.Config, netrcAuth *netrc.Netrc) v1.UserServiceClient

NewInsecureUserServiceClient generates insecure grpc client for UserService.

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 NewSecureConn added in v0.6.0

func NewSecureConn(config *model.Config, netrcAuth *netrc.Netrc) *grpc.ClientConn

NewSecureConn creates a secure (TLS) gRPC connection to registry.

func NewSecureUserServiceClient added in v0.6.0

func NewSecureUserServiceClient(config *model.Config, netrcAuth *netrc.Netrc) v1.UserServiceClient

NewSecureUserServiceClient generates secure grpc client for UserService.

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