provider

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTLSTransport

func GetTLSTransport(insecure bool) http.RoundTripper

GetTLSTransport Get a TLS transport instance, that skips verification if configured via environment variables.

func Provider

func Provider(version string, testing bool) *schema.Provider

Provider -

Types

type APIClient added in v0.0.4

type APIClient struct {
	// contains filtered or unexported fields
}

APIClient Hold the API Client and any relevant configuration

type TestingTransport added in v0.5.0

type TestingTransport struct {
	// contains filtered or unexported fields
}

TestingTransport Transport used for testing, always returns a 400 Response

func NewTracingTransport added in v0.5.0

func NewTracingTransport(inner http.RoundTripper) *TestingTransport

NewTracingTransport Get a HTTP Transport that fails all requests

func (*TestingTransport) RoundTrip added in v0.5.0

func (tt *TestingTransport) RoundTrip(r *http.Request) (*http.Response, error)

RoundTrip HTTP Transport

Source Files

Jump to

Keyboard shortcuts

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