Documentation
¶
Overview ¶
Package testmock provides an in-memory ClickStack API server for unit tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is a mock ClickStack API backed by in-memory maps.
func NewServer ¶
NewServer creates and starts a mock ClickStack API server. It returns the server URL and a cleanup function.
func (*Server) ProviderConfig ¶
ProviderConfig returns an HCL provider block pointing at this mock server.
Click to show internal directories.
Click to hide internal directories.