simulator

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	URL       *url.URL
	Solutions map[string]map[string]vms.SolutionInfo        // clusterID → solutionID → info
	Hooks     map[string]map[string][]vms.LifecycleHookInfo // clusterID → solutionID → hooks
	Tasks     map[string]json.RawMessage                    // taskID → task JSON
	// contains filtered or unexported fields
}

Handler implements the EAM vms API simulator.

func New

func New(u *url.URL) *Handler

New creates a Handler instance.

func (*Handler) Register

func (h *Handler) Register(s *simulator.Service, r *simulator.Registry)

Register adds all VMS API paths to the simulator's HTTP mux.

Jump to

Keyboard shortcuts

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