server

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryServer

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

func NewRegistryServer

func NewRegistryServer(registryRepository data.RegistryRepository) *RegistryServer

func (*RegistryServer) DeleteModule

func (r *RegistryServer) DeleteModule(ctx context.Context, request *v1.DeleteModuleRequest) (*v1.DeleteModuleResponse, error)

func (*RegistryServer) DeleteModuleTag

func (*RegistryServer) GetModule

func (r *RegistryServer) GetModule(ctx context.Context, request *v1.GetModuleRequest) (*v1.Module, error)

func (*RegistryServer) ListModules

func (r *RegistryServer) ListModules(ctx context.Context, request *v1.ListModulesRequest) (*v1.ListModulesResponse, error)

func (*RegistryServer) PullModule

func (r *RegistryServer) PullModule(ctx context.Context, request *v1.PullModuleRequest) (*v1.PullModuleResponse, error)

func (*RegistryServer) PushModule

func (r *RegistryServer) PushModule(ctx context.Context, request *v1.PushModuleRequest) (*v1.Module, error)

func (*RegistryServer) RegisterModule

func (r *RegistryServer) RegisterModule(ctx context.Context, request *v1.RegisterModuleRequest) (*v1.Module, error)

Jump to

Keyboard shortcuts

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