versioning

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIGitClient

type CLIGitClient struct{}

func (*CLIGitClient) Clone

func (client *CLIGitClient) Clone(baseFolder string, outputFolder string, remote string) error

func (*CLIGitClient) FetchAll

func (client *CLIGitClient) FetchAll(repoFolder string) error

func (*CLIGitClient) HardReset

func (client *CLIGitClient) HardReset(repoFolder string, commit string) error

type EmbeddedGitClient

type EmbeddedGitClient struct {
	Auth transport.AuthMethod
}

func (*EmbeddedGitClient) Clone

func (client *EmbeddedGitClient) Clone(baseFolder string, outFolder string, remote string) error

func (*EmbeddedGitClient) FetchAll

func (client *EmbeddedGitClient) FetchAll(repoFolder string) error

func (*EmbeddedGitClient) HardReset

func (client *EmbeddedGitClient) HardReset(repoFolder string, commit string) error

type GitClient

type GitClient interface {
	Clone(baseFolder string, outputFolder string, remote string) error
	FetchAll(repoFolder string) error
	HardReset(repoFolder string, commit string) error
}

func GetGitClient

func GetGitClient(application *models.Application) GitClient

func NewCLIGitClient

func NewCLIGitClient() GitClient

func NewEmbeddedGitClient

func NewEmbeddedGitClient(auth transport.AuthMethod) GitClient

Jump to

Keyboard shortcuts

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