Documentation ¶
Index ¶
- Constants
- Variables
- func CopyIn(sourcePath, destinationPath string)
- func CustomTagsMetadataList(ctx context.Context, stagesStorage storage.PrimaryStagesStorage) []*storage.CustomTagMetadata
- func DeleteFile(path string)
- func FixturePath(paths ...string) string
- func GetBuiltImageLastStageImageName(testDirPath, werfBinPath, imageName string) string
- func GetHeadCommit(workTreeDir string) string
- func GetRandomString(n int) string
- func GetRequiredEnv(name string) string
- func GetTempDir() string
- func ImageMetadata(ctx context.Context, stagesStorage storage.StagesStorage, imageName string) map[string][]string
- func ImportMetadataIDs(ctx context.Context, stagesStorage storage.StagesStorage) []string
- func ManagedImagesCount(ctx context.Context, stagesStorage storage.StagesStorage) int
- func MeetsRequirements(requiredSuiteTools, requiredSuiteEnvs []string) bool
- func MkdirAll(dir string)
- func NewStagesStorage(stagesStorageAddress, implementationName string, ...) storage.PrimaryStagesStorage
- func ProjectName() string
- func RmImportMetadata(ctx context.Context, stagesStorage storage.StagesStorage, ...)
- func RunCommand(dir, command string, args ...string) ([]byte, error)
- func RunCommandWithOptions(dir, command string, args []string, options RunCommandOptions) ([]byte, error)
- func RunSucceedCommand(dir, command string, args ...string)
- func SetGitRepoState(workTreeDir, repoDir, commitMessage string) error
- func ShelloutPack(command string) string
- func StagesCount(ctx context.Context, stagesStorage storage.StagesStorage) int
- func StringToLines(s string) (lines []string)
- func SucceedCommandOutputString(dir, command string, args ...string) string
- func WaitTillHostReadyToRespond(url string, maxAttempts int)
- func WerfBinArgs(userArgs ...string) []string
- func WriteFile(path string, data []byte)
- type RunCommandOptions
Constants ¶
View Source
const DefaultWaitTillHostReadyToRespondMaxAttempts = 60
Variables ¶
View Source
var LineBreak = "\n"
Functions ¶
func CustomTagsMetadataList ¶
func CustomTagsMetadataList(ctx context.Context, stagesStorage storage.PrimaryStagesStorage) []*storage.CustomTagMetadata
func DeleteFile ¶
func DeleteFile(path string)
func FixturePath ¶
func GetHeadCommit ¶
func GetRandomString ¶
func GetRequiredEnv ¶
func GetTempDir ¶
func GetTempDir() string
func ImageMetadata ¶
func ImportMetadataIDs ¶
func ImportMetadataIDs(ctx context.Context, stagesStorage storage.StagesStorage) []string
func ManagedImagesCount ¶
func ManagedImagesCount(ctx context.Context, stagesStorage storage.StagesStorage) int
func MeetsRequirements ¶
func NewStagesStorage ¶
func NewStagesStorage(stagesStorageAddress, implementationName string, dockerRegistryOptions docker_registry.DockerRegistryOptions) storage.PrimaryStagesStorage
func ProjectName ¶
func ProjectName() string
func RmImportMetadata ¶
func RmImportMetadata(ctx context.Context, stagesStorage storage.StagesStorage, importSourceID string)
func RunCommandWithOptions ¶
func RunCommandWithOptions(dir, command string, args []string, options RunCommandOptions) ([]byte, error)
func RunSucceedCommand ¶
func SetGitRepoState ¶
func ShelloutPack ¶
func StagesCount ¶
func StagesCount(ctx context.Context, stagesStorage storage.StagesStorage) int
func StringToLines ¶
func WerfBinArgs ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.