Documentation
¶
Index ¶
- func CollectProtoFilesInDirs(dirs []string) ([]*v1.ProtoFile, error)
- func NewInsecureClient(config *model.Config, netrcAuth *netrc.Netrc) v1.RegistryClient
- func NewInsecureConn(config *model.Config, netrcAuth *netrc.Netrc) *grpc.ClientConn
- func NewInsecureUserServiceClient(config *model.Config, netrcAuth *netrc.Netrc) v1.UserServiceClient
- func NewSecureClient(config *model.Config, netrcAuth *netrc.Netrc) v1.RegistryClient
- func NewSecureConn(config *model.Config, netrcAuth *netrc.Netrc) *grpc.ClientConn
- func NewSecureUserServiceClient(config *model.Config, netrcAuth *netrc.Netrc) v1.UserServiceClient
- 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 ¶
NewInsecureClient generates insecure grpc client
func NewInsecureConn ¶ added in v0.6.0
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
NewSecureClient generates secure grpc client Should use TLS to secure the connection
func NewSecureConn ¶ added in v0.6.0
NewSecureConn creates a secure (TLS) gRPC connection to registry.
func NewSecureUserServiceClient ¶ added in v0.6.0
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.
Click to show internal directories.
Click to hide internal directories.