bufsyncapi

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	logger *zap.Logger,
	container appflag.Container,
	repo git.Repository,
	createWithVisibility *registryv1alpha1.Visibility,
	syncServiceClientFactory SyncServiceClientFactory,
	referenceServiceClientFactory ReferenceServiceClientFactory,
	repositoryServiceClientFactory RepositoryServiceClientFactory,
	repositoryBranchServiceClientFactory RepositoryBranchServiceClientFactory,
	repositoryTagServiceClientFactory RepositoryTagServiceClientFactory,
	repositoryCommitServiceClientFactory RepositoryCommitServiceClientFactory,
) bufsync.Handler

NewHandle returns a new bufsync.Handler that handles requests by communicating with a BSR instance.

Types

type ReferenceServiceClientFactory

type ReferenceServiceClientFactory func(address string) registryv1alpha1connect.ReferenceServiceClient

type RepositoryBranchServiceClientFactory

type RepositoryBranchServiceClientFactory func(address string) registryv1alpha1connect.RepositoryBranchServiceClient

type RepositoryCommitServiceClientFactory

type RepositoryCommitServiceClientFactory func(address string) registryv1alpha1connect.RepositoryCommitServiceClient

type RepositoryServiceClientFactory

type RepositoryServiceClientFactory func(address string) registryv1alpha1connect.RepositoryServiceClient

type RepositoryTagServiceClientFactory

type RepositoryTagServiceClientFactory func(address string) registryv1alpha1connect.RepositoryTagServiceClient

type SyncServiceClientFactory

type SyncServiceClientFactory func(address string) registryv1alpha1connect.SyncServiceClient

Jump to

Keyboard shortcuts

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