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.
Click to show internal directories.
Click to hide internal directories.