mock

package
v0.34.0-test1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lake

type Lake struct {
	// contains filtered or unexported fields
}

func NewLake

func NewLake() *Lake

func (*Lake) CommitObject

func (l *Lake) CommitObject(_ context.Context, poolID ksuid.KSUID, branchName string) (ksuid.KSUID, error)

func (*Lake) Layout

func (l *Lake) Layout(_ context.Context, src dag.Source) order.Layout

func (*Lake) NewPool

func (l *Lake) NewPool(poolName string) (*Pool, error)

create a mock lake whose key layout is embedded in the mock pool name, e.g., "logs-ts:asc"

func (*Lake) NewScheduler

func (*Lake) Open

func (*Lake) PoolID

func (l *Lake) PoolID(_ context.Context, poolName string) (ksuid.KSUID, error)

type Pool

type Pool struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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