lakeflags

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: BSD-3-Clause Imports: 13 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")

Functions

func WriteHead

func WriteHead(pool, branch string) error

Types

type Flags

type Flags struct {
	ConfigDir string
	// LakeSpecified is set to true if the lake is explicitly set via either
	// command line flag or environment variable.
	LakeSpecified bool
	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) Connection added in v1.1.0

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

func (*Flags) HEAD

func (f *Flags) HEAD() (*lakeparse.Commitish, 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