server

package
v0.0.0-...-ed2827f Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

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

func NewServer

func NewServer(args *HTTPServerArgs, source *workloadapi.X509Source, logger klog.Logger) (*HTTPServer, error)

func (*HTTPServer) Shutdown

func (s *HTTPServer) Shutdown(ctx context.Context) error

func (*HTTPServer) Start

func (s *HTTPServer) Start(logger klog.Logger, errChan chan error)

type HTTPServerArgs

type HTTPServerArgs struct {
	Addr            string
	SpireSocketPath string
}

func NewHTTPServerArgs

func NewHTTPServerArgs() *HTTPServerArgs

Jump to

Keyboard shortcuts

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