internal

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 ApiResponse added in v0.1.0

type ApiResponse interface {
	StatusCode() int
}

type DebugTransport added in v1.0.2

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

func (*DebugTransport) RoundTrip added in v1.0.2

func (c *DebugTransport) 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