containers

package
v0.0.0-...-e95280a Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Create() Builder
	WithGraphbase(graph graphbases.Transaction) Builder
	WithDatabase(db databases.Transaction) Builder
	WithTable(table tables.Transaction) Builder
	WithSet(set sets.Transaction) Builder
	Now() (Transaction, error)
}

Builder represents a transaction builder

func NewBuilder

func NewBuilder() Builder

NewBuilder creates a new builder instance

type Transaction

type Transaction interface {
	Hash() hash.Hash
	IsGraphbase() bool
	Graphbase() graphbases.Transaction
	IsDatabase() bool
	Database() databases.Transaction
	IsTable() bool
	Table() tables.Transaction
	IsSet() bool
	Set() sets.Transaction
}

Transaction represents a container transaction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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