Documentation ¶
Index ¶
- Constants
- Variables
- func BeforeEachOverrideWerfProjectName(stubs *gostub.Stubs)
- func CopyIn(sourcePath, destinationPath string)
- func CreateFile(path string, data []byte)
- func FixturePath(paths ...string) string
- func GetRandomString(n int) string
- func GetTempDir() string
- func ImageMetadata(ctx context.Context, stagesStorage storage.StagesStorage, imageName string) map[string][]string
- func ManagedImagesCount(ctx context.Context, stagesStorage storage.StagesStorage) int
- func MeetsRequirements(requiredSuiteTools, requiredSuiteEnvs []string) bool
- func NewStagesStorage(stagesStorageAddress string, implementationName string, ...) storage.StagesStorage
- func ProcessWerfBinPath() string
- func ProjectName() string
- 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 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
- type RunCommandOptions
Constants ¶
View Source
const DefaultWaitTillHostReadyToRespondMaxAttempts = 60
Variables ¶
View Source
var LineBreak = "\n"
Functions ¶
func CreateFile ¶
func FixturePath ¶
func GetRandomString ¶
func GetTempDir ¶
func GetTempDir() string
func ImageMetadata ¶ added in v1.2.0
func ManagedImagesCount ¶ added in v1.2.0
func ManagedImagesCount(ctx context.Context, stagesStorage storage.StagesStorage) int
func MeetsRequirements ¶
func NewStagesStorage ¶
func NewStagesStorage(stagesStorageAddress string, implementationName string, dockerRegistryOptions docker_registry.DockerRegistryOptions) storage.StagesStorage
func ProcessWerfBinPath ¶
func ProcessWerfBinPath() string
func ProjectName ¶
func ProjectName() string
func RunCommandWithOptions ¶
func RunCommandWithOptions(dir, command string, args []string, options RunCommandOptions) ([]byte, error)
func RunSucceedCommand ¶
func ShelloutPack ¶
func StagesCount ¶ added in v1.2.0
func StagesCount(ctx context.Context, stagesStorage storage.StagesStorage) int
func StringToLines ¶
func WerfBinArgs ¶
Types ¶
type RunCommandOptions ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.