reposerver

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartGPGWatcher added in v1.8.8

func StartGPGWatcher(sourcePath string) error

StartGPGWatcher watches a given directory for creation and deletion of files and syncs the GPG keyring

Types

type Server added in v1.8.8

type Server struct {
	// contains filtered or unexported fields
}

Server is the repo server implementation

func NewServer

func NewServer(metricsServer *metrics.MetricsServer, cache *reposervercache.Cache, tlsConfCustomizer tlsutil.ConfigCustomizer, initConstants repository.RepoServerInitConstants, gitCredsStore git.CredsStore, clientCAPath string, disableTLS bool) (*Server, error)

NewServer returns a new instance of the Hanzo CD Repo server

func (*Server) CreateGRPC added in v1.8.8

func (a *Server) CreateGRPC() *grpc.Server

CreateGRPC creates new configured grpc server

func (*Server) GetHealthCheckClientCert added in v1.8.8

func (a *Server) GetHealthCheckClientCert() *tls.Certificate

GetHealthCheckClientCert returns the ephemeral client certificate used by the liveness probe self-connection

func (*Server) GetTLSConfig added in v1.8.8

func (a *Server) GetTLSConfig() *tls.Config

GetTLSConfig returns the TLS configuration of the server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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