Documentation ¶
Index ¶
- func DynConf(env map[string]string) map[string]string
- func EnvExists(path string) bool
- func InfraFromTestContext(tctx *TestContext) *helpers.Infra
- func MongoCtlFromTestContext(tctx *TestContext, host string) (*helpers.MongoCtl, error)
- func ReadEnv(path string) (map[string]string, error)
- func S3StorageFromTestContext(tctx *TestContext, host string) *helpers.S3Storage
- func SetupEnv(envFilePath, stagingDir string) error
- func SetupStaging(imagesDir, stagingDir string) error
- func WalgUtilFromTestContext(tctx *TestContext, host string) *helpers.WalgUtil
- type AuxData
- type MongoVersion
- type TestContext
- type TestingfWrap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InfraFromTestContext ¶
func InfraFromTestContext(tctx *TestContext) *helpers.Infra
func MongoCtlFromTestContext ¶
func MongoCtlFromTestContext(tctx *TestContext, host string) (*helpers.MongoCtl, error)
func S3StorageFromTestContext ¶
func S3StorageFromTestContext(tctx *TestContext, host string) *helpers.S3Storage
func SetupStaging ¶
func WalgUtilFromTestContext ¶
func WalgUtilFromTestContext(tctx *TestContext, host string) *helpers.WalgUtil
Types ¶
type MongoVersion ¶
type TestContext ¶
type TestContext struct { Infra *helpers.Infra Env map[string]string Context context.Context AuxData AuxData Version MongoVersion Features []string }
func NewTestContext ¶
func NewTestContext() (*TestContext, error)
func (*TestContext) CleanEnv ¶
func (tctx *TestContext) CleanEnv() error
func (*TestContext) ContainerFQDN ¶
func (tctx *TestContext) ContainerFQDN(name string) string
func (*TestContext) S3Host ¶
func (tctx *TestContext) S3Host() string
func (*TestContext) StopEnv ¶
func (tctx *TestContext) StopEnv() error
type TestingfWrap ¶
type TestingfWrap func(format string, args ...interface{})
func (TestingfWrap) Errorf ¶
func (tf TestingfWrap) Errorf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.