server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(secretsGetter getter.NamespacedGeneric[*corev1.Secret]) http.Handler

Types

type HTTPServer

type HTTPServer struct {
	Handler      http.Handler
	Certificates *manager.TLSCertificates
	// contains filtered or unexported fields
}

func (*HTTPServer) Port

func (h *HTTPServer) Port() int

func (*HTTPServer) Start

func (h *HTTPServer) Start(ctx context.Context) error

type Response

type Response struct {
	Username   string `json:"username"`
	Password   string `json:"password"`
	DomainName string `json:"domainName"`
}

func ParseResponse

func ParseResponse(secret *corev1.Secret) (*Response, error)

Jump to

Keyboard shortcuts

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