Documentation
¶
Index ¶
- func GetCLIName() string
- type UDSPKE2ETest
- func (e2e *UDSPKE2ETest) CleanFiles(files ...string)
- func (e2e *UDSPKE2ETest) CleanupSandboxDir(t *testing.T)
- func (e2e *UDSPKE2ETest) CreateAltZarfYaml(t *testing.T, name string, dir string)
- func (e2e *UDSPKE2ETest) CreateSandboxDir(t *testing.T, subfolders ...string)
- func (e2e *UDSPKE2ETest) CreateUDSBundleYaml(t *testing.T, dir string)
- func (e2e *UDSPKE2ETest) CreateUDSBundleYamlMultiPackage(t *testing.T, dir string)
- func (e2e *UDSPKE2ETest) CreateZarfYaml(t *testing.T, dir string)
- func (e2e *UDSPKE2ETest) GetGitRevision() (string, error)
- func (e2e *UDSPKE2ETest) GetMismatchedArch() string
- func (e2e *UDSPKE2ETest) GetUdsVersion(t *testing.T) string
- func (e2e *UDSPKE2ETest) LoadYaml(path string, destVar interface{}) error
- func (e2e *UDSPKE2ETest) UDSPK(args ...string) (string, string, error)
- func (e2e *UDSPKE2ETest) UDSPKDir(dir string, args ...string) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCLIName ¶
func GetCLIName() string
GetCLIName looks at the OS and CPU architecture to determine which binary needs to be run.
Types ¶
type UDSPKE2ETest ¶
type UDSPKE2ETest struct {
UDSPKBinPath string
Arch string
RunClusterTests bool
CommandLog []string
}
UDSPKE2ETest Struct holding common fields most of the tests will utilize.
func (*UDSPKE2ETest) CleanFiles ¶
func (e2e *UDSPKE2ETest) CleanFiles(files ...string)
CleanFiles removes files and directories that have been created during the test.
func (*UDSPKE2ETest) CleanupSandboxDir ¶
func (e2e *UDSPKE2ETest) CleanupSandboxDir(t *testing.T)
func (*UDSPKE2ETest) CreateAltZarfYaml ¶ added in v0.0.13
func (e2e *UDSPKE2ETest) CreateAltZarfYaml(t *testing.T, name string, dir string)
func (*UDSPKE2ETest) CreateSandboxDir ¶
func (e2e *UDSPKE2ETest) CreateSandboxDir(t *testing.T, subfolders ...string)
func (*UDSPKE2ETest) CreateUDSBundleYaml ¶
func (e2e *UDSPKE2ETest) CreateUDSBundleYaml(t *testing.T, dir string)
func (*UDSPKE2ETest) CreateUDSBundleYamlMultiPackage ¶ added in v0.0.13
func (e2e *UDSPKE2ETest) CreateUDSBundleYamlMultiPackage(t *testing.T, dir string)
func (*UDSPKE2ETest) CreateZarfYaml ¶
func (e2e *UDSPKE2ETest) CreateZarfYaml(t *testing.T, dir string)
func (*UDSPKE2ETest) GetGitRevision ¶
func (e2e *UDSPKE2ETest) GetGitRevision() (string, error)
GetGitRevision returns the current git revision
func (*UDSPKE2ETest) GetMismatchedArch ¶
func (e2e *UDSPKE2ETest) GetMismatchedArch() string
GetMismatchedArch determines what architecture our tests are running on, and returns the opposite architecture.
func (*UDSPKE2ETest) GetUdsVersion ¶
func (e2e *UDSPKE2ETest) GetUdsVersion(t *testing.T) string
GetUdsVersion returns the current build version
func (*UDSPKE2ETest) LoadYaml ¶
func (e2e *UDSPKE2ETest) LoadYaml(path string, destVar interface{}) error
Click to show internal directories.
Click to hide internal directories.