Documentation ¶
Index ¶
- func GetCLIName() string
- type UDSReleaserE2ETest
- func (e2e *UDSReleaserE2ETest) CleanFiles(files ...string)
- func (e2e *UDSReleaserE2ETest) CleanupSandboxDir(t *testing.T)
- func (e2e *UDSReleaserE2ETest) CreateSandboxDir(t *testing.T, subfolders ...string)
- func (e2e *UDSReleaserE2ETest) CreateUDSBundleYaml(t *testing.T, dir string)
- func (e2e *UDSReleaserE2ETest) CreateZarfYaml(t *testing.T, dir string)
- func (e2e *UDSReleaserE2ETest) GetGitRevision() (string, error)
- func (e2e *UDSReleaserE2ETest) GetMismatchedArch() string
- func (e2e *UDSReleaserE2ETest) GetUdsVersion(t *testing.T) string
- func (e2e *UDSReleaserE2ETest) LoadYaml(path string, destVar interface{}) error
- func (e2e *UDSReleaserE2ETest) UDSReleaser(args ...string) (string, string, error)
- func (e2e *UDSReleaserE2ETest) UDSReleaserDir(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 UDSReleaserE2ETest ¶
type UDSReleaserE2ETest struct { UDSReleaserBinPath string Arch string RunClusterTests bool CommandLog []string }
UDSReleaserE2ETest Struct holding common fields most of the tests will utilize.
func (*UDSReleaserE2ETest) CleanFiles ¶
func (e2e *UDSReleaserE2ETest) CleanFiles(files ...string)
CleanFiles removes files and directories that have been created during the test.
func (*UDSReleaserE2ETest) CleanupSandboxDir ¶
func (e2e *UDSReleaserE2ETest) CleanupSandboxDir(t *testing.T)
func (*UDSReleaserE2ETest) CreateSandboxDir ¶
func (e2e *UDSReleaserE2ETest) CreateSandboxDir(t *testing.T, subfolders ...string)
func (*UDSReleaserE2ETest) CreateUDSBundleYaml ¶
func (e2e *UDSReleaserE2ETest) CreateUDSBundleYaml(t *testing.T, dir string)
func (*UDSReleaserE2ETest) CreateZarfYaml ¶
func (e2e *UDSReleaserE2ETest) CreateZarfYaml(t *testing.T, dir string)
func (*UDSReleaserE2ETest) GetGitRevision ¶
func (e2e *UDSReleaserE2ETest) GetGitRevision() (string, error)
GetGitRevision returns the current git revision
func (*UDSReleaserE2ETest) GetMismatchedArch ¶
func (e2e *UDSReleaserE2ETest) GetMismatchedArch() string
GetMismatchedArch determines what architecture our tests are running on, and returns the opposite architecture.
func (*UDSReleaserE2ETest) GetUdsVersion ¶
func (e2e *UDSReleaserE2ETest) GetUdsVersion(t *testing.T) string
GetUdsVersion returns the current build version
func (*UDSReleaserE2ETest) LoadYaml ¶
func (e2e *UDSReleaserE2ETest) LoadYaml(path string, destVar interface{}) error
func (*UDSReleaserE2ETest) UDSReleaser ¶
func (e2e *UDSReleaserE2ETest) UDSReleaser(args ...string) (string, string, error)
UDSReleaser executes a uds-releaser command.
func (*UDSReleaserE2ETest) UDSReleaserDir ¶
UDSReleaserDir executes a uds-releaser command in a specific directory. relativeBinDir is the relative path to the base repo folder from the directory.