Help us shape the future of Go! Take the 2026 Go Developer Survey

tuple

package
v0.7.14-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package tuple contains commands that interact directly with stored relationship tuples.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrPageSizeNegative is returned when page size is negative.
	ErrPageSizeNegative = errors.New("page-size must be non-negative")
	// ErrPageSizeExceedsMax is returned when page size exceeds maximum.
	ErrPageSizeExceedsMax = errors.New("page-size cannot exceed 100")
)
View Source
var MaxReadChangesPagesLength = 20

MaxReadChangesPagesLength Limit the changes so that we are not paginating indefinitely.

View Source
var MaxReadPagesLength = 20

MaxReadPagesLength Limit the tuples so that we are not paginating indefinitely.

View Source
var TupleCmd = &cobra.Command{
	Use:   "tuple",
	Short: "Interact with Relationship Tuples",
	Long:  "Read, write, delete, import and listen to changes in relationship tuples in a store.",
}

TupleCmd represents the tuple command.

Functions

func ExactArgsOrFlag added in v0.1.2

func ExactArgsOrFlag(n int, flag string) cobra.PositionalArgs

Types

type ImportStats added in v0.6.3

type ImportStats struct {
	TotalTuples      int
	SuccessfulTuples int
	FailedTuples     int
}

Jump to

Keyboard shortcuts

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