webconsolevalidation

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const UUIDLabelKey = "vmoperator.vmware.com/webconsolerequest-uuid"

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v1.9.0

type Server struct {
	Addr, Path string
	KubeClient ctrlclient.Client
}

Server represents a web console validation server.

func NewServer added in v1.9.0

func NewServer(addr, path string, client ctrlclient.Client) (*Server, error)

NewServer creates a new web console validation server.

func (*Server) HandleWebConsoleValidation added in v1.9.0

func (s *Server) HandleWebConsoleValidation(w http.ResponseWriter, r *http.Request)

HandleWebConsoleValidation verifies a web console validation request by checking if a WebConsoleRequest resource exists with the given UUID in query.

func (*Server) Run added in v1.9.0

func (s *Server) Run() error

Run starts the web console validation server.

Jump to

Keyboard shortcuts

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