api

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Anonymize

func Anonymize(v any)

func FillDemoValues

func FillDemoValues(v any)

func TestAcc

func TestAcc(t *testing.T, opts ...TestAccOptions)

func TestService

func TestService[V settings.Settings](t *testing.T, createService func(*settings.Credentials) settings.CRUDService[V])

Types

type Anonymizer

type Anonymizer interface {
	Anonymize()
}

type SettingsTest

type SettingsTest[V settings.Settings] struct {
	T *testing.T
}

func (SettingsTest[V]) Run

func (st SettingsTest[V]) Run(createService func(*settings.Credentials) settings.CRUDService[V])

type TestAccOptions

type TestAccOptions struct {
	ExpectNonEmptyPlan bool
}

Jump to

Keyboard shortcuts

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