server

package
v2.0.0-...-f0a61fb Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthServer

type HealthServer struct {
	health.UnimplementedHealthServer
}

func NewHealthServer

func NewHealthServer() *HealthServer

func (*HealthServer) Check

type RegistryServer

type RegistryServer struct {
	api.UnimplementedRegistryServer
	// contains filtered or unexported fields
}

func NewRegistryServer

func NewRegistryServer(store registry.GRPCQuery) *RegistryServer

func (*RegistryServer) GetBundle

func (s *RegistryServer) GetBundle(ctx context.Context, req *api.GetBundleRequest) (*api.Bundle, error)

func (*RegistryServer) GetBundleForChannel

func (s *RegistryServer) GetBundleForChannel(ctx context.Context, req *api.GetBundleInChannelRequest) (*api.Bundle, error)

func (*RegistryServer) GetBundleThatReplaces

func (s *RegistryServer) GetBundleThatReplaces(ctx context.Context, req *api.GetReplacementRequest) (*api.Bundle, error)

func (*RegistryServer) GetChannelEntriesThatProvide

func (s *RegistryServer) GetChannelEntriesThatProvide(req *api.GetAllProvidersRequest, stream api.Registry_GetChannelEntriesThatProvideServer) error

func (*RegistryServer) GetChannelEntriesThatReplace

func (*RegistryServer) GetDefaultBundleThatProvides

func (s *RegistryServer) GetDefaultBundleThatProvides(ctx context.Context, req *api.GetDefaultProviderRequest) (*api.Bundle, error)

func (*RegistryServer) GetLatestChannelEntriesThatProvide

func (s *RegistryServer) GetLatestChannelEntriesThatProvide(req *api.GetLatestProvidersRequest, stream api.Registry_GetLatestChannelEntriesThatProvideServer) error

func (*RegistryServer) GetPackage

func (s *RegistryServer) GetPackage(ctx context.Context, req *api.GetPackageRequest) (*api.Package, error)

func (*RegistryServer) ListBundles

func (*RegistryServer) ListPackages

Jump to

Keyboard shortcuts

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