bufapimodule

package
v0.0.0-...-a4cc684 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

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

type DownloadServiceClientFactory func(address string) registryv1alpha1connect.DownloadServiceClient

func NewDownloadServiceClientFactory

func NewDownloadServiceClientFactory(clientConfig *connectclient.Config) DownloadServiceClientFactory

type ModuleReaderOption

type ModuleReaderOption func(reader *moduleReader)

ModuleReaderOption allows configuration of a module reader.

type RepositoryCommitServiceClientFactory

type RepositoryCommitServiceClientFactory func(address string) registryv1alpha1connect.RepositoryCommitServiceClient

func NewRepositoryCommitServiceClientFactory

func NewRepositoryCommitServiceClientFactory(clientConfig *connectclient.Config) RepositoryCommitServiceClientFactory

Jump to

Keyboard shortcuts

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