acctest

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertResponseOk

func AssertResponseOk(t *testing.T, message string, response any, err error)

func CheckResponse

func CheckResponse(message string, response any, err error) error

func Config

func Config(config string, keyAndValues ...any) string

func DeleteCdn

func DeleteCdn(client cdn77.ClientWithResponsesInterface, id int) error

func DeleteOrigin

func DeleteOrigin(client cdn77.ClientWithResponsesInterface, originType string, id string) (err error)

func DeleteSsl

func DeleteSsl(client cdn77.ClientWithResponsesInterface, id string) error

func Equal

func Equal[T comparable](a, b T) error

func EqualField

func EqualField[T comparable](field string, a, b T) error

func GetClient

func GetClient(t *testing.T) cdn77.ClientWithResponsesInterface

func GetClientErr

func GetClientErr() (cdn77.ClientWithResponsesInterface, error)

func GetProviderFactories

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

func MustAddSslWithCleanup

func MustAddSslWithCleanup(t *testing.T, client cdn77.ClientWithResponsesInterface, certAndKey ...string) string

func MustDeleteCdn

func MustDeleteCdn(t *testing.T, client cdn77.ClientWithResponsesInterface, id int)

func MustDeleteOrigin

func MustDeleteOrigin(t *testing.T, client cdn77.ClientWithResponsesInterface, originType string, id string)

func MustDeleteSsl

func MustDeleteSsl(t *testing.T, client cdn77.ClientWithResponsesInterface, id string)

func NotEqual

func NotEqual[T comparable](a, b T) error

func Null

func Null[T any](v nullable.Nullable[T]) error

func NullEqual

func NullEqual[T comparable](a nullable.Nullable[T], b T) error

func NullField

func NullField[T any](field string, v nullable.Nullable[T]) error

func NullFieldEqual

func NullFieldEqual[T comparable](field string, a nullable.Nullable[T], b T) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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