internal

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MPL-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugTransport = &LogTransport{
	transport: http.DefaultTransport,
}

Functions

func HCLTemplate added in v1.0.0

func HCLTemplate(data string, params map[string]any) string

func New

func New(opts ...OptionFunc) provider.Provider

New is a helper function to simplify provider server and testing implementation.

func NewAssetFolderResource added in v0.3.0

func NewAssetFolderResource() resource.Resource

NewAssetFolderResource is a helper function to simplify the provider implementation.

func NewComponentGroupResource added in v0.1.0

func NewComponentGroupResource() resource.Resource

NewComponentGroupResource is a helper function to simplify the provider implementation.

func NewComponentResource

func NewComponentResource() resource.Resource

NewComponentResource is a helper function to simplify the provider implementation.

func NewDebugTransport added in v1.0.2

func NewDebugTransport(innerTransport http.RoundTripper) http.RoundTripper

func NewSpaceRoleResource added in v0.6.0

func NewSpaceRoleResource() resource.Resource

NewSpaceRoleResource is a helper function to simplify the provider implementation.

func ProviderFactories added in v1.0.0

func ProviderFactories(file string) (map[string]func() (tfprotov6.ProviderServer, error), func() error)

func TestAccPreCheck added in v1.0.0

func TestAccPreCheck(t *testing.T) func()

Types

type LogTransport added in v0.1.0

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

func (*LogTransport) RoundTrip added in v0.1.0

func (c *LogTransport) RoundTrip(request *http.Request) (*http.Response, error)

type OptionFunc added in v1.0.0

type OptionFunc func(p *storyblokProvider)

func WithDebugClient added in v1.0.0

func WithDebugClient() OptionFunc

func WithRecorderClient added in v1.0.0

func WithRecorderClient(file string, mode recorder.Mode) (OptionFunc, func() error)

func WithRetryableClient added in v1.0.0

func WithRetryableClient(retries int) OptionFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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