procedure

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithSigner

func WithSigner(platform *kwilTesting.Platform, signer []byte) *kwilTesting.Platform

WithSigner returns a new platform with the given signer, but doesn't mutate the original platform

Types

type DescribeTaxonomiesInput

type DescribeTaxonomiesInput struct {
	Platform      *kwilTesting.Platform
	DBID          string
	LatestVersion bool
}

type GetFirstRecordInput

type GetFirstRecordInput struct {
	Platform  *kwilTesting.Platform
	DBID      string
	AfterDate *string
	FrozenAt  int64
	Height    int64
}

type GetIndexChangeInput

type GetIndexChangeInput struct {
	Platform *kwilTesting.Platform
	DBID     string
	DateFrom string
	DateTo   string
	FrozenAt int64
	Height   int64
	BaseDate string
	Interval int
}

type GetIndexInput

type GetIndexInput struct {
	Platform *kwilTesting.Platform
	DBID     string
	DateFrom string
	DateTo   string
	FrozenAt int64
	Height   int64
	BaseDate string
}

type GetRecordInput

type GetRecordInput struct {
	Platform *kwilTesting.Platform
	DBID     string
	DateFrom string
	DateTo   string
	FrozenAt int64
	Height   int64
}

type ResultRow

type ResultRow []string

func DescribeTaxonomies

func DescribeTaxonomies(ctx context.Context, input DescribeTaxonomiesInput) ([]ResultRow, error)

DescribeTaxonomies is a helper function to describe taxonomies of a composed stream

func GetFirstRecord

func GetFirstRecord(ctx context.Context, input GetFirstRecordInput) ([]ResultRow, error)

func GetIndex

func GetIndex(ctx context.Context, input GetIndexInput) ([]ResultRow, error)

func GetIndexChange

func GetIndexChange(ctx context.Context, input GetIndexChangeInput) ([]ResultRow, error)

func GetRecord

func GetRecord(ctx context.Context, input GetRecordInput) ([]ResultRow, error)

Jump to

Keyboard shortcuts

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