Documentation ¶
Index ¶
- type GitServer
- func (s *GitServer) AutoCreate() *GitServer
- func (s *GitServer) HTTPAddress() string
- func (s *GitServer) Root() string
- func (s *GitServer) SSHAddress() string
- func (s *GitServer) StartHTTP() error
- func (s *GitServer) StartSSH() error
- func (s *GitServer) StopHTTP()
- func (s *GitServer) StopSSH() error
- type HTTP
- type Helm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitServer ¶
type GitServer struct {
// contains filtered or unexported fields
}
GitServer is a git server for testing purposes. It can serve git repositories over HTTP and SSH.
func NewGitServer ¶
NewGitServer returns a GitServer with the given repository docroot set.
func NewTempGitServer ¶
NewTempGitServer returns a GitServer with a newly created temp dir as repository docroot.
func (*GitServer) AutoCreate ¶
AutoCreate enables the automatic creation of a non-existing Git repository on push.
func (*GitServer) HTTPAddress ¶
HTTPAddress returns the address of the HTTP git server.
func (*GitServer) SSHAddress ¶
SSHAddress returns the address of the SSH git server.
func (*GitServer) StartHTTP ¶
StartHTTP starts a new HTTP git server with the current configuration.
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
func NewHTTPServer ¶
func NewTempHTTPServer ¶
type Helm ¶
type Helm struct {
*HTTP
}
func NewTempHelmServer ¶
func (*Helm) GenerateIndex ¶
func (*Helm) PackageChart ¶
func (*Helm) PackageChartWithVersion ¶
Click to show internal directories.
Click to hide internal directories.