Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGPGWatcher ¶ added in v1.8.8
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
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
GetTLSConfig returns the TLS configuration of the server
Click to show internal directories.
Click to hide internal directories.