Documentation ¶
Overview ¶
Package bufapimodule provides bufmodule types based on bufapi types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewModuleReader ¶
func NewModuleReader( downloadClientFactory DownloadServiceClientFactory, opts ...ModuleReaderOption, ) bufmodule.ModuleReader
NewModuleReader returns a new ModuleReader backed by the download service.
func NewModuleResolver ¶
func NewModuleResolver( logger *zap.Logger, repositoryCommitClientFactory RepositoryCommitServiceClientFactory, ) bufmodule.ModuleResolver
NewModuleResolver returns a new ModuleResolver backed by the resolve service.
Types ¶
type DownloadServiceClientFactory ¶ added in v1.10.0
type DownloadServiceClientFactory func(address string) registryv1alpha1connect.DownloadServiceClient
func NewDownloadServiceClientFactory ¶ added in v1.10.0
func NewDownloadServiceClientFactory(clientConfig *connectclient.Config) DownloadServiceClientFactory
type ModuleReaderOption ¶ added in v1.13.0
type ModuleReaderOption func(reader *moduleReader)
ModuleReaderOption allows configuration of a module reader.
func WithTamperProofing ¶ added in v1.13.0
func WithTamperProofing() ModuleReaderOption
WithTamperProofing enables tamper proofing support (use of manifest/blobs).
type RepositoryCommitServiceClientFactory ¶ added in v1.10.0
type RepositoryCommitServiceClientFactory func(address string) registryv1alpha1connect.RepositoryCommitServiceClient
func NewRepositoryCommitServiceClientFactory ¶ added in v1.10.0
func NewRepositoryCommitServiceClientFactory(clientConfig *connectclient.Config) RepositoryCommitServiceClientFactory
Click to show internal directories.
Click to hide internal directories.