Documentation ¶
Index ¶
- func CollectProtoFilesInDirs(dirs []string) ([]*v1.ProtoFile, error)
- func NewInsecureClient(config *model.Config, netrcAuth *netrc.Netrc) v1.RegistryClient
- func NewSecureClient(config *model.Config, netrcAuth *netrc.Netrc) v1.RegistryClient
- func VendorRegistryModule(module *model.Module, client v1.RegistryClient, patchers []patcher.Patcher) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.