Documentation ¶
Index ¶
- Constants
- func AfterEachSleep()
- func AppRouteFromOutput(out string) string
- func AssetPath(p ...string) string
- func BinaryName() string
- func BuildEpinio()
- func CheckDependencies() error
- func CleanupTmp() (string, error)
- func CopyEpinioSettings(dir string) (string, error)
- func CreateRegistrySecret()
- func DeleteTmpDir(nodeTmpDir string)
- func EnsureDefaultWorkspace(epinioBinary string)
- func EpinioBinaryPath() string
- func EpinioYAML() string
- func PatchEpinio() (string, error)
- func RegistryPassword() string
- func RegistryUsername() string
- func Root() string
- func ServerBinaryName() string
- func SetRoot(dir string)
- func SetupEnv()
- func SkipCleanup() bool
- func SkipCleanupPath() string
- func TestAssetPath(file string) string
- type EpinioEnv
- type LoadBalancerHostname
Constants ¶
const DefaultWorkspace = "workspace"
const (
// Namespace is the namespace used for the epinio server and staging setup
Namespace = "epinio"
)
Variables ¶
This section is empty.
Functions ¶
func AfterEachSleep ¶
func AfterEachSleep()
func AppRouteFromOutput ¶ added in v0.0.22
func BinaryName ¶ added in v0.0.22
func BinaryName() string
BinaryName returns the name of the epinio binary for the current platform
func BuildEpinio ¶
func BuildEpinio()
BuildEpinio builds the epinio binaries for the server and if platforms are different also for the CLI
func CheckDependencies ¶
func CheckDependencies() error
func CleanupTmp ¶
Remove all tmp directories from /tmp/epinio-* . Test should try to cleanup after themselves but that sometimes doesn't happen, either because we forgot the cleanup code or because the test failed before that happened. NOTE: This code will create problems if more than one acceptance_suite_test.go is run in parallel (e.g. two PRs on one worker). However we keep it as an extra measure.
func CopyEpinioSettings ¶ added in v0.6.0
CopyEpinioSettings copies the epinio yaml to the given dir
func CreateRegistrySecret ¶
func CreateRegistrySecret()
CreateRegistrySecret creates the docker registry image pull secret
func DeleteTmpDir ¶
func DeleteTmpDir(nodeTmpDir string)
func EnsureDefaultWorkspace ¶
func EnsureDefaultWorkspace(epinioBinary string)
func EpinioBinaryPath ¶ added in v0.0.22
func EpinioBinaryPath() string
EpinioBinaryPath returns the absolute path to the dist/epinio binary
func EpinioYAML ¶
func EpinioYAML() string
EpinioYAML returns the absolute path to the epinio settings YAML
func PatchEpinio ¶
func RegistryPassword ¶
func RegistryPassword() string
RegistryPassword returns the docker registry password from the env
func RegistryUsername ¶
func RegistryUsername() string
RegistryUsername returns the docker registry username from the env
func ServerBinaryName ¶ added in v0.0.23
func ServerBinaryName() string
ServerBinaryName returns the name of the epinio binary for the server platform. Currently only linux servers are supported.
func SkipCleanup ¶
func SkipCleanup() bool
SkipCleanup returns true if the file exists, false if some error occurred while checking
func SkipCleanupPath ¶
func SkipCleanupPath() string
func TestAssetPath ¶ added in v0.0.23
TestAssetPath returns the relative path to the test assets