simulator

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

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
	// contains filtered or unexported fields
}

Handler implements the Cluster Modules 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 Consumption Domains API paths with the vapi simulator's http.ServeMux

type ZoneData

type ZoneData struct {
	Name         string
	Id           string
	Description  string
	Associations []string
}

ZoneData Helper type to store simulated entries

Jump to

Keyboard shortcuts

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