test

package
v0.0.0-...-8aeab1e Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiClient = initializeApiClient(5 * time.Second)
View Source
var LoadedTestData = TestData{}

Functions

func CreateHellos

func CreateHellos(t *testing.T, num int) []*taikaiv1.Hello

func CreateRandomNumHellos

func CreateRandomNumHellos(t *testing.T) []*taikaiv1.Hello

func DeleteHellos

func DeleteHellos(ids []string) error

func GetHellosById

func GetHellosById(ids []string) ([]*taikaiv1.Hello, error)

func ListHellos

func ListHellos(limit, offset int, orderBy string) ([]*taikaiv1.Hello, error)

func UpsertHellos

func UpsertHellos(hellos []*taikaiv1.Hello) ([]*taikaiv1.Hello, error)

Types

type TestData

type TestData struct {
	Hellos   []*taikaiv1.Hello
	HelloIds *hashset.Set
}

Jump to

Keyboard shortcuts

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