test

package
v1.5.0-alpha20230504 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disco

func Disco(s *httptest.Server) *disco.Disco

Disco return a *disco.Disco mapping registry.terraform.io, localhost, localhost.localdomain, and example.com to the test server.

func Registry

func Registry() *httptest.Server

Registry returns an httptest server that mocks out some registry functionality.

func RegistryRetryableErrorsServer

func RegistryRetryableErrorsServer() *httptest.Server

RegistryRetryableErrorsServer returns an httptest server that mocks out the registry API to return 502 errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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