proxyutil

package
v0.164.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.164.0

func New(cfg Config) *psdbproxy.Server

Types

type Config added in v0.164.0

type Config struct {
	Logger       *zap.Logger
	LocalAddr    string
	UpstreamAddr string
	Username     string
	Password     string
}

type RemoteCertSource

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

func NewRemoteCertSource

func NewRemoteCertSource(client *ps.Client, role cmdutil.PasswordRole) *RemoteCertSource

func (*RemoteCertSource) Cert

func (r *RemoteCertSource) Cert(ctx context.Context, org, db, branch string) (*proxy.Cert, error)

Jump to

Keyboard shortcuts

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