aaq_server

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ServePath = "/serve-path"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AAQServer

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

func (*AAQServer) ServeHTTP

func (app *AAQServer) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*AAQServer) Start

func (app *AAQServer) Start() error

type AaqServerHandler

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

func NewAaqServerHandler

func NewAaqServerHandler(aaqNS string, aaqCli client.AAQClient, isOnOpenshift bool) *AaqServerHandler

func (*AaqServerHandler) ServeHTTP

func (ash *AaqServerHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Server

type Server interface {
	Start() error
	ServeHTTP(w http.ResponseWriter, r *http.Request)
}

Server is the public interface to the upload proxy

func AaqServer

func AaqServer(aaqNS string,
	bindAddress string,
	bindPort uint,
	secretCertManager certificate.Manager,
	aaqCli client.AAQClient,
	isOnOpenshift bool,
) (Server, error)

AaqServer returns an initialized uploadProxyApp

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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