git

package
v0.0.0-...-d534c4c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package git creates a stub git repository available over HTTP. The repositories are available on localhost:`port`/git/`name`.git, the host and port can be obtained from Host

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStepsTo

func AddStepsTo(sc *godog.ScenarioContext)

AddStepsTo adds Gherkin steps to the godog ScenarioContext

func CertificatePath

func CertificatePath(ctx context.Context) string

CertificatePath returns the path to the self-signed certificate used for TLS handshake

func Host

func Host(ctx context.Context) string

Host returns the `host:port` of the git server. The repository can be accessed via http://host:port/git/`name`git

func IsRunning

func IsRunning(ctx context.Context) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL