lakeflags

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoHEAD    = errors.New("HEAD not specified: indicate with -use or run the \"use\" command")
	ErrLocalLake = errors.New("cannot open connection on local lake")
)

Functions

This section is empty.

Types

type Flags

type Flags struct {
	ConfigDir string
	Lake      string
	Quiet     bool
	// contains filtered or unexported fields
}

func (*Flags) AuthStore added in v1.1.0

func (l *Flags) AuthStore() *auth0.Store

func (*Flags) ClientURI added in v1.11.0

func (l *Flags) ClientURI() (*storage.URI, error)

ClientURI returns the URI of the lake to connect to. If the lake path is the defaultDataDir, it first checks if a zed service is running on localhost:9867 and if so uses http://localhost:9867 as the lake location.

func (*Flags) Connection added in v1.1.0

func (l *Flags) Connection() (*client.Connection, error)

func (*Flags) Open added in v1.1.0

func (l *Flags) Open(ctx context.Context) (api.Interface, error)

func (*Flags) SetFlags

func (l *Flags) SetFlags(fs *flag.FlagSet)

func (*Flags) URI added in v1.1.0

func (l *Flags) URI() (*storage.URI, error)

Jump to

Keyboard shortcuts

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