Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicClient ¶
type BasicClient struct {
// contains filtered or unexported fields
}
BasicClient connects to git using ssh
func NewHTTPSBasicClient ¶
func NewHTTPSBasicClient(user, pass string, opts ...Option) (BasicClient, error)
NewHTTPSBasicClient creates a new https based git client
func NewSSHBasicClient ¶
func NewSSHBasicClient(sshPemFile string, opts ...Option) (BasicClient, error)
NewSSHBasicClient creates a new ssh based git client
func (BasicClient) GetManifestFile ¶
func (g BasicClient) GetManifestFile(repository, commitHash, path string) ([]byte, error)
type Option ¶
type Option func(*BasicClient)
Option is a function for configuring the BasicClient
func WithProgressWriter ¶
Click to show internal directories.
Click to hide internal directories.