test

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 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