esti

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lakectl

func Lakectl() string

func LakectlWithParams

func LakectlWithParams(accessKeyID, secretAccessKey, endPointURL string) string

func LakectlWithParamsWithPosixPerms added in v1.28.2

func LakectlWithParamsWithPosixPerms(accessKeyID, secretAccessKey, endPointURL string, withPosixPerms bool) string

func LakectlWithPosixPerms added in v1.28.2

func LakectlWithPosixPerms() string

func Lakefs added in v1.32.0

func Lakefs() string

func LakefsWithBasicAuth added in v1.32.0

func LakefsWithBasicAuth() string

func LakefsWithParams added in v1.32.0

func LakefsWithParams(connectionString string) string

func LakefsWithParamsWithBasicAuth added in v1.32.0

func LakefsWithParamsWithBasicAuth(connectionString string, basicAuth bool) string

func RequirePostgresDB added in v1.32.0

func RequirePostgresDB(t *testing.T)

func RunCmdAndVerifyContainsText added in v0.70.0

func RunCmdAndVerifyContainsText(t *testing.T, cmd string, isTerminal bool, expectedRaw string, vars map[string]string)

func RunCmdAndVerifyFailure

func RunCmdAndVerifyFailure(t *testing.T, cmd string, isTerminal bool, expected string, vars map[string]string)

func RunCmdAndVerifyFailureContainsText added in v1.25.0

func RunCmdAndVerifyFailureContainsText(t *testing.T, cmd string, isTerminal bool, expectedRaw string, vars map[string]string)

func RunCmdAndVerifyFailureWithFile

func RunCmdAndVerifyFailureWithFile(t *testing.T, cmd string, isTerminal bool, goldenFile string, vars map[string]string)

func RunCmdAndVerifySuccess

func RunCmdAndVerifySuccess(t *testing.T, cmd string, isTerminal bool, expected string, vars map[string]string)

func RunCmdAndVerifySuccessWithFile

func RunCmdAndVerifySuccessWithFile(t *testing.T, cmd string, isTerminal bool, goldenFile string, vars map[string]string)

Types

type LakeCtlCmd added in v1.26.0

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

func NewLakeCtl added in v1.26.0

func NewLakeCtl() *LakeCtlCmd

func (*LakeCtlCmd) Arg added in v1.26.0

func (l *LakeCtlCmd) Arg(arg string) *LakeCtlCmd

func (*LakeCtlCmd) Flag added in v1.26.0

func (l *LakeCtlCmd) Flag(arg string) *LakeCtlCmd

Flag Same as Arg, added for usage clarity.

func (*LakeCtlCmd) Get added in v1.26.0

func (l *LakeCtlCmd) Get() string

func (*LakeCtlCmd) PathArg added in v1.26.0

func (l *LakeCtlCmd) PathArg(components ...string) *LakeCtlCmd

func (*LakeCtlCmd) URLArg added in v1.26.0

func (l *LakeCtlCmd) URLArg(schemaPrefix string, components ...string) *LakeCtlCmd

type ZeroReader added in v1.26.0

type ZeroReader struct {
	Amount       int
	NumBytesRead int
}

ZeroReader reads only zeros into the provided buffer, until `Amount` is reached.

func NewZeroReader added in v1.26.0

func NewZeroReader(amount int) *ZeroReader

func (*ZeroReader) Read added in v1.26.0

func (zr *ZeroReader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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